💰
💰 Money tools

Bond Convexity Calculator (convexity, duration & price change from cash flows)

Results update as you type. Any currency.

Your numbers

Understanding the bond convexity calculator — concept and principle

This calculator finds a bond's price, Macaulay duration, modified duration and convexity, and compares three estimates of the price change for a yield shift: duration only, duration plus convexity, and exact repricing. Use it for fixed-income courses, interest-rate risk management and understanding why bond prices react unevenly to rate rises and falls.

Bond convexityPrice–yield curve bends upward$925.61$857.88duration only3%5%7%9%Convexity71.79+1 pt: −7.67% (duration) → −7.31% (+ convexity) vs −7.32% exact
The straight duration line overstates the fall; the convexity term bends the estimate back toward the true price.

How it is calculated

With periodic yield i = YTM ÷ frequency and cash flow a_k at period k:

It assumes today is a coupon date, so there is no accrued interest.

The principle

A bond's price is the present value of its cash flows, and that relationship with yield is a curve, not a straight line. Duration is the slope: the percentage price change for a small change in yield. Convexity measures the curvature. For a normal bond the curve bends upward, so when yields rise the price falls less than the straight-line duration estimate, and when yields fall it rises more. Adding the convexity term makes the estimate much closer to the exact answer for larger moves.

Worked example

Default inputs: face $1,000, coupon 5%, YTM 6%, 10 years, paid twice a year, yield change +1 point.

  1. 20 coupons of $25 at 3% per half-year give a price of $925.61.
  2. Macaulay duration = 7.89 years; modified duration = 7.89 ÷ 1.03 ≈ 7.67.
  3. Convexity ≈ 71.79 years².
  4. Duration only: −7.67 × 0.01 = −7.67%. With convexity: −7.67% + ½ × 71.79 × 0.0001 ≈ −7.31%.
  5. Exact repricing at 7%: $857.88, a change of −7.32%.
How Convexity (years²) changes with Years to maturityHow Convexity changes with Years to matu…0501001502002.557.51012.51520Example: 71.79Years to maturity
Each point is the calculator re-run with only “Years to maturity” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Years to maturityConvexity (years²)
2.56.62
522.3
7.544.7
1071.79
12.5101.91
15133.72
20198.36

How to read the result

Higher duration means more price sensitivity to rates. Higher convexity is generally good for the holder: it cushions losses when yields rise and adds to gains when they fall. Long maturities and low coupons raise both duration and convexity. For small yield changes duration alone is enough; for larger ones, include convexity.

Common mistakes

Keep in mind: Results assume a flat yield change, a plain fixed-coupon bond and no default risk. This is not investment advice.

Frequently asked questions

Why is convexity positive for a normal bond?

Because the price–yield curve bends upward, so prices rise more for a yield fall than they drop for an equal rise.

What is the difference between duration and convexity?

Duration is the first-order sensitivity to yield; convexity is the second-order correction for curvature.

Do zero-coupon bonds have convexity?

Yes, and for a given duration they have less convexity than coupon bonds with spread-out cash flows, but long zeros are very convex.

Sources: R. Alps, "Using Duration and Convexity to Approximate Change in Present Value", Society of Actuaries study note FM-24-17 (2017)

Checked 9 Nov 2026. R. Alps, “Using Duration and Convexity to Approximate Change in Present Value”, Society of Actuaries study note FM-24-17 (2017): Macaulay and modified duration (3.1–3.3), modified convexity (5.1) and the second-order approximation (6.1). Conversion from periods to years: standard.

💰 All money tools →🌍 Calculators by country →