MDURATION function
Returns the modified duration of a bond — the approximate percentage change in its price for a 1 percentage-point change in yield.
Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web
Excel 2007 and laterWorks in Google Sheets
Syntax
MDURATION(settlement, maturity, coupon, yld, frequency, [basis])| Argument | What it means | |
|---|---|---|
settlement | Required | The date you buy the security (after its issue date). |
maturity | Required | The date the security matures and is repaid. |
coupon | Required | Annual coupon rate. |
yld | Required | Annual yield to maturity. |
frequency | Required | Coupon payments per year: 1 = annual, 2 = semi-annual, 4 = quarterly. |
basis | Optional | Day-count basis: 0 or omitted = US 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365, 4 = European 30/360. |
Returns: Modified duration (a number of years, read as % price change per 1% yield change).
How MDURATION works
Modified duration turns DURATION into a practical risk number. It equals Macaulay duration divided by 1 + yld/frequency, and tells you roughly how much a bond's price moves when yields move: with a modified duration of 3.96, a rise in yields of 1 percentage point lowers the price by about 3.96%.
The estimate is linear, so it works well for small yield changes; for large moves the true price change is a little smaller on the downside and larger on the upside (the effect called convexity). Portfolio managers use modified duration to compare the rate risk of different bonds and to hedge.
Examples
1Price sensitivity of a corporate bond
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2031-06-15 |
| 3 | Coupon | 4.50% |
| 4 | Yield | 5.20% |
| 5 | Frequency | 2 |
| 6 | Basis | 0 |
| 7 | ||
| 8 | 3.9572 |
Result: 3.9572
Macaulay duration 4.0601 divided by 1 + 5.2%/2 gives 3.9572. A 1-point rise in yield would cut the price by roughly 3.96% (4 decimals).
2Estimated price after a 0.5-point yield rise
| A | B | |
|---|---|---|
| 1 | Price | 97.2016 |
| 2 | Modified duration | 3.9572 |
| 3 | Yield change | 0.50% |
| 4 | ||
| 5 | 95.2784 |
Result: 95.2784
97.2016 × (1 − 3.9572 × 0.5%) ≈ 95.2784. The exact PRICE at 5.7% is 95.2602 — close, the gap being convexity (4 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | settlement is on or after maturity, frequency is not 1, 2 or 4, or basis is outside 0–4. | Check the dates and the frequency/basis codes. |
#VALUE! | A date argument is not a valid date. | Use real date cells or DATE; dates are truncated to whole days. |
Tips
- Multiply modified duration by price and by 0.0001 to get the value of a basis point (PV01/DV01) per 100 face value.
- Enter dates with DATE or as date cells, not as text such as "12/02/2026", which different regional settings read differently.
Google Sheets
MDURATION also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
MDURATION in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | MVARIGHED |
| Dutch | AANG.DUUR |
| Finnish | KESTO.MUUNN |
| French | DUREE.MODIFIEE |
| Hungarian | MKAMATÉRZ |
| Italian | DURATA.M |
| Norwegian (Bokmål) | MVARIGHET |
| Polish | ROCZ.PRZYCH.M |
| Portuguese (Brazil) | MDURAÇÃO |
| Portuguese (Portugal) | MDURAÇÃO |
| Russian | МДЛИТ |
| Spanish | DURACION.MODIF |
| Swedish | MLÖPTID |
| Turkish | MSÜRE |