In finance, **bond convexity** is a measure of the non-linear relationship of bond prices to changes in interest rates, and is defined as the second derivative of the price of the bond with respect to interest rates (duration is the first derivative). In general, the higher the duration, the more sensitive the bond price is to the change in interest rates. Bond convexity is one of the most basic and widely used forms of convexity in finance. Convexity was based on the work of Hon-Fei Lai and popularized by Stanley Diller.^{[1]}

Duration is a linear measure or 1st derivative of how the price of a bond changes in response to interest rate changes. As interest rates change, the price is not likely to change linearly, but instead it would change over some curved function of interest rates. The more curved the price function of the bond is, the more inaccurate duration is as a measure of the interest rate sensitivity.^{[2]}

Convexity is a measure of the curvature or 2nd derivative of how the price of a bond varies with interest rate, i.e. how the duration of a bond changes as the interest rate changes.^{[3]} Specifically, one assumes that the interest rate is constant across the life of the bond and that changes in interest rates occur evenly. Using these assumptions, duration can be formulated as the first derivative of the price function of the bond with respect to the interest rate in question. Then the convexity would be the second derivative of the price function with respect to the interest rate.^{[2]}

Convexity does not assume the relationship between Bond value and interest rates to be linear.^{[4]} In actual markets, the assumption of constant interest rates and even changes is not correct, and more complex models are needed to actually price bonds. However, these simplifying assumptions allow one to quickly and easily calculate factors which describe the sensitivity of the bond prices to interest rate changes.^{[5]}

The price sensitivity to parallel changes in the term structure of interest rates is highest with a zero-coupon bond and lowest with an amortizing bond (where the payments are front-loaded).^{[6]} Although the amortizing bond and the zero-coupon bond have different sensitivities at the same maturity, if their final maturities differ so that they have identical bond durations then they will have identical sensitivities.^{[7]} That is, their prices will be affected equally by small, first-order, (and parallel) yield curve shifts. They will, however, start to change by different amounts with each *further* incremental parallel rate shift due to their differing payment dates and amounts.^{[8]}

For two bonds with the same par value, coupon, and maturity, convexity may differ depending on what point on the price yield curve they are located.^{[9]}

If the *flat* floating interest rate is *r* and the bond price is *B*, then the **convexity** ** C** is defined as

Another way of expressing *C* is in terms of the modified duration *D*:

Therefore,

leaving

Where *D* is a Modified Duration

Return to the standard definition of modified duration:^{[11]}

where *P*(*i*) is the present value of coupon *i*, and *t*(*i*) is the future payment date.

As the interest rate increases, the present value of longer-dated payments declines in relation to earlier coupons (by the discount factor between the early and late payments).^{[12]} However, bond price also declines when interest rate increases, but changes in the present value of sum of each coupons times timing (the numerator in the summation) are larger than changes in the bond price (the denominator in the summation). Therefore, increases in *r* must decrease the duration (or, in the case of zero-coupon bonds, leave the unmodified duration constant).^{[13]}^{[14]} Note that the modified duration *D* differs from the regular duration by the factor one over *1 + r* (shown above), which also decreases as *r* is increased.

Given the relation between convexity and duration above, conventional bond convexities must always be positive.^{[15]}

The positivity of convexity can also be proven analytically for basic interest rate securities. For example, under the assumption of a flat yield curve one can write the value of a coupon-bearing bond as , where *C _{i}* stands for the coupon paid at time

Note that this conversely implies the negativity of the derivative of duration by differentiating .

- Convexity is a risk management figure, used similarly to the way 'gamma' is used in derivatives risks management; it is a number used to manage the market risk a bond portfolio is exposed to. If the combined convexity and duration of a trading book is high, so is the risk.
^{[16]}However, if the combined convexity and duration are low, the book is hedged, and little money will be lost even if fairly substantial interest movements occur. (Parallel in the yield curve)^{[17]} - The second-order approximation of bond price movements due to rate changes uses the convexity:

See also: Effective duration |

For a bond with an embedded option, a yield to maturity based calculation of convexity (and of duration) does not consider how changes in the yield curve will alter the cash flows due to option exercise. To address this, an **effective convexity** must be calculated numerically.^{[18]} Effective convexity is a discrete approximation of the second derivative of the bond's value as a function of the interest rate:^{[18]}

where is the bond value as calculated using an option pricing model, is the amount that yield changes, and are the values that the bond will take if the yield falls by * or rises by **, respectively (a parallel shift).
*

These values are typically found using a tree-based model, built for the *entire* yield curve, and therefore capturing exercise behavior at each point in the option's life as a function of both time and interest rates;^{[19]}^{[20]} see Lattice model (finance) § Interest rate derivatives.