# Duration & Convexity

> Measuring a bond's interest-rate risk.

Module: Fixed Income — Deep Dive — Finotaur Academy (free lesson)
Source: https://www.finotaur.com/academy/fixed-income/duration-and-convexity

## You'll be able to

Calculate Macaulay duration, modified duration, DV01 and convexity for a bond, and use them to estimate in dollars how much a position gains or loses when yields move.

## In plain words

Duration measures how sensitive a bond's price is to a change in interest rates: a modified duration of 7 means the price falls by roughly 7% for every one-percentage-point rise in yield, and rises by roughly 7% for a one-point fall. Macaulay duration is the weighted-average time, in years, until the bond's cash flows are received; modified duration converts that into a price sensitivity. Convexity measures how that sensitivity itself changes as yields move, which is why the duration estimate is close for small moves and increasingly off for large ones.

```takeaways
- **Macaulay duration** = PV-weighted average time to cash flows, in years.
- **Modified duration** = Macaulay ÷ (1 + yield per period). % price change ≈ −modified duration × yield change.
- **DV01** = dollar change in value for a 1 basis point move. It is how traders size and hedge.
- **Convexity** adds a positive correction: plain bonds gain more when yields fall than they lose when yields rise by the same amount.
```

## Quick demo

A hypothetical **5-year bond, 5% annual coupon, priced at par to yield 5%**.

1. **Macaulay duration.** Weight each payment year by the share of the price that payment represents. The coupons in years 1–4 carry small weights; the $105 in year 5 carries about 82% of the value. The weighted average is **4.55 years**.
2. **Modified duration** = 4.55 ÷ 1.05 = **4.33**.
3. **DV01** on a **$1,000,000** position = 4.33 × $1,000,000 × 0.0001 = **$433** per basis point.
4. **Convexity** for this bond is about **23.9**.

Now yields rise by **1 point (100 bp)**:

- Duration estimate: −4.33 × 1% = **−4.33%**.
- Add convexity: +½ × 23.9 × (0.01)² = +0.12%, giving **−4.21%**.
- Exact reprice: **−4.21%**.

For a 3-point rise, duration alone says −12.99%, duration plus convexity says −11.91%, and the exact answer is −11.98%. Duration is the first draft; convexity is the edit.

```stats
4.55 years | Macaulay duration | 5-year 5% bond at a 5% yield
4.33 | Modified duration | 4.55 ÷ 1.05
$433 | DV01 per $1m | Value change for 1 bp
−4.21% | Price change for +100 bp | Exact; duration alone said −4.33%
```

## Full explanation

### Macaulay duration: a time measure

**Macaulay duration = Σ [t × PV(cash flowₜ)] ÷ price**

Each cash flow's time is weighted by its present value as a share of the bond's price. Two rules of thumb fall out:

- A **zero-coupon bond's** Macaulay duration equals its maturity: all value arrives on one date.
- A coupon bond's duration is **shorter than its maturity**, because some value arrives early. Higher coupons and higher yields both shorten duration.

A 30-year zero has a Macaulay duration of 30 years. A 30-year 4% coupon bond priced at par, paying semiannually, has a Macaulay duration of about **17.7 years**.

### Modified duration: a price-sensitivity measure

**Modified duration = Macaulay duration ÷ (1 + y/k)**, where y is the annual yield and k the payments per year.

**% change in price ≈ −modified duration × Δyield**

This is the number traders mean when they say "duration." It is a first-order (straight-line) approximation of a curved relationship, so it works well for moves of a few basis points and drifts for large ones.

### DV01: duration in dollars

**DV01 = modified duration × market value × 0.0001**

DV01 (also PV01 or "dollar value of a basis point") converts sensitivity into money. It is additive across positions, which makes it the working unit of every rates desk: a portfolio's DV01 is the sum of its bonds' DV01s, and a hedge is sized so the DV01s offset.

Hypothetical DV01s for **$1 million** of 4% semiannual bonds priced at par:

| Maturity | Modified duration | DV01 per $1m | Convexity |
|---|---|---|---|
| 2-year | 1.90 | $190 | 4.6 |
| 10-year | 8.18 | $818 | 78.9 |
| 30-year | 17.38 | $1,738 | 420.8 |

A trader who is long $10m of the 10-year has a DV01 of about **$8,180**. To neutralise the rate exposure with the 2-year, they would short about 818 ÷ 190 × $10m ≈ **$43m** of 2-year notes. That is a **DV01-weighted** hedge — very different from a notional-matched one.

```chart
{
  "type": "bar",
  "title": "DV01 per $1 million, 4% par bonds (illustrative)",
  "unit": "$",
  "data": [["2-year", 190], ["5-year", 449], ["10-year", 818], ["30-year", 1738]],
  "highlight": ["30-year"],
  "caption": "Exact arithmetic for hypothetical 4% semiannual coupon bonds priced at a 4% yield. Real DV01s depend on each bond's actual coupon and yield. The 30-year moves about nine times as much per basis point as the 2-year."
}
```

