A plain fixed-rate bond with no calls, puts or sinking fund. Prices are clean prices (quoted price, excluding accrued interest); the dirty price, what you actually pay on settlement, is clean plus accrued. Savings bonds (Series EE and I) are deliberately not modelled here: their redemption values come from the US Treasury’s own tables and cannot be reproduced from a formula.
| Line | Amount |
|---|
| Period | Coupon | Principal | Total | Present value |
|---|
Disclaimer: This calculator gives estimates for general information only. It is not financial, medical or other professional advice. Bond prices move with yields, credit quality and time; check a live quote before trading.
What this calculator does
Prices a plain fixed-rate bond three ways. Price from yield discounts every future coupon and the face value at the yield you enter, period by period, and adds them up. Yield from price runs that same calculation backwards: it finds the yield that makes the discounted cash flows equal exactly the market price you enter, by bisection, and then converts it to an effective annual yield. Tax-equivalent yield answers the municipal bond question: what taxable yield would leave you the same after tax as a tax-free yield at your marginal rate. Every mode also reports accrued interest (the seller’s share of the next coupon, for the days since the last payment), the dirty price, and the sensitivity measures duration and convexity, plus the full cash-flow schedule for the price and yield modes.
How to use it
- Pick the question first: “what is it worth” is price from yield; “what return does this price imply” is yield from price; “is the muni worth it” is tax-equivalent yield. The inputs you do not need are hidden per mode, so a blank field can never silently corrupt a result.
- Enter the yield the way the market quotes it: annual nominal, compounded at the payment frequency. A 4% semiannual bond discounts at 2% per half year, and its effective annual yield is 4.04%, not 4%, because the first coupon is reinvested for half a year.
- Read clean versus dirty carefully: the quoted price excludes accrued interest; the cash that changes hands on settlement is the dirty price, clean plus accrued. Forgetting accrued is the classic settlement surprise, and it is why both figures are printed.
The method
Price = the sum over all periods of coupon divided by (1 + y/f)^k, plus face value divided by (1 + y/f)^n, where y is the annual nominal yield, f the payments per year, n the total number of periods, and k the period index. Yield from price solves that equation for y by bisection: start with a wide bracket, halve it 200 times or until the priced value matches the market price to within a ten-millionth of a dollar, and refuse if no sign change exists in the bracket (which would mean the price is impossible for this bond). Current yield = annual coupon divided by price. Accrued interest = one coupon payment times days since the last coupon divided by days in the coupon period, where the period is 360/f under 30/360 or 365/f under actual/actual; the actual/actual figure here is an approximation, because the true period length needs the actual coupon dates, and the page says so rather than pretending otherwise. Macaulay duration = the present-value-weighted average time to each cash flow, in years; modified duration = Macaulay divided by (1 + y/f), the approximate percentage price change for a one percentage point yield move; convexity = the second-order term, which is why a real price move beats the duration-only estimate when yields move a lot. Tax-equivalent yield = tax-free yield divided by (1 minus the marginal tax rate).
Worked examples
The defaults: $1,000 face, 5% coupon, 10 years, semiannual, 4% yield. Each coupon is $25, twenty of them, discounted at 2% per half year: coupon present value $408.79, face present value $672.97, price $1,081.76. The bond trades above par because its 5% coupon beats the 4% yield, and the current yield, $50 divided by $1,081.76, is 4.62%, below the coupon rate for exactly the same reason. Macaulay duration 8.08 years, modified duration 7.92, so a one point rise in yield would cut the price roughly 7.92%, before convexity (75.47) adds its small correction back. With 45 days since the last coupon under 30/360, accrued is $25 times 45 over 180 = $6.25, and the dirty price is $1,088.01.
The same bond at a market price of $950. Yield from price returns 5.66% nominal, 5.74% effective annual, current yield 5.26%. The price below par and the yield above the coupon rate are the same fact seen from two sides: the market demands more than 5%, so it pays less than $1,000 for a 5% stream. Round trip check: feeding 5.66% back into price mode reproduces $950 to the cent, which is the bisection convergence doing its job.
Tax-equivalent yield: 3.5% tax-free at a 24% marginal rate. 3.5 divided by 0.76 = 4.61%. A taxable bond must yield more than 4.61% to beat this muni after tax for this investor; at a 12% marginal rate the same muni is worth only 3.98% taxable-equivalent, which is why munis favour high brackets and why the rate you enter must be your marginal rate, not your average one.
Reading your result
Three relationships are worth checking every time. Price and yield move in opposite directions, always: if your price came out above par, your yield must be below the coupon rate, and vice versa, or something was mistyped. Duration tells you the risk: longer maturities and lower coupons mean longer duration and bigger price swings, which is why the 10-year 5% bond above moves about 8% per point of yield. Convexity is the asymmetry: for equal yield moves up and down, the gain on a fall exceeds the loss on a rise, and the gap grows with convexity, so high-convexity bonds are worth a small premium. For the muni comparison, remember the tax-equivalent yield is only as good as the marginal rate you entered, and state tax can change the answer for in-state versus out-of-state munis.
Limitations
- Plain bonds only: callable, puttable, convertible, floating-rate and sinking-fund bonds are excluded; a call option in particular can cap the upside this page assumes, so a callable bond’s real price will differ.
- Flat yield, no credit: every cash flow is discounted at one yield, with no term structure and no default risk; a corporate bond’s spread over Treasuries is inside the yield you enter, not modelled separately.
- Accrued is approximate for actual/actual: the true period length needs the actual coupon dates, so that convention uses 365 divided by payments per year; for exact settlement figures, use the bond’s own accrued schedule.
- Savings bonds excluded: Series EE and I redemption values follow Treasury tables and holding-period rules (including the three-month interest penalty inside five years), which no formula reproduces; check TreasuryDirect for those.
Frequently asked questions
Why is the price above $1,000 when the face value is $1,000?
Because the bond pays more than the market currently demands. A 5% coupon in a 4% yield world is worth a premium: buyers pay $1,081.76 for the right to receive $50 a year plus $1,000 at maturity, and that premium amortises away as maturity approaches, reaching exactly $1,000 on the maturity date. The mirror image holds below par: a 5% bond in a 5.66% world costs $950. Price above par always means yield below coupon, and price below par always means yield above coupon; if your result breaks that rule, check the inputs.
What is the difference between yield to maturity and current yield?
Current yield is just the annual coupon divided by the price: $50 over $1,081.76 is 4.62%. It ignores the premium or discount you paid and the time to maturity, so it overstates the return on a premium bond and understates it on a discount bond. Yield to maturity is the full internal rate of return: it accounts for every coupon, the repayment of principal, and the gain or loss between price and par, assuming coupons are reinvested at that same yield. For decisions, yield to maturity is the number; current yield is a quick quote-screen shorthand.
Why does the yield from price need a numerical solver?
Because the price equation cannot be rearranged to isolate the yield: the yield sits inside twenty different discount factors at twenty different powers. There is no closed-form inverse, so the page brackets the answer and halves the bracket until the priced value matches the market price to within a ten-millionth of a dollar, then reports the result and the round trip. If the price you enter is impossible for the bond (below the present value of its coupons alone at any plausible yield, for example), the solver refuses rather than inventing a number.
Should I use my average or marginal tax rate for tax-equivalent yield?
Marginal, always. The muni-versus-taxable choice is about the next dollar of interest, and that dollar is taxed at your top rate, not your average. Using the average rate understates the muni’s advantage for most investors: at a 24% marginal rate a 3.5% muni equals 4.61% taxable, while a 15% average rate would wrongly give 4.12%. If you are near a bracket boundary, run the calculation at both adjacent rates and see whether the decision flips.
Related calculators
- Money and finance calculators
- Loan Calculator
- Mortgage Calculator
- Compound Interest and Investment Growth Calculator
- Loan Interest Calculator
Method: discounted cash-flow pricing of a plain fixed-rate bond; yield solved by bisection to within $0.0000001 of the entered price; accrued interest per the selected day-count convention (actual/actual approximated as 365 divided by payments per year); savings bonds excluded as Treasury-table instruments. Last reviewed: 24 October 2026.
