Skip to content
The Calculatorz
Investing

Bond Duration and Convexity Calculator

Calculate a bond's price, Macaulay duration, modified duration and convexity, and estimate how its price changes when yields move.

Results are mathematical estimates from the values you enter. They are not financial, tax or investment advice.

Bond terms

Bond

How to use this calculator

Enter the bond's face value, coupon rate, current yield to maturity, years to maturity and how often it pays coupons. The calculator prices the bond and measures its interest-rate sensitivity: duration in years, the percentage price change per 1% change in yield, and convexity. Test any yield change to compare the estimate with the exact new price.

Formula

Price = Σ CFₜ ÷ (1 + y/m)^t. Macaulay duration = Σ t × PV(CFₜ) ÷ Price (in periods, divided by m for years). Modified duration = Macaulay ÷ (1 + y/m). Convexity = Σ t(t + 1) PV(CFₜ) ÷ [Price (1 + y/m)² m²]. ΔP ÷ P ≈ −D_mod Δy + ½ C Δy².

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewQasimACCA, CFA, Senior Financial Analyst

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What does duration mean?

Macaulay duration is the weighted average time until you receive the bond's cash flows. Modified duration converts it into price sensitivity: the approximate percentage price change for a 1-point change in yield.

Why do bond prices fall when rates rise?

A bond's fixed payments are worth less when new bonds offer higher yields, so its price drops until its yield matches the market.

Which bonds have the highest duration?

Long maturities and low coupons. A zero-coupon bond's Macaulay duration equals its maturity.

What is convexity?

The curvature of the price–yield relationship. Positive convexity means prices rise more when yields fall than they drop when yields rise by the same amount.

How do investors use duration?

To match the timing of assets and liabilities, to compare interest-rate risk between bonds, and to manage a portfolio's sensitivity to rate changes.

Is the duration estimate exact?

No. It is a linear approximation; adding convexity improves it. The calculator also shows the exact repriced value for comparison.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. U.S. Securities and Exchange Commission. (n.d.). Bonds or fixed income products. View source
  2. Bodie, Z., Kane, A., & Marcus, A. J. (2024). Investments (13th ed.). McGraw Hill. View source
  3. Brealey, R. A., Myers, S. C., & Allen, F. (2023). Principles of corporate finance (14th ed.). McGraw Hill. View source
  4. Dahlquist, J. R., & Knight, R. (2022). Principles of finance. OpenStax. View source