### Convexity: why the line bends

The true price–yield relationship is a curve, bowed toward the origin. Duration is the tangent line at today's yield. Because the curve sits **above** that tangent on both sides, a plain bond:

- **loses less** than duration predicts when yields rise, and
- **gains more** than duration predicts when yields fall.

The second-order estimate is:

**% change ≈ −modified duration × Δy + ½ × convexity × (Δy)²**

The convexity term is always positive for an option-free bond, and it grows with the square of the move. Long-maturity and low-coupon bonds have the most convexity — the 30-year above has roughly 90 times the convexity of the 2-year. Investors pay for convexity: all else equal, a more convex bond trades at a slightly lower yield, because its asymmetric payoff is valuable when rates are volatile.

```tip
For quick mental maths, use **duration × move** for anything under 50 bp. For larger moves on long bonds, remember convexity is on your side if you own the bond and against you if you are short it.
```

### Negative convexity

Callable bonds and **mortgage-backed securities** behave differently. When yields fall, the issuer (or homeowner) is more likely to call or refinance, capping the price gain. When yields rise, prepayments slow and the bond's duration **extends** just as prices are falling. That combination — limited upside, full downside — is **negative convexity**. It is why MBS pay a yield premium over Treasuries, and why mortgage investors' hedging can amplify rate moves: as rates rise and their duration lengthens, they sell Treasuries or receive less in swaps to rebalance.

### How professionals use these numbers

- **Risk limits** on rates desks are written in DV01, not in notional.
- **Fund comparison.** A bond fund's stated **effective duration** tells you its approximate loss for a 1-point rise. A fund with duration 6 would be expected to lose about 6% if yields rose one point across its holdings, before income.
- **Immunisation.** Pension funds match the duration of their assets to the duration of their liabilities so a rate move changes both by similar amounts.
- **Key-rate durations.** Professionals split DV01 by maturity bucket (2y, 5y, 10y, 30y) because curves rarely move in parallel.

### The advanced nuance: duration is a local, parallel-shift measure

Modified duration assumes the yield changes by the same amount for every cash flow — a **parallel shift** — and measures sensitivity only near today's yield. Real curves twist and steepen. A portfolio can have zero total DV01 and still lose money in a steepener if it is long the 2-year and short the 30-year. That is why risk systems report **key-rate durations** and why, for bonds with embedded options, they compute **effective duration** by repricing the bond with a model at yields shifted up and down, rather than with the closed-form formula.

### Common mistakes

- **Confusing Macaulay (years) with modified (sensitivity).** They differ by the (1 + y/k) factor.
- **Hedging by notional.** $10m of 2-year notes does not offset $10m of 10-year notes; DV01 does.
- **Using duration alone for big moves** on long bonds, overstating losses and understating gains.
- **Applying modified duration to callable bonds or MBS.** Use effective duration; their cash flows change with rates.

```checklist
title: Measuring the rate risk of a bond position
- Find or compute the bond's modified (or effective) duration.
- Multiply by market value and 0.0001 to get DV01.
- Estimate the P&L for +25, +50 and +100 bp moves.
- For long or low-coupon bonds, add the convexity correction for the larger moves.
- If hedging, size the hedge by DV01 ratio, not notional.
- Check key-rate exposure if you hold several maturities.
```

```quiz
[
  {
    "q": "A bond has a modified duration of 6. Yields rise 50 bp. What is the approximate price change?",
    "options": ["−0.6%", "−3%", "−6%", "−12%"],
    "answer": 1,
    "why": "−6 × 0.50% = −3%. Convexity would make the actual loss slightly smaller."
  },
  {
    "q": "What is the Macaulay duration of a 10-year zero-coupon bond?",
    "options": ["About 7 years", "10 years", "It depends on the coupon", "Zero"],
    "answer": 1,
    "why": "A zero has a single cash flow at maturity, so its weighted-average time to cash flow equals its maturity."
  },
  {
    "q": "Position A has a DV01 of $800; position B has a DV01 of $200. How much of B do you short per unit of A for a rate-neutral hedge?",
    "options": ["1 unit", "2 units", "4 units", "0.25 units"],
    "answer": 2,
    "why": "Hedge ratio = 800 ÷ 200 = 4. You need four times as much of the lower-DV01 position to offset the higher one."
  },
  {
    "q": "Why do mortgage-backed securities have negative convexity?",
    "options": ["They pay no coupons", "Prepayments rise when rates fall, capping price gains", "They are always short maturity", "They are not rated"],
    "answer": 1,
    "why": "Homeowners refinance when rates fall, returning principal at par just when the bond would have gained, and prepay slowly when rates rise, extending duration."
  }
]
```
