In finance, bond convexity is a measure of the non-linear relationship of bond prices to changes in interest rates, 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.
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.
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. 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.
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.
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). 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 they will have identical sensitivities. 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.