Duration Calculator
Last updated: 27 June 2026
Reviewed by Gavin Meiring, Lead research and primary author · Doctoral Candidate (Corporate Governance) · Research and drafting assisted by AI
- Macaulay duration was invented by economist Frederick Macaulay in 1938, in a National Bureau of Economic Research study of US interest rates — it's a weighted average of how long you wait for each bond payment.
- Duration is measured in years and doubles as a risk gauge: a bond with a duration of 7 will drop roughly 7% in price if yields rise by 1 percentage point.
- Macaulay devised duration during the Depression era to compare bonds that were otherwise hard to compare — and it later became the foundation of modern bond portfolio management.
Duration Calculator
A bond duration calculator measures how sensitive a bond's price is to changes in interest rates, expressed in years. It is used by fixed-income investors, portfolio managers, and finance students who need to understand and manage interest rate risk in bond portfolios.
How to Use the Duration Calculator
- Enter the bond's face value (par value), typically £1,000.
- Input the annual coupon rate as a percentage.
- Set the bond's years to maturity.
- Enter the bond's current yield to maturity (YTM).
- The calculator returns Macaulay Duration in years and Modified Duration as a percentage price sensitivity measure.
The Formula
Macaulay Duration is the weighted average time to receive the bond's cash flows.
Macaulay Duration = Sum of (t multiplied by PV of Cash Flow at time t) divided by Total Bond Price
Where:
- t is the time period in years when each cash flow is received
- PV of Cash Flow at time t = Cash Flow divided by (1 + YTM)^t
- Total Bond Price is the sum of all discounted cash flows
Modified Duration converts Macaulay Duration into a direct price sensitivity measure:
Modified Duration = Macaulay Duration divided by (1 + YTM)
The approximate price change formula is: Percentage Price Change = negative Modified Duration multiplied by Change in Yield.
Real-World Example
A bond has a face value of £1,000, a 5% annual coupon, 5 years to maturity, and a YTM of 6%.
Annual coupon payment = £50. The bond price is the sum of discounted cash flows: Year 1: £50 / 1.06 = £47.17, Year 2: £50 / 1.06^2 = £44.50, Year 3: £50 / 1.06^3 = £41.98, Year 4: £50 / 1.06^4 = £39.60, Year 5: £1,050 / 1.06^5 = £784.62. Bond Price = £957.87.
Macaulay Duration = (1 x 47.17 + 2 x 44.50 + 3 x 41.98 + 4 x 39.60 + 5 x 784.62) divided by 957.87 = (47.17 + 89.00 + 125.94 + 158.40 + 3,923.10) divided by 957.87 = 4,343.61 divided by 957.87 = 4.535 years
Modified Duration = 4.535 divided by 1.06 = 4.278
If interest rates rise by 1%, the bond price falls by approximately 4.278%, or about £41.02.
Macaulay vs Modified vs Effective Duration
Macaulay Duration gives the average time in years to receive a bond's cash flows and is useful for immunisation strategies, where you match the duration of assets to liabilities. Modified Duration converts this into a direct sensitivity measure and is more practical for estimating price changes from yield movements. Effective Duration accounts for embedded options like call provisions, which can change a bond's cash flows if rates move significantly. For plain vanilla bonds without options, Modified Duration is sufficient. For callable bonds, mortgage-backed securities, or other bonds with optionality, Effective Duration is the appropriate measure because it captures how the option changes the bond's interest rate sensitivity.
Frequently Asked Questions
Why do longer-maturity bonds have higher duration? Longer-maturity bonds deliver cash flows further into the future. Distant cash flows are more heavily discounted, making their present value more sensitive to yield changes. A 30-year bond's cash flows are far more affected by a 1% rate change than a 2-year bond's cash flows.
How is duration used in portfolio management? Portfolio managers adjust duration to express views on interest rates. If rates are expected to fall, increasing duration enhances returns because bond prices rise when yields fall. If rates are expected to rise, reducing duration limits losses. Duration matching (immunisation) sets portfolio duration equal to investment horizon, protecting against rate movements.
What is convexity and how does it relate to duration? Duration assumes a linear relationship between yield changes and price changes. Convexity captures the curvature of this relationship. For large yield changes, adding a convexity adjustment to the duration estimate gives a more accurate price change forecast. Higher convexity is generally beneficial for investors.
What is the duration of a zero-coupon bond? A zero-coupon bond pays no coupons, so all cash flow arrives at maturity. Its Macaulay Duration equals its years to maturity exactly. This makes zero-coupon bonds the purest instrument for duration matching.
Understanding the Duration Calculator
The Duration Calculator is one of the most-requested tools in the duration category because it condenses a calculation that would otherwise require manual work, a spreadsheet, or a specialist program into a single input-and-output step. whether you are a student, a professional, or a curious learner, the Duration Calculator is designed to deliver a quick and trustworthy answer without forcing you to install anything or sign up for an account. Behind the scenes, the Duration Calculator applies well-established mathematical or scientific formulas to the values you provide. the aim of Duration Calculator is to remove the friction of hand calculation while still showing you the underlying method, so you can confidently interpret the result. Every calculation is performed locally in your browser, which means your inputs never leave your device.
When Should You Use the Duration Calculator?
Use the Duration Calculator whenever you need a quick, reliable answer that fits the tool's scope. Common situations for the Duration Calculator include homework problems, workplace tasks, financial planning, fitness or health tracking, and everyday curiosity. If the Duration Calculator answer will be used for a decision that has legal, medical, or financial consequences, treat the result as a starting point and verify it with a qualified professional. The Duration Calculator is free to use, requires no sign-up, and works on any device with a modern browser. You can run the Duration Calculator as many times as you like, change the inputs, and compare results side by side.
Common Inputs and How to Choose Them
Most Duration Calculator problems revolve around a small set of inputs.
- the bond's face value (par value), typically £1,000 is usually the first value to pin down for the Duration Calculator.
- the annual coupon rate as a percentage sets the context the Duration Calculator needs for a sensible result.
- the bond's years to maturity refines the Duration Calculator output where the data is available. Identifying the right values is the most important step for the Duration Calculator, because the answer is only as accurate as the data you put in. If a value is unknown, prefer a conservative estimate over a guess when using the Duration Calculator.
How to Interpret the Result
The numerical answer from the Duration Calculator alone is rarely the whole story. Read the units, the precision, and any warnings shown alongside the Duration Calculator result. Understanding the path from inputs to output in the Duration Calculator makes it easier to spot errors, communicate the result to others, and reuse the method for related problems in the future.
Worked Examples
A typical Duration Calculator run takes reasonable inputs, produces a sensible answer, and returns it in a single click. Example: A bond has a face value of £1,000, a 5% annual coupon, 5 years to maturity, and a YTM of 6%. Annual coupon payment = £50. The bond price is the sum of discounted cash flows: Year 1: £50 / 1.06 = £47.17, Year 2: £50 / 1.06^2 = £44.50, Year 3: £50 / 1.06^3 = £41.98, Year 4: £50 / 1.06^4 = £39.60, Year 5: £1,050 / 1.06^5 = £784.62. Bond Price = £957.87. Macaulay Duration = (1 x 47.17 + 2 x 44.50 + 3
Common Mistakes to Avoid
Common mistakes with the Duration Calculator:
- Mixing up units (for example, entering one unit when the Duration Calculator expects another).
- Forgetting to convert percentages to decimals or vice versa where the Duration Calculator formula requires it.
- Using a snapshot value that no longer reflects reality for the Duration Calculator, especially for time-sensitive inputs like prices, rates, or counts.
- Rounding intermediate steps too early and then carrying the rounded value forward in the Duration Calculator.
- Treating the Duration Calculator as a substitute for professional advice when the decision is high-stakes.
Limitations and Assumptions
No calculator is a perfect model of reality, and the Duration Calculator is no exception. The Duration Calculator makes simplifying assumptions to keep the math tractable: it ignores rare cases, applies default values where inputs are missing, and uses formulas that suit the typical situation rather than the exotic one. When your situation falls outside the typical case, the Duration Calculator result may drift further from the truth. If you need a more precise answer than the Duration Calculator provides, the next step is usually a specialist, a more detailed reference, or a domain-specific tool.
Related Tools and References
For more depth on the Duration Calculator topic, consult textbooks, academic papers, or reputable online resources. Reputable sources for the Duration Calculator include government statistics agencies, university extension services, and peer-reviewed journals. Wikipedia is a useful starting point for definitions and formulas behind the Duration Calculator, but always follow the citations to the original source before relying on a number. If you find that you need the same Duration Calculator calculation repeatedly, consider writing down the inputs and the result in a note so you can build a personal record over time.
Quick Reference
- Free to use: yes, no sign-up required.
- Privacy: all calculations run locally in your browser.
- Units: metric and imperial supported where applicable; check the input labels.
- Speed: instant, no page reload.
- Mobile friendly: yes, works on phones and tablets.
- Offline: once the page has loaded, the calculation continues to work without a network connection.
References - General-purpose math references such as Wolfram MathWorld and Khan Academy for foundational formulas.
- Wikipedia articles on the relevant topic, with citations to primary sources, cover the Duration Calculator background.
- Peer-reviewed journals and textbooks give the most rigorous treatments of the Duration Calculator method.Tools/tools/calculator) - Percentage Calculator - Unit Converter
Also try these free tools: