Bond Calculator

Find what a bond is worth at a given yield, or the yield to maturity you lock in at a given price, along with current yield, coupon income and duration.

Solve for
Annual yield, compounded at the coupon frequency.

Result

Bond price (clean = dirty on a coupon date)
$925.61
  • Yield to maturity6%
  • Price as % of face92.561%
  • Premium or discountDiscount of $74.39
  • Current yield5.402%
  • Coupon per period (20 periods)$25.00
  • Annual coupon income$50.00
  • Total coupons to maturity$500.00
  • Effective annual yield6.09%
  • Macaulay duration7.895 yrs
  • Modified duration7.665
  • The price assumes you buy on a coupon date, so there is no accrued interest and the clean price equals the dirty (invoice) price. Between coupon dates the seller is also owed accrued interest.
  • Yield to maturity is quoted the bond-equivalent way: the periodic yield times the number of coupons per year.

What a bond calculator does

A plain bond pays a fixed coupon on a set schedule and repays its face value at maturity. Its price is the present value of all those payments, discounted at the market’s required yield. This calculator works in both directions. Give it a yield and it returns the price. Give it a price and it solves for the yield to maturity (YTM).

How to use it

  1. Choose whether to solve for the price or the yield to maturity.
  2. Enter the face value (usually $1,000), the annual coupon rate and how often coupons are paid.
  3. Enter the years to maturity. This must be a whole number of coupon periods, for example 7.5 years for a semiannual bond.
  4. Enter either the yield to maturity or the price.

Besides the main answer, you get the price as a percentage of face value, the premium or discount, current yield, coupon income, effective annual yield and both Macaulay and modified duration.

The formula

With face value F, coupon per period C, periodic yield i (the annual YTM divided by the number of coupons a year) and n periods remaining:

Price = C × (1 − (1 + i)^−n) ÷ i  +  F ÷ (1 + i)^n

The first term values the coupons as an annuity and the second values the repayment of face value. There is no algebraic way to rearrange this for i, so when you enter a price the calculator searches numerically for the yield that reproduces it. Current yield is the annual coupon ÷ price. Macaulay duration is the present-value-weighted average time until each payment arrives, and modified duration is Macaulay ÷ (1 + i).

Worked example

A bond has a $1,000 face value, a 5% coupon paid semiannually and 10 years to maturity. The market requires a 6% yield.

  • Coupon per period: $1,000 × 5% ÷ 2 = $25, paid 20 times
  • Periodic yield: 6% ÷ 2 = 3%
  • Price: $25 × (1 − 1.03^−20) ÷ 0.03 + $1,000 ÷ 1.03^20 = $925.61

Because the coupon is below the market yield, the bond sells at a discount of $74.39. Its current yield is $50 ÷ $925.61 = 5.402%, below the 6% YTM because current yield ignores the $74.39 you gain at maturity. The Macaulay duration is 7.895 years and the modified duration is 7.665.

Switch to yield mode and enter a price of $950 instead: the YTM drops to 5.6617%. Paying more for the same payments means a lower return.

Premium, discount and par

  • Coupon rate below the yield: the bond trades at a discount.
  • Coupon rate equal to the yield: it trades at par, exactly its face value.
  • Coupon rate above the yield: it trades at a premium.

As maturity approaches, the price drifts toward face value whatever the yield, because there are fewer coupons left to make up the difference. To explore the general time value of money behind bond pricing, try the finance calculator.

Limitations

  • The bond is valued on a coupon date, so accrued interest, day-count conventions and settlement dates are ignored.
  • Every coupon is assumed to be paid in full and on time. Default risk, call features and taxes are not modeled.
  • YTM assumes you hold to maturity and could reinvest coupons at the same yield.
  • Yields are quoted bond-equivalent: the periodic yield times the coupons per year.

Results are estimates for learning and comparison, not investment advice.

Frequently asked questions

Why do bond prices fall when yields rise?

A bond's coupons are fixed when it is issued. If new bonds start paying more, an existing bond is only attractive at a lower price, and that lower price raises its yield to match the market. The reverse happens when yields fall, so price and yield always move in opposite directions.

What is the difference between current yield and yield to maturity?

Current yield is just the annual coupon divided by the price. Yield to maturity also counts the gain or loss you make between the purchase price and the face value repaid at maturity, plus the timing of every payment, so it is the better measure of total return if you hold to maturity.

What are clean and dirty prices?

The clean price is the quoted price without accrued interest. The dirty, or invoice, price adds the interest that has built up since the last coupon, which the buyer pays to the seller. This calculator values the bond on a coupon date, when accrued interest is zero and the two prices are the same.

What does modified duration tell me?

It estimates how sensitive the price is to yield changes. A modified duration of 7.67 means the price moves about 7.67% in the opposite direction for each one percentage point change in yield. The estimate is best for small moves.

Last reviewed: