Terican

Bond Convexity Calculator

Calculate bond convexity to measure the curvature of the price-yield relationship and improve interest rate risk estimates beyond duration.

FreeInstant resultsNo signup
$
110,000,000
%
050
%
0.0150
years
0.5100

Convexity

--

AI Explainer

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Convexity--

Formula & Methodology

Understanding Bond Convexity: Formula, Calculation, and Applications

Bond convexity measures the curvature in the relationship between a bond's price and its yield. While duration captures the linear (first-order) sensitivity of a bond's price to interest rate changes, convexity accounts for the fact that this relationship is not a straight line — it curves. This second-order measure provides a more accurate estimate of bond price changes, especially when yield shifts are large.

The Bond Convexity Formula

The formula for calculating bond convexity is:

C = (1 / (P × m²)) × Σ [CFt × t × (t + 1) / (1 + y/m)t+2]

where the summation runs from t = 1 to n × m. Each variable plays a specific role:

  • C — the convexity of the bond, expressed in periods squared
  • P — the current market price (or present value) of the bond
  • m — the number of coupon payments per year (e.g., 2 for semi-annual bonds)
  • CFt — the cash flow at period t (coupon payment, or coupon plus face value at maturity)
  • y — the annual yield to maturity (YTM), expressed as a decimal
  • n — the number of years to maturity
  • t — the specific coupon period number

Derivation and Intuition

Convexity derives from the second derivative of the bond price-yield function with respect to yield. A bond's price P equals the present value of all future cash flows discounted at the yield to maturity. Taking the first derivative of P with respect to y produces dollar duration. Taking the second derivative produces a value proportional to dollar convexity. Dividing by the bond price normalizes the result, giving convexity as a unitless measure per period squared (NYU Stern School of Business, Convexity Lecture Notes).

The factor t × (t + 1) in the numerator arises naturally from taking the second derivative of the discount factor (1 + y/m)−t with respect to yield. The denominator term (1 + y/m)t+2 reflects the original discounting raised by two additional powers due to differentiation.

Step-by-Step Calculation Example

Consider a bond with the following characteristics:

  • Face value: $1,000
  • Annual coupon rate: 6% (semi-annual payments of $30)
  • Yield to maturity: 5% annually
  • Years to maturity: 5
  • Coupon frequency: 2 (semi-annual)

This bond generates 10 semi-annual cash flows: $30 each for periods 1 through 9, and $1,030 (coupon plus principal) at period 10. The periodic yield equals 2.5% (5% ÷ 2).

For each period, compute CFt × t × (t + 1) / (1.025)t+2, then sum all 10 terms. Divide the total by P × m², where P is the bond's present value (approximately $1,043.76 for this example) and m² = 4. The resulting convexity for this bond is approximately 25.16.

Interpreting and Applying Convexity

Convexity improves the accuracy of price change estimates beyond what duration alone provides. The percentage price change of a bond can be approximated as:

ΔP/P ≈ −Duration × Δy + ½ × Convexity × (Δy)²

For the example bond above, if yields rise by 200 basis points (2%), duration alone might predict a price decline of roughly 8.7%. Adding the convexity adjustment — approximately ½ × 25.16 × (0.02)² = 0.50% — revises the estimated decline to about 8.2%. This convexity adjustment becomes increasingly important for larger yield changes (Investopedia, Convexity Adjustment).

Key Properties of Bond Convexity

  • Positive convexity — standard option-free bonds always exhibit positive convexity, meaning the price-yield curve bows upward. Prices rise more when yields fall than they decline when yields rise by the same amount.
  • Higher convexity is desirable — given two bonds with identical duration, the bond with higher convexity outperforms in both rising and falling rate environments.
  • Factors that increase convexity — longer maturity, lower coupon rate, and lower yield all increase a bond's convexity.
  • Callable bonds — can exhibit negative convexity at low yields, where the price-yield curve bends downward due to the embedded call option limiting price appreciation.

Use Cases in Portfolio Management

Portfolio managers use convexity for immunization strategies, matching both the duration and convexity of assets to liabilities to hedge against non-parallel yield curve shifts. Traders compare convexity across bonds to identify relative value opportunities — a bond trading at a convexity discount to comparable issues may be undervalued. Risk managers incorporate convexity into Value-at-Risk (VaR) models to capture the non-linear price behavior that duration alone misses (University of Florida, Chapter 11 — Duration, Convexity and Immunization).

Methodology and Sources

The calculation methodology implemented in this bond convexity calculator follows the standard discrete-time convexity formula as presented in fixed-income textbooks and the Society of Actuaries Exam FM curriculum. The formula discounts each cash flow individually and sums the weighted contributions, consistent with the approach described by Campbell R. Harvey of Duke University.

Frequently Asked Questions

What is bond convexity and why does it matter?
Bond convexity measures the curvature of the price-yield relationship for a bond. It matters because duration alone assumes a linear relationship between price and yield changes, which becomes increasingly inaccurate for large interest rate movements. A bond with a convexity of 25, for example, adds approximately 0.50% to the price change estimate for a 200 basis point yield shift. Higher convexity benefits bondholders because prices rise more when rates fall than they decline when rates rise by the same magnitude.
How do you calculate bond convexity step by step?
To calculate bond convexity: first, determine all future cash flows (coupon payments and principal repayment). Second, for each period t, compute CF × t × (t+1) divided by (1 + y/m) raised to the power (t+2). Third, sum all these values across every payment period. Finally, divide the total sum by the product of the bond's current price and the square of the coupon frequency (P × m²). For a $1,000 bond paying 6% semi-annually with a 5% yield and 5 years to maturity, this produces a convexity of approximately 25.16.
What is the difference between duration and convexity?
Duration measures the first-order (linear) sensitivity of a bond's price to yield changes, while convexity captures the second-order (curvature) effect. Duration answers the question of how much the bond price changes per unit change in yield, expressed in years. Convexity refines that estimate by accounting for the fact that duration itself changes as yields move. For small yield changes of 10–25 basis points, duration alone provides a reasonable estimate. For larger shifts of 100+ basis points, the convexity adjustment significantly improves accuracy.
What factors increase a bond's convexity?
Three primary factors increase bond convexity: longer time to maturity, lower coupon rate, and lower yield to maturity. A 30-year Treasury bond has substantially higher convexity than a 2-year note. Zero-coupon bonds have the highest convexity for a given maturity because all cash flow concentrates at a single distant point. Bonds yielding 3% exhibit higher convexity than otherwise identical bonds yielding 8%. Additionally, lower coupon frequency (annual vs. semi-annual) slightly increases convexity because cash flows are more dispersed in time.
How is the convexity adjustment used in bond price estimation?
The convexity adjustment improves the bond price change estimate using the formula: ΔP/P ≈ −Duration × Δy + ½ × Convexity × (Δy)². For example, if a bond has a modified duration of 7.5 and a convexity of 60, and yields increase by 150 basis points (0.015), the duration-only estimate predicts a price decline of 11.25%. The convexity adjustment adds ½ × 60 × (0.015)² = +0.675%, revising the total estimated change to −10.575%. This correction always works in the bondholder's favor for option-free bonds.
Can bond convexity be negative, and what does that mean?
Yes, negative convexity occurs primarily in callable bonds and mortgage-backed securities. When yields fall below the call price threshold, the issuer is likely to call (redeem) the bond early, capping the bond's price appreciation. This creates a downward-bending price-yield curve at low yields. For example, a callable corporate bond at 4% coupon may exhibit negative convexity when yields drop below 3.5%, because the probability of early redemption increases sharply. Investors typically demand a higher yield spread to compensate for the disadvantage of negative convexity.