How to use the Bond Convexity Calculator
Convexity measures the curvature of a bond's price-yield relationship. Duration alone assumes that relationship is a straight line, but it is actually curved: as yields fall, a bond's price rises at an accelerating rate, and as yields rise, it falls at a decelerating rate. Convexity quantifies that curvature so you can refine the price-change estimate duration gives you.
What the calculator computes
- Bond price: the present value of every coupon plus the face value, each discounted at the yield to maturity. Coupons are paid at your chosen frequency (annual, semiannual, quarterly, or monthly).
- Modified duration: the first-order, straight-line sensitivity of price to yield, in years. A modified duration of 7 implies roughly a 7% price drop for a 1-percentage-point rise in yield, before the convexity correction.
- Convexity: the second-order term, in years squared. It captures how duration itself changes as yields move, and it is the number this tool is built around.
- Convexity-adjusted price change: the estimated dollar change in price for the yield shift you enter, combining the duration and convexity terms.
The formula
For a bond with periodic cash flows CFt discounted at the per-period yield y, convexity is the price-weighted sum of t(t+1)/(1+y)t+2 across all periods: Convexity = (1/P) × Σ CFt · t(t+1) / (1+y)t+2. Because t counts periods, the raw figure is in periods squared; dividing by the number of payments per year squared converts it to the more familiar years squared. The tool assumes fixed coupons, a flat yield curve, and no embedded options such as call or put features.
Estimating a price change
Duration and convexity combine to approximate the percentage price change for a yield move Δy (in decimal form): %ΔP ≈ −ModDur × Δy + ½ × Convexity × Δy². The duration term is a straight line that always overstates the price drop when yields rise and understates the gain when yields fall; the convexity term corrects for that, and the correction grows with the size of the yield move.