Bond Duration Calculator

How Long Until You Actually Get Your Money Back

Years to maturity tells you when a bond's final payment arrives, but it overstates how long your capital is really tied up, because coupon payments return cash to you along the way. Duration measures the weighted-average time it takes to recover a bond's value from all of its cash flows — and, just as usefully, it approximates how much the bond's price will move for a given shift in interest rates. A bond with a duration of 8 will lose roughly 8% of its value if yields rise by one percentage point.

The Formula

Macaulay Duration = Σ [t × PV(CFt)] ÷ Price
Modified Duration = Macaulay Duration ÷ (1 + y/n)

Each cash flow's present value is weighted by t, the period in which it arrives, then the weighted values are summed and divided by the bond's total price — giving the Macaulay duration in periods, which this calculator converts to years. Modified duration adjusts that figure by the periodic yield y/n to give a direct estimate of percentage price sensitivity.

Why Duration Drives Bond Strategy

  • Rate-risk comparison — two bonds maturing in 10 years can have very different durations depending on their coupon, so duration is the real apples-to-apples measure of interest rate exposure.
  • Portfolio immunization — pension funds and insurers match the duration of their bond holdings to the duration of their future liabilities to shield the portfolio from rate swings.
  • Rate-outlook positioning — investors expecting rates to fall favor higher-duration bonds to maximize the price gain; those expecting rates to rise shift toward lower-duration holdings.
  • Quick price-impact estimates — modified duration lets you approximate a price change from a rate move without re-running the full pricing formula.

Duration Falls as Coupon Rises

Holding maturity and yield fixed, a higher coupon returns more cash sooner, which pulls duration down even though the bond still matures on the same date:

10-year maturity, 5% market yield, semiannual payments, $1,000 face value
Coupon RatePriceMacaulay DurationModified Duration
0% (zero-coupon)$610.2710.00 years9.76
3%$844.118.57 years8.36
5%$1,000.007.99 years7.79
8%$1,233.847.39 years7.21

A zero-coupon bond's Macaulay duration always equals its years to maturity exactly, since its entire value arrives in a single payment at the end.

Duration Also Climbs With Maturity

5% coupon, 5% market yield, semiannual payments, $1,000 face value
Years to MaturityMacaulay DurationModified Duration
5 years4.49 years4.38
10 years7.99 years7.79
20 years12.87 years12.55
30 years15.84 years15.45

Duration grows more slowly than maturity at the long end — doubling maturity from 10 to 20 years does not double duration, because distant cash flows are discounted so heavily they carry little weight.

How to Use This Calculator

  1. Enter the bond's Face Value.
  2. Enter the Annual Coupon Rate as a percentage.
  3. Enter the Years to Maturity.
  4. Enter the Market Yield / Discount Rate.
  5. Enter Coupon Payments per Year (default 2 for standard semiannual bonds).
  6. Select Calculate to see both Macaulay duration (in years) and modified duration (percentage price sensitivity).

Related Calculations

Price the same bond directly with the Bond Price Calculator, or back out the market's implied return with the Yield to Maturity Calculator.