Audited 05 Aug 2026·Last updated 28 Oct 2026·1 citations·Tier 3·0 uses

Bond Convexity Calculator

Annualised convexity and model price of a fixed-coupon bond from its face value, coupon rate, yield to maturity, years left and coupon frequency.

Bond Convexity Calculator

$
%
%
years
Annualized bond convexity
22.9231
The bond's annualised convexity in years squared: the curvature term that, with duration, estimates how its price responds to a change in yield.
Model bond price
1,044.91

Background.

Bond prices move opposite to yields, but not along a straight line. When yields fall, a fixed-rate bond gains a little more than a straight-line estimate predicts; when they rise, it loses a little less. Convexity measures that bend. Duration supplies the slope, roughly how many percent the price moves for a one-point change in yield, and convexity supplies the curvature that corrects the slope once the move gets large.

For small changes the correction barely registers. Over a full percentage point it starts to show, and over two or three points it separates a sound hedge from a misjudged one. Portfolio managers compare convexity across bonds of similar duration because the more convex bond holds up better in both directions: it gains more in a rally and loses less in a sell-off.

Three things drive the number. Maturity matters most, and convexity climbs steeply with it: at a 5% coupon and a 4% yield, a 30-year bond comes out near 391 against about 23 for a 5-year bond. Lower coupons raise it, because more of the bond's value sits in the distant final payment, so a 5-year zero-coupon bond at the same yield reaches 26.4. Higher yields pull it down slightly.

The figure here is the classic measure for a plain bond with level coupons and no options. It discounts every coupon and the final principal at the yield you enter, so it returns the model price as well. Callable bonds, mortgage-backed securities and anything else whose cash flows shift when rates move need effective convexity from a pricing model, and can show negative convexity, which a bond with fixed payments never does.

What is bond convexity calculator?

Bond convexity is the second derivative of price with respect to yield, divided by price: a measure of how sharply the price-yield curve bends. Expressed in years squared, it enters the standard price-change approximation as ½ × convexity × (change in yield)², added to the duration term. For a bond with fixed coupons and no embedded options it is always positive, which is why such a bond's price rises more for a given fall in yield than it drops for an equal rise.

How to use this calculator.

  1. Enter the face value, the amount repaid at maturity. It scales the model price but has no effect on convexity, so $1,000 is fine for any bond quoted per 100 or per 1,000.
  2. Enter the annual coupon rate as a percentage of face value, and the number of coupon payments per year: 2 for semi-annual payers such as US Treasuries, 1 for annual-pay bonds, 4 for quarterly.
  3. Enter the yield to maturity as an annual rate compounded at that same frequency. Use the market yield from your broker or a price screen, not the coupon rate.
  4. Enter the years to maturity. Years times payments per year must come to a whole number of coupon periods, so for a bond between coupon dates round to the nearest one; the page does not model accrued interest or an odd first coupon.
  5. Read the convexity in years squared alongside the model price. A price far from the market quote usually means the yield or coupon was entered wrongly.

The formula.

Convexity = Σ[PV(CFₜ)·t(t+1)] / [P(1+y/m)²m²]

Convexity = Σ[PV(CFₜ) × t(t + 1)] ÷ [P × (1 + y/m)² × m²]. Each cash flow CFₜ, a coupon of face value × coupon rate ÷ m plus the face value in the last period, is discounted at the periodic yield y/m for t periods to give PV(CFₜ), and those present values add up to the price P. Each one is then weighted by t(t + 1), the period number times the next, which is exactly what differentiating (1 + y/m)⁻ᵗ twice produces. Dividing by P turns the sum into a proportion of price, dividing by (1 + y/m)² completes the derivative, and dividing by m² converts periods squared into years squared so semi-annual and annual bonds can be compared. Face value cancels out. Because the weights grow roughly with the square of time, the final principal payment dominates the sum, and long maturities push the result up fast.

A worked example.

Example

A $1,000 bond pays a 5% coupon twice a year and has 5 years left, priced to yield 4%. Each half-year coupon is 1,000 × 5% ÷ 2 = $25, the periodic yield is 4% ÷ 2 = 2%, and there are 10 periods. Discounting at 2% turns the first coupon into 25 ÷ 1.02 = $24.51 and the final $1,025 into $840.86; the ten present values sum to the model price of $1,044.91. Weighting each by t(t + 1) gives 24.51 × 2 = 49.02 for the first period up to 840.86 × 110 = 92,494.27 for the last, a total of 99,681.52. Divide by the price times 1.02², which is 1,087.13, to get 91.69 in half-years squared, then by 2² = 4: the convexity is 22.92. To see it at work, raise the yield one point to 5%. The bond reprices to exactly $1,000, a 4.298% fall. Its modified duration of about 4.41 (not shown on this page) predicts 4.411% on its own; adding ½ × 22.92 × 0.01² = 0.115% brings the estimate to 4.296%, almost exact.

yield Rate4
coupon Rate5
payments Per Year2
face Value1,000
years5

Frequently asked questions.

How do I combine convexity with duration to estimate a price change?
Use percentage change ≈ −modified duration × Δy + ½ × convexity × Δy², with Δy as a decimal. For the 5-year example a one-point fall in yield gives +4.4107% + 0.1146% = +4.5253%, against an exact repricing of +4.5275% to $1,092.22. Duration alone would have understated the gain.
Why does another source show a convexity four times larger for the same bond?
It is probably reporting in coupon periods squared rather than years squared. For a semi-annual bond that skips the final division by 2² = 4, so the example would read 91.69 instead of 22.92. Some sources also rescale the figure in other ways, so check the convention before comparing numbers from different places.
Is a bond with higher convexity always the better buy?
Not automatically. Between two option-free bonds with the same duration and yield, the more convex one does better whichever way rates move, which is why investors tend to pay for convexity through a slightly lower yield. Whether that price is worth paying depends on how much you expect rates to move; if they stay still, the extra curvature earns nothing.
Why does a zero-coupon bond have more convexity than a coupon bond of the same maturity?
All of its value sits in the single final payment, which carries the heaviest t(t + 1) weight, whereas a coupon bond spreads value across earlier, lightly weighted payments. At a 4% yield over 5 years, a zero-coupon bond scores 26.43, a 5% coupon bond 22.92 and a 10% coupon bond 20.66.
Can I use this for a callable bond or a mortgage-backed security?
No. The calculation assumes every coupon and the principal arrive on schedule. When an issuer can call the bond or borrowers can prepay, cash flows shrink as yields fall, which caps the price gain and can make convexity negative. Those securities need effective convexity, found by repricing with an option-adjusted model at shifted yields.
Does the coupon frequency change the answer much?
A little. With the same 5% coupon, 4% yield and 5 years, annual coupons give a convexity of 24.48 against 22.92 for semi-annual, because annual coupons arrive later on average. Enter the frequency the bond actually pays, and quote the yield at that same compounding.

How this page was produced

Published by
Quanta Calculator
Primary sources
1 cited below
Method
Convexity = Σ[PV(CFₜ)·t(t+1)] / [P(1+y/m)²m²]
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon