Duration and rate sensitivity
Learning goals
After this page, you can:
- Build the cash-flow table of a bond and compute its Macaulay duration.
- Convert it to modified duration, and estimate the percent price change for a change in yield.
- State the three rules: a longer maturity means a longer duration, a higher coupon means a shorter one, and a higher yield means a shorter one.
- Read the duration of a bond fund, and explain why the shortcut overstates losses and understates gains.
The idea
Two friends lend you money. The first wants a small piece back every year. The second wants nothing until one lump sum in year 10. The second friend waits longer, on average. Now suppose interest rates jump tomorrow. The second friend’s loan is also the one whose value changes more. A long wait means a big price move.
The average wait. The Macaulay duration of a bond is the average wait for your money, in years. It is a weighted average. Each payment counts by its present value (PV): what that future payment is worth today (see discounting and present value). The rate used is the bond’s yield to maturity, written y. The weight of a payment is its present value divided by the price of the bond. The weights add up to 1.
A bond that pays coupons has a duration shorter than its maturity, because the coupons arrive early. The last payment still carries most of the weight, because it includes the par value.
The sensitivity dial. Divide the Macaulay duration by (1 + y). The result is the modified duration: the percent that the price moves, in the opposite direction, when the yield moves by one point. A modified duration of 6 means about −6% when yields rise one point and about +6% when they fall one point.
PV of the cash flow in year t = cash flow ÷ (1 + y)ᵗ
Price = the sum of the PVs
Weight of year t = PV ÷ price
Macaulay duration = the sum of (t × weight)
Modified duration = Macaulay duration ÷ (1 + y)
% change in price ≈ −modified duration × change in yield
Three rules.
- Longer maturity, longer duration. You wait longer for the big payment.
- Higher coupon, shorter duration. More of your money comes early.
- Higher yield, shorter duration. Far-away money counts for less when the yield is high.
A straight line on a curve. The shortcut is a straight line, but the real price–yield relationship is a curve that bends. This bend is called convexity. For a small change in yield, the line and the curve almost touch. For a big change, or a long bond, they drift apart. The bend works for the investor: a loss is a little smaller than the shortcut says, and a gain is a little bigger.
A bond fund. The page of a bond fund shows one number called “duration” or “effective duration”. Treat it as modified duration. Duration 6 means about −6% for a one-point rise in rates. Duration 16 means about −16%. Read this number before you buy a bond fund.
In Excel. Put the years in column A and the cash flows in column B. The PV of one row is =B2/(1+yield)^A2. Then use =SUM(PVs) for the price, =PV/price for each weight, =SUMPRODUCT(years, weights) for the Macaulay duration, and =Macaulay/(1+yield) for the modified duration. The shortcut is =-modified*shock. The exact change is =-PV(yield+shock, years, coupon, 1000)/price-1. For a bond that pays twice a year, count in half-years, divide the SUMPRODUCT by 2 to get years, and divide by (1 + yield ÷ 2) to get the modified duration.
Try it
Mode A builds the duration of one bond, row by row. Mode B takes the duration of a fund. Move the rate shock slider in both modes.
What to notice:
- Press Course 10-year (lab), then Course 30-year (lab). Same coupon, same yield. The modified duration goes from 7.87 to 15.96, and the loss for a one-point rise about doubles.
- Press Default 7-year and drag the shock to +3.00, then to −3.00. The shortcut says −17.76% and +17.76%. The exact answers are −15.96% and +19.88%. The gap grows with the size of the shock.
- Press Long-Treasury ETF. A duration of 16 means about −16% for a one-point rise.
Worked example
A bond has 4 years left. It pays a 6% coupon once a year ($60) on $1,000 par. Its yield is 4%.
Step 1. Cash flows. $60 in years 1, 2 and 3. $1,060 in year 4.
Step 2. Present values at 4%. 60 ÷ 1.04 = 57.69. 60 ÷ 1.04² = 55.47. 60 ÷ 1.04³ = 53.34. 1,060 ÷ 1.04⁴ = 906.09. The price is their sum: $1,072.60. It is above par, because the yield is below the coupon rate.
Step 3. Weights. Divide each present value by the price.
Step 4. Year × weight. Multiply each weight by its year, and add.
| Year | Cash flow | PV at 4% | Weight | Year × weight |
|---|---|---|---|---|
| 1 | $60 | $57.69 | 0.0538 | 0.0538 |
| 2 | $60 | $55.47 | 0.0517 | 0.1034 |
| 3 | $60 | $53.34 | 0.0497 | 0.1492 |
| 4 | $1,060 | $906.09 | 0.8448 | 3.3791 |
| Sum | $1,072.60 | 1.0000 | 3.6855 |
Every number in the table comes from unrounded values and is rounded only for display. So a last digit can differ when you redo a step with the rounded numbers. The four rounded present values add up to 1,072.59, not 1,072.60.
The Macaulay duration is 3.6855, about 3.69 years. It is less than 4, because the coupons arrive early.
Step 5. Modified duration. 3.6855 ÷ 1.04 ≈ 3.54.
Step 6. A one-point move. Rates rise to 5%. The shortcut says −3.54 × 1 = −3.54%. The exact price at 5% is $1,035.46, and 1,035.46 ÷ 1,072.60 − 1 = −3.46%. Rates fall to 3%. The shortcut says +3.54%. The exact price is $1,111.51, a change of +3.63%.
Answer. Price $1,072.60. Macaulay duration 3.69 years. Modified duration 3.54. A one-point rise costs about 3.5% (exactly 3.46%). A one-point fall adds about 3.5% (exactly 3.63%). The shortcut overstates the loss a little and understates the gain a little.
Check yourself
A 2-year bond pays a $50 coupon each year and $1,000 at maturity; its yield is 5%, so its price is $1,000. What is its Macaulay duration?
Macaulay duration = Σ(year × weight), weights = PV of each cash flow ÷ price.
Which bond has the LONGEST duration?
Duration rises with maturity and falls with the coupon (and with the yield).
A bond has a Macaulay duration of 8.5 years and yields 6%. Yields rise by half a point. Approximately how much does the price change?
%ΔP ≈ −modified duration × Δyield, with modified = Macaulay ÷ (1 + yield).
A bond fund’s page shows duration 12. If yields rise from 4.0% to 5.5%, the fund’s value changes by about:
Treat the fund’s reported duration as modified duration: change ≈ −duration × Δyield.
For a 30-year bond, the duration shortcut says −16% for a one-point rise, but exact repricing says −14.3%; for a one-point fall the shortcut says +16% and the exact answer is +18%. Why?
Duration is a linear approximation; the true price curve is convex.
Video
Video coming soon.