Finance · 139 calculators
Modified Duration Calculator
Modified duration turns a bond's Macaulay duration into an estimate of how much its price will move when yields change. It answers a practical risk question: for a small shift in yield, roughly what fraction of the price is at stake? The calculation below uses a five-year Macaulay duration, a 5 per cent yield and two compounding periods a year, and it is a teaching illustration rather than investment advice.
Last updated
Modified duration (years)
4.878
- Macaulay duration (years)
- 5
- Price change for a one point yield move
- 0.0488
- Modified duration at a doubled yield
- 4.7619
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
The formula this calculator uses
D_mod = D_mac / (1 + y/n)
- D_mod
- Modified duration, in years
- D_mac
- Macaulay duration, in years
- y
- Annual yield to maturity as a decimal
- n
- Compounding periods per year
How to check the result by hand
- 1
Convert the annual yield to a decimal
The calculator takes the yield as a percentage and divides it by 100 internally, so entering 5 becomes 0.05 in the arithmetic. Do not type 0.05 into the field, because that would be divided again and give 0.0005. Enter 5 and let the engine handle the conversion. Skipping or doubling this step changes the divisor and therefore the whole answer.
- 2
Find the yield per period
Divide the annual decimal yield by the number of compounding periods. With two periods a year, 0.05 divided by 2 is 0.025, which is the yield for one half-year. Using the annual 0.05 as the periodic yield would give 4.76190 instead of 4.87805, a noticeably smaller sensitivity. Match the period count to the coupon frequency of the bond.
- 3
Build the discount base
Add one to the periodic yield to get 1 plus 0.025, which is 1.025. This factor is the denominator of the modified duration formula. It is always slightly above one at positive yields, which is precisely why modified duration comes out a little smaller than the Macaulay duration you started with.
- 4
Divide the Macaulay duration
Take the Macaulay duration as given and divide it by the base: 5 divided by 1.025 is 4.87805. If the Macaulay duration were 7 years, the same division would give about 6.829. The result stays in years, but its meaning has changed from an average waiting time into a price sensitivity.
- 5
Turn the result into a price estimate
Multiply by the assumed yield change and reverse the sign. For a one percentage point move the calculation is 4.87805 times 0.01, about 0.04878, so a yield rise implies roughly a 4.88 per cent price fall. Treat this as a first-order approximation that ignores convexity, and remember that the page is general education rather than investment advice.
Common Questions
How does the Modified Duration Calculator work?
Divide the quoted annual yield by the number of compounding periods to get the periodic yield, add one, and divide the Macaulay duration by that factor. With a Macaulay duration of 5 years, a 5 per cent yield and two periods a year, the periodic yield is 0.025 and modified duration is about 4.87805. Multiplying by 0.01 gives about 0.04878, meaning a one percentage point yield rise implies roughly a 4.88 per cent price fall.
What do I need to enter in the Modified Duration Calculator?
It takes 3 inputs: Macaulay duration (years), Yield to maturity (%) (percent), Compounding periods per year. Fields that expect a unit say so next to the label.
Where does Modified duration (years) come from?
It comes from D_mod = D_mac / (1 + y_p) — divide the Macaulay duration by one plus the yield for a single compounding period. The result is a first-order sensitivity measured in years.
What is the most common mistake with the Modified Duration Calculator?
Using the annual yield as the periodic yield. The divisor is one plus the yield per period, not one plus the annual yield. With two compounding periods, the 5 per cent annual yield must become 0.025 first. Using 0.05 directly gives 4.76190 instead of 4.87805. Always divide the decimal yield by the period count before adding one.
For worked examples, common mistakes and the limits of this formula, read the full How To Calculate The Modified Duration page.
