Bonds
Macaulay duration as a present-value-weighted time
Discount each cash flow, multiply by when it arrives, sum the weighted values and divide by the bond price. The weights are the present values, so they automatically add up to the price.
Last updated
The Formula
D = (sum over t of t x PV(CF_t)) / P
Discount each cash flow, multiply by when it arrives, sum the weighted values and divide by the bond price. The weights are the present values, so they automatically add up to the price.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| D | Macaulay duration | years | The weighted average time to cash flows, expressed in years. |
| PV(CF_t) | Present value of the cash flow at time t | currency | The payment at t discounted back to today at the yield. |
| P | Bond price | currency | The sum of every discounted cash flow; it acts as the normalising weight. |
What Each Symbol Means
Dyears
Macaulay duration
The weighted average time to cash flows, expressed in years.
PV(CF_t)currency
Present value of the cash flow at time t
The payment at t discounted back to today at the yield.
Pcurrency
Bond price
The sum of every discounted cash flow; it acts as the normalising weight.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate the macaulay duration page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate The Macaulay Duration, filed under Finance. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Macaulay duration as a present-value-weighted time?
The formula for Macaulay duration as a present-value-weighted time is D = (sum over t of t x PV(CF_t)) / P. Discount each cash flow, multiply by when it arrives, sum the weighted values and divide by the bond price. The weights are the present values, so they automatically add up to the price.
What does each symbol in Macaulay duration as a present-value-weighted time stand for?
D is macaulay duration; PV(CF_t) is present value of the cash flow at time t; P is bond price.
What units should I use with Macaulay duration as a present-value-weighted time?
Substitute D in years, PV(CF_t) in money (any currency, as long as every money input uses the same one), P in money (any currency, as long as every money input uses the same one). Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Macaulay duration as a present-value-weighted time?
Entering the yield as 3 instead of 0.03. A quoted yield of 3% must enter the discount factors as 0.03. The field here is a percentage that the engine converts for you, but if you reproduce the formula by hand, remember to divide by 100 first. Using 3 as the yield makes 1 + y equal 4 and produces a meaningless duration.