Convexity is a measurement of the degree of the curve (curvature) in the relationship between bond prices and bond yields. It is the second derivative of the price of the bond with respect to interest rates, whereas duration is the first derivative. Convexity accounts for the level of the yield and the accelerating rate of change in the yield.