Skip to content
FinToolSuite
Updated April 20, 2026 · Investing · Educational use only ·

Bond Duration Calculator

Bond duration analysis.

Calculate bond Macaulay and Modified duration to gauge price sensitivity to interest rate changes — the bond investor's risk metric.

What this tool does

Duration measures bond price sensitivity to interest rate changes. Macaulay duration calculates the weighted average time until you receive all cash flows from the bond. Modified duration translates this into a percentage price change estimate for each percentage point move in market yield. This calculator takes your coupon rate, market yield, years to maturity, and payment frequency as inputs and returns both duration figures. The result shows how a bond's market value might respond to rate shifts — higher duration means greater price sensitivity. Modified duration typically drives the most direct impact on valuation changes. A typical use case involves comparing price risk across bonds with different maturities or coupons. Note that results are calculated estimates for educational illustration and assume the bond is held to maturity with consistent yields.


Formula Used
Macaulay duration
Time period
Present value of cash flow

Spotted something off?

Calculations or display — let us know.

Disclaimer

Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.

Bond duration measures price sensitivity to interest rate changes. Macaulay duration: weighted average time to receive cash flows in years. Modified duration: percentage price change per 1% yield change. 10-year bond with 5% coupon and 5% yield: ~7.7-year Macaulay duration, ~7.4 modified duration. Means 1% rate rise = ~7.4% price drop.

Example: 10-year bond, 5% coupon, 5% market yield, semi-annual payments. Macaulay duration ≈ 7.99 years (weighted average time to cash flow receipt). Modified duration ≈ 7.79. If yields rise from 5% to 6%: bond price falls roughly 7.79%. Duration captures interest rate risk - the longer the duration, the more rate-sensitive.

Duration drivers: (1) Time to maturity (longer = higher duration). (2) Coupon rate (lower coupon = higher duration). (3) Yield level (lower yield = higher duration). Zero-coupon bonds have duration = maturity (no interim cash flows). Heavily coupon-paying bonds have shorter effective duration. Duration matching: match portfolio duration to investment horizon to immunise against rate changes. Pension funds, insurance companies use duration matching extensively.

Quick example

With annual coupon rate of 5% and market yield of 5% (plus years to maturity of 10 years and payments per year of 2), the result is 7.99 years. Change any figure and watch the output shift — it's often more useful to see the pattern than to memorise the formula.

Which inputs matter most

You enter Annual Coupon Rate %, Market Yield %, Years to Maturity, and Payments per Year. Not every input has equal weight. Adjusting one input at a time toward extreme values shows which ones move the result most.

What's happening under the hood

Macaulay = weighted average time to cash flows. Modified = Macaulay / (1 + periodic yield). The formula is listed in full below. If the number looks off, you can retrace the calculation by hand — that's the point of showing the working.

Where this fits in planning

This is a "what-if" tool, not a forecast. Use it to test ideas before committing: what happens if the rate is 2% lower than hoped, what happens if you add five more years. The value is in the scenarios you run, not the single answer you get from the defaults.

What this doesn't capture

Steady-rate math ignores real-world volatility. Actual returns are lumpy; sequence-of-returns risk matters most in drawdown; fees and taxes drag on compound growth; and behaviour changes in drawdowns can reduce outcomes below the projection. The number represents one scenario rather than a forecast.

Example Scenario

5% coupon, 5% yield, 10y maturity = 7.99 years.

Inputs

Annual Coupon Rate %:5
Market Yield %:5
Years to Maturity:10
Payments per Year:2
Expected Result7.99 years

This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.

Sources & Methodology

Methodology

This calculator computes Macaulay duration, which measures the weighted average time until a bondholder receives all cash flows. The calculation identifies each coupon payment and principal repayment, discounts each to present value using the market yield, then divides the sum of time-weighted present values by the total present value of all cash flows. Modified duration is derived by dividing Macaulay duration by one plus the periodic yield, expressing interest rate sensitivity per basis point change. The model assumes fixed coupon payments at regular intervals, a constant market yield throughout the bond's life, and no default or early redemption. It does not account for transaction costs, accrued interest, liquidity effects, or changes in yield over time.

References

Frequently Asked Questions

Macaulay vs Modified duration?
Macaulay: weighted average time to receive cash flows (years). Modified: percentage price sensitivity to 1% yield change. Modified = Macaulay / (1 + periodic yield). Both useful: Macaulay for matching investment horizon, Modified for measuring interest rate risk.
Higher duration = more risk?
Yes - higher duration = more interest rate risk. 10-year bond duration ~7-9 years: 1% rate rise = ~7-9% price drop. 30-year bond duration ~15-20 years: 1% rate rise = ~15-20% price drop. Long bonds dramatically more rate-sensitive. 2022 bond crash: long-duration bonds (TLT) fell 30%+ as rates rose.
Duration matching strategy?
Match portfolio duration to investment horizon. 10-year goal = build portfolio with 10-year duration. Immunises against rate changes - if rates rise, prices fall but reinvestment yields rise, balancing out. Pension funds, insurance companies use this extensively. Retail investors: use bond ladders for similar effect.
Convexity addition?
Duration is linear approximation - real price-yield curve is convex. Convexity adjusts duration estimate for large yield changes. For 1-2% yield moves: duration alone fine. For 5%+ moves: convexity correction needed. Most retail bond analysis ignores convexity - acceptable for typical rate changes.

Related Calculators

More Investing Calculators

Explore Other Financial Tools