Saved

Press the star next to a tool's name to save it.

All my tools

Bond Convexity Calculator

Use this bond convexity calculator to find a bond's price, duration and convexity from its coupon, yield and maturity, and the price change for a yield move.

Restored your last values ·

Enter the face value, the coupon rate, the yield and the years to maturity, and the number of coupons a year. You get the price, the modified duration and the convexity, and the estimated price change for a yield change.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the bond details, then press Calculate.

See full result

A bond convexity calculator measures how the price of a bond reacts to a change in interest rates beyond what duration shows. Enter the face value, the coupon, the yield and the maturity, and it gives the price, the Macaulay and modified duration, the convexity, and the estimated price change for a given move in yield.

How to use the bond convexity calculator

  1. Enter the face value, coupon rate, yield and years.
  2. Set the coupons per year, and a yield change to test.
  3. Press Calculate.

Duration

Duration measures the sensitivity of a bond's price to a change in the yield. The modified duration is the Macaulay duration divided by (1 + y), or by (1 + y ÷ m) with m compounding periods a year, y being the yield [2]. The price is the sum of the cash flows discounted at the yield, P(y) = Σ C_i (1 + y ÷ m)^(−m t_i) [3]. The calculator works these out for you.

Convexity

Convexity is the second derivative of the price with respect to the yield, divided by the price, C = (1 ÷ B) d²B/dy² [1]. It measures how the duration itself changes as the yield changes, so it describes the curve of the price-yield relationship. A plain bond has positive convexity [4]: the price rises more when the yield falls than it falls when the yield rises by the same amount.

The price estimate

For a small change in yield Δy, the relative price change is approximately ΔB/B ≈ −D Δy + ½ C (Δy)² [1]. The first term is the duration effect, a straight line, and the second is the convexity correction, which is always positive for a plain bond. The calculator shows the estimate from the duration alone and with the correction, so you can see how much convexity adds.

The formula we use

For annual coupons, the convexity can be computed by differentiating the price twice: C = (1 ÷ (P (1 + y)²)) Σ t (t + 1) CF_t ÷ (1 + y)^t. This form is not given in the sources, so it is our own derivation from the price formula. For m coupons a year, the calculator works in periods and divides by m² to get convexity in years squared.

A worked example

A worked example uses a bond with 2 years to maturity, a 5 percent annual coupon and a yield of 6 percent. Its price is about 98.167, the Macaulay duration about 1.952 and the modified duration about 1.842 [3]. For a yield rise of 0.5 percentage points the price falls by about 0.92 percent [3]. Our calculation of the convexity is 5.17, and the convexity-adjusted estimate is a fall of 0.914 percent, against an exact fall of 0.915 percent, so the correction brings the estimate closer.

A zero-coupon bond

For a zero-coupon bond the duration equals the maturity. Take a 3-year zero at a yield of 5 percent, annual, a modified duration of 3 ÷ 1.05, which is 2.857, and a price change of about −0.71 percent for a rise of 0.25 percentage points [3]. Set the coupon to zero to try it. The convexity of a zero-coupon bond is higher than that of a coupon bond of the same maturity.

Why convexity matters

Convexity matters most for large yield changes and for long bonds. Two bonds with the same duration can have different convexity, and the one with more convexity gains more when rates fall and loses less when they rise. Investors may accept a slightly lower yield for it. The calculator makes the effect visible by testing a larger yield change, such as 2 percentage points.

Limits

The model uses one yield for all cash flows and assumes the cash flows are fixed. Bonds that can be called, or that have embedded options, have effective duration and convexity that must be found by repricing them for small yield shifts. The finite-difference form of effective convexity is used for that case [3]. Use the calculator for plain bonds.

Trying larger moves

For the bond in the example, a yield change of 2 percentage points shows the gap between the two estimates clearly. The duration alone gives a fall of about 3.7 percent for a rise, and convexity trims the fall slightly, while for a fall in yield the price gain is larger than the duration alone suggests. Enter plus and minus 2 in turn, and you will see that the price rises more than it falls, which is the benefit of positive convexity.

Longer bonds

Duration and convexity both rise with maturity and fall with the coupon and the yield. A 30-year bond with a low coupon has a very high duration and convexity, and so is very sensitive to rates. Try 30 years and a 3 percent coupon to see the numbers climb. Portfolio managers use the figures to measure the interest rate risk of a bond fund.

Common mistakes

  • Mixing up annual and semi-annual yields. Set the coupons per year to match the yield.
  • Confusing convexity with duration. Convexity is the curvature.
  • Using it for callable bonds. Use effective convexity for those.
  • Using a large yield change with duration alone. Add the convexity term.

What next

Use this often? Add Bond Convexi to your Home screen.

Frequently asked questions

What is a bond convexity calculator?

A tool that gives the price, duration and convexity of a bond and estimates the price change when the yield moves.

What is bond convexity?

The second derivative of the price with respect to the yield divided by the price: the curvature of the price-yield curve.

What is the price change formula?

ΔP/P ≈ −D_mod Δy + ½ C (Δy)².

What is the modified duration?

The Macaulay duration divided by (1 + y ÷ m).

Is convexity positive?

For a plain bond with fixed cash flows, yes.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Finance Tools