How to bootstrap a discount curve
The question
Four bonds mature in 1, 2, 3 and 4 years and pay annual coupons. From their coupons and prices alone, what is $1 paid in year 4 worth today?
Each price mixes several dates. Untangle them one year at a time.
- 1 SeeFill in the discount factors, year by year.
- 2 TryMove one price and predict.
- 3 ProveBuild the proof, line by line.
- 4 ApplyProblems to check yourself.
Before you start · 3 quick checks on a discount factor, a bond's payments and solving equations one at a time, about 3 min
Two ideas before you start
2 ideasA discount factor is the price of a dollar on one date
Figure: three bars of heights 0.97, 0.93 and 0.88, made-up prices today of $1 paid at years 1, 2 and 3. It needs JavaScript.
$1 at year 2 costs D₂ = 0.93 today; $100 then costs 100 × 0.93 = $93.00
Drawn here with made-up factors. Dt is today's price of $1 paid at year t, so a payment of any size at year t is worth that size times Dt.
Exact definition
Discount factor. For a whole number \(t \ge 1\), \(D_t\) is the price today of $1 paid with certainty at the end of year \(t\). A payment \(a\) at year \(t\) then costs \(aD_t\).
Law of one price. In a market with no frictions and no default (see the fine print below), a dollar paid at year \(t\) has one price, \(D_t\), whichever bond pays it. So a bond that pays \(a_1, \ldots, a_n\) at the years \(1, \ldots, n\) costs \(a_1D_1 + \cdots + a_nD_n\).
Zero rate. With annual compounding, the \(t\)-year zero rate \(z_t\) is the rate with \(D_t = 1/(1 + z_t)^t\), as in the lesson on the time value of money. A list of discount factors, one for each date, is a discount curve.
Peel the bonds in maturity order
Figure: bond A pays $104 at year 1; bond B pays $5 at year 1 and $105 at year 2. It needs JavaScript.
Bond A: 100.88 = 104 × D₁ so D₁ = 100.88/104 = 0.97
The same made-up factors. Bond A pays only at year 1, so its price gives D1. Bond B's year-1 coupon is then priced, and what is left of its price pays for its year-2 payment.
Exact definition
The bonds. For \(k = 1, \ldots, n\), bond \(k\) matures at year \(k\). Per $100 of face value it pays a coupon \(c_k\) at the end of each of the years \(1, \ldots, k\), and the face 100 at year \(k\). Its price is \(P_k\), per $100 of face.
Bootstrapping. Write \(S_{k-1} = D_1 + \cdots + D_{k-1}\) for the sum of the factors before year \(k\), with \(S_0 = 0\). By the law of one price,
\[\begin{aligned} P_k &= c_kS_{k-1} \\ &\quad + (100 + c_k)D_k. \end{aligned}\]Taken in the order \(k = 1, 2, \ldots, n\), each equation has one new unknown, so
\[\begin{aligned} D_k &= \frac{P_k - c_kS_{k-1}}{100 + c_k}. \end{aligned}\]Stage 3 proves that no other list of numbers prices all \(n\) bonds.
Fine print: the model and its assumptions
Dates and prices. Every bond on this page pays once a year, on the same dates, and prices are taken just after a payment date. So the next payment is one full year away, and the price paid has no accrued interest, which the lesson on accrued interest explains. Prices and coupons are in dollars per $100 of face value.
Assumptions used everywhere on this page. Payments are certain: nobody defaults. There are no taxes, fees or bid-ask spreads, and every bond can be bought or sold short at its quoted price, in any amount. The quotes also leave no arbitrage, a riskless profit with no outlay. With the trading assumptions, that gives the law of one price: two portfolios with the same payments on the same dates cost the same, so a dollar at year \(t\) has one price \(D_t\).
One bond for each year. Each year from 1 to \(n\) has exactly one bond that matures then. Stage 3 says what changes when a year has no bond or two. Real curves are built from many more instruments, and practitioners also choose how to fill in dates between maturities; this page leaves that out.
Fill in the discount factors, year by year
- Bond k matures at year k. It pays its coupon at the end of each year up to k, and the $100 face at year k.
- Type D₁ first, then D₂, D₃ and D₄. Round to 4 decimal places if a value does not stop; a value within 0.00005 of the exact one counts.
- Press Check my table. Each cell gets a verdict, and a cell that is off only because a cell above it is off says which one.
- With all four right, the page draws the discount curve.
| Bond | Matures (year) | Coupon | Price |
|---|
How the page checks a cell
The page computes each factor from the bonds, with exact fractions, and compares your value with it. For a cell that is off, it also solves that bond's equation using your own values in the cells above. If your value matches that, your step was right and the error sits in a cell above, which the verdict names. It also recognizes a few common slips, such as dividing by 100 instead of by the whole payment at maturity.
A cell is checked only when every cell above it holds a number, because each bond's price also depends on the earlier years. Changing a cell clears its verdict and the verdicts below it.
| Year t | Dt | Zero rate zt |
|---|
Move one bond's price
The market of stage 1, under the same assumptions. A prediction comes first; the explorer opens once you answer it.
Explorer: change one bond's price
- Pick a bond with the buttons. The other three prices stay as in stage 1, and picking a bond starts its change at $0.
- Move the slider to change that bond's price by up to $3 either way. The page bootstraps all four factors again.
| Year | Dt now | Change | zt now |
|---|
Goals
With positive coupons, as here: raising the price of bond \(j\) by \(\Delta \gt 0\) raises \(D_j\) by \(\Delta/(100 + c_j)\) and leaves the factors before year \(j\) alone. Every later factor falls. For \(k \gt j\), \(D_k\) is what is left of the fixed price \(P_k\) after subtracting \(c_k(D_1 + \cdots + D_{k-1})\), divided by \(100 + c_k\), and that sum has risen. Each step multiplies the rise of the sum by \(100/(100 + c_k)\), which is below 1, so the rise shrinks but stays positive, and each later factor falls by less than \(D_j\) rose. Lowering a price does the opposite. A price high enough to push a factor above 1 gives a negative zero rate; nothing in the model rules that out.
A second prediction
Why the prices fix exactly one curve
Model. Let \(n \ge 2\). For \(k = 1, \ldots, n\), bond \(k\) matures at year \(k\); per $100 of face it pays a coupon \(c_k \gt 0\) at the end of each of the years \(1, \ldots, k\) and the face 100 at year \(k\), and its price is \(P_k\).
Assumptions.
- payments are certain, and trading is frictionless as in the fine print: no taxes, fees or spreads, and short sales allowed;
- the law of one price: there are positive numbers \(D_1, \ldots, D_n\), the prices today of $1 paid at the years \(1, \ldots, n\), and each bond's price is the sum of its payments times these numbers.
Notation. \(S_j = D_1 + \cdots + D_j\) is the sum of the first \(j\) factors.
Conclusion. \(D_1 = P_1/(100 + c_1)\) and, for \(k = 2, \ldots, n\),
\[\begin{aligned} D_k &= \frac{P_k - c_kS_{k-1}}{100 + c_k}. \end{aligned}\]Moreover \(D_1, \ldots, D_n\) is the only list of real numbers \(x_1, \ldots, x_n\) that prices all \(n\) bonds this way.
Facts the proof uses.
- the determinant of a lower triangular matrix is the product of its diagonal entries, as in the lesson on the determinant;
- a square system \(Ax = b\) with \(\det A \ne 0\) has exactly one solution, as in the lesson on solving Ax = b.
Each option is one step about the bonds of the theorem. Pick the one that is true for every list of bonds the theorem covers and, where a line is about bond \(k\), for every \(k\) from 2 to \(n\).
- Zero-coupon bonds. If bond \(k\) pays no coupon, put \(c_k = 0\): the equations still hold, and that bond gives \(D_k = P_k/100\) directly.
- A year with no bond. If no bond matures at some year \(t \le n\), there are \(n - 1\) equations for \(n\) unknowns. The prices then fit infinitely many lists of factors, as in the lesson on solving Ax = b, so the bonds do not fix the curve; an extra assumption, such as a rule for filling in zero rates between maturities, has to choose one.
- Two bonds for one year. With a second bond maturing at year \(k\), there is one more equation than unknowns. The factors from the other bonds already fix its price; a different quote means that the law of one price fails for these quotes.
- Building payments from the bonds. Run backward, the same triangular system builds any list of dated payments out of the bonds, as problem P4 does for a single payment at year 2.
Problems
Each problem has hints and a full solution. The assumptions of the fine print hold in every problem: annual coupons, prices just after a coupon date, certain payments and no frictions.
Related: duration measures how a bond's price responds to a change in its yield, and the time value of money turns a rate into a discount factor.
Further reading
- B. Tuckman and A. Serrat, Fixed Income Securities: Tools for Today's Markets, 3rd ed. (Wiley, 2012), chapter 1, “Prices, Discount Factors, and Arbitrage.”
- J. C. Hull, Options, Futures, and Other Derivatives, 10th ed. (Pearson, 2018), chapter 4, “Interest Rates,” on zero rates and the bootstrap method.
- D. G. Luenberger, Investment Science, 2nd ed. (Oxford University Press, 2014), chapter 4, “The Term Structure of Interest Rates.”