Bond Duration Calculator
Macaulay and modified duration, priced.
Free, no sign-upRuns in your browser — nothing is uploadedUpdated
The other kind of duration. Enter a bond's face value, coupon rate, yield to maturity, and term: the calculator returns its price, Macaulay duration (the cash-flow-weighted average wait, in years), and modified duration (the % price move per 1% yield change).
Duration by maturity: 5% coupon, 4% yield, semi-annual payments, $1,000 face
| Maturity | Price | Macaulay duration | Modified duration |
|---|---|---|---|
| 2 years | $1,019.04 | 1.93 yrs | 1.89 |
| 5 years | $1,044.91 | 4.50 yrs | 4.41 |
| 10 years | $1,081.76 | 8.08 yrs | 7.92 |
| 20 years | $1,136.78 | 13.35 yrs | 13.09 |
| 30 years | $1,173.80 | 16.93 yrs | 16.60 |
Macaulay duration formula
Macaulay duration is the weighted average time until a bond's cash flows arrive, with each payment weighted by its present value: D = Σ (t × PV of cash flow at t) ÷ bond price, where t is measured in years.
Each coupon is discounted at the yield per period, y ÷ k, where k is the number of payments per year. The bond price is simply the sum of those present values.
Modified duration and price sensitivity
Modified duration converts Macaulay duration into a price sensitivity: D_mod = D_mac ÷ (1 + y ÷ k). Multiply it by a change in yield to estimate the percentage change in price: %ΔP ≈ −D_mod × Δy.
Worked example, using the calculator's defaults: a $1,000 bond with a 5% coupon paid semi-annually, a 4% yield and 10 years to maturity is priced at $1,081.76. Its Macaulay duration is 8.081 years and its modified duration is 7.922. If yields rise from 4% to 5%, the price falls by roughly 7.92%, or about $86.
The estimate is linear, so it is most accurate for small yield moves. For large moves the real price curve bends (convexity), and prices rise more than duration predicts when yields fall and drop less when they rise.
What makes duration longer or shorter
Longer maturity, lower coupons and lower yields all raise duration. A 10-year zero-coupon bond has a Macaulay duration of exactly 10 years, because its only cash flow arrives at maturity; the same bond with an 8% coupon at a 4% yield drops to 7.50 years.
How to use it
- 1.Enter face value, annual coupon rate, and yield to maturity.
- 2.Set years to maturity and payment frequency.
- 3.Read the price, Macaulay duration, and modified duration.
Questions people ask
- What does modified duration mean in practice?
- A modified duration of 7 means the bond's price falls roughly 7% if yields rise one percentage point, and vice versa. It's the standard first-order measure of interest-rate risk.
- Why is duration less than maturity for coupon bonds?
- Coupons return money before maturity, pulling the weighted-average wait below the final repayment date. Only zero-coupon bonds have duration equal to maturity.
- What is the difference between Macaulay and modified duration?
- Macaulay duration is measured in years — the present-value-weighted average wait for cash flows. Modified duration is Macaulay divided by (1 + yield per period) and reads as the percentage price change for a 1-point yield move.
- How do I calculate dollar duration or DV01?
- Dollar duration is modified duration × price. DV01, the dollar change for a 0.01% (1 basis point) yield move, is modified duration × price × 0.0001. For the default bond that is 7.922 × $1,081.76 × 0.0001 ≈ $0.86 per $1,000 face.