Bond Calculator
One formula runs the whole bond market
Strip away the jargon and a bond is a dated list of cash amounts. Its price is that list, discounted: every coupon and the final redemption, each divided by (1 + yield) raised to the time until it arrives. This calculator evaluates the sum period by period — no closed-form shortcuts — and reports the price, the current yield, whether the bond stands at a premium or a discount, and its Macaulay duration. It prices from a yield you supply, which is the direction professionals use when marking bonds against a market rate.
Worked examples (face value $1,000, 10 years)
At par: coupon 5%, yield 5% → price $1,000.00. Coupon rate, current yield and YTM coincide — the signature of a par bond.
At a discount: coupon 5%, yield 6% → price $926.40; current yield 5.40%; duration 8.02 years. The market demands 6%, the bond pays 5%, so the price falls until the redemption gain closes the gap.
At a premium, semi-annual: coupon 6% paid half-yearly, yield 5% → price $1,077.95; duration 7.76 years.
Zero-coupon: coupon 0%, yield 5% → price $613.91, and duration exactly 10.00 years — with a single payment, the weighted-average arrival time is the payment itself.
Clean price, dirty price and accrued interest
One market convention sits between this calculator and a real quote. Bonds are quoted at a clean price — the price on this page — but settle at the dirty price: clean plus the interest accrued since the last coupon, which compensates the seller for the part of the coupon period they held the bond. Buy halfway through a semi-annual period on a 6% bond and you pay roughly $15 per $1,000 of accrued interest on top of the clean price, then receive the full $30 coupon when it lands — the economics are identical, but the invoice looks different from the quote. Accrued interest is also why quoted prices do not drop by the coupon amount on the payment date in the way dividends do. The calculator works in clean prices, as market quotes do; if you are comparing against a settlement statement, the difference between the two numbers is the accrued line, not an error.
Frequently asked questions
How is a bond's price calculated?
A bond is a list of future payments — the coupons and the final return of face value — and its price is what those payments are worth today: each one discounted back at the yield the market demands. Price = Σ coupon ÷ (1 + y)^t + face ÷ (1 + y)^n, where y is the yield per coupon period. That single formula explains the whole behaviour of bond prices: when market yields rise above the coupon rate, the fixed payments are worth less and the price falls below face value (a discount bond); when yields fall below the coupon, the price rises above it (a premium bond); when they are equal, the price is exactly the face value, as the worked example shows. This calculator evaluates the formula period by period for annual or semi-annual coupons.
What is yield to maturity (YTM)?
The single discount rate that makes a bond's price equal to the present value of its remaining payments — in effect, the annualised return you lock in if you buy at that price, hold to maturity, and reinvest the coupons at the same rate. YTM is the bond market's standard comparison number because it folds coupon, price and time into one figure. Its weakness is the reinvestment assumption buried inside it: if coupons are actually reinvested at lower rates, your realised return falls short of the YTM promised. On this calculator the direction runs price-from-yield — you supply the yield, it returns the price — which is how the formula is used when marking a bond to a market yield; solving yield-from-price needs iteration, which is what market data providers do for the quoted YTM.
What is the difference between coupon rate, current yield and YTM?
Three yields, three denominators. The coupon rate is fixed at issue: annual coupon ÷ face value — 5% on a 1,000 bond paying 50 a year — and never changes. The current yield moves with the market: annual coupon ÷ today's price, so the same bond bought at 926.40 currently yields 5.40%. Yield to maturity goes further and accounts for the gain or loss at redemption: buying at 926.40 and being repaid 1,000 adds a capital gain that lifts the YTM to 6%, above the current yield. The ordering is a reliable diagnostic: for a discount bond, coupon rate < current yield < YTM; for a premium bond the inequality reverses; at par all three are equal. If a quoted yield breaks that ordering, the quote is wrong.
What is duration and why does it matter?
Macaulay duration is the weighted-average time at which a bond's value is received — each payment's discounted value weighting its date. It doubles as the bond's interest-rate sensitivity: a duration of 8 means roughly an 8% price change for a 1 percentage-point move in yields (in the opposite direction). The worked example's 10-year 5% bond has a duration of 8.11 years — less than its maturity, because the coupons pull value forward — while a 10-year zero-coupon bond's duration is exactly 10, since everything arrives at the end. Long maturity and low coupons raise duration; that is why long-dated bonds swing violently when rates move and why pension funds match the duration of their assets to their liabilities rather than merely their maturities.
Why do bonds pay coupons semi-annually?
Convention, mostly — US corporate and Treasury bonds pay twice a year, most euro-area government bonds annually, UK gilts semi-annually — but the convention changes the maths: a 6% coupon paid semi-annually is two payments of 30 per 1,000, discounted at half the annual yield each half-year, which prices the worked example's bond at 1,077.95 rather than the 1,077.22 annual coupons would give. The difference is small but real, and it is why any serious bond calculation starts by asking the frequency. This calculator carries the frequency as an input and converts the yield to a per-period rate accordingly — enter the nominal annual yield and the coupon rate as quoted, and choose how often the coupons land.
Related tools
Pricing formula and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.