Bond Duration Calculator
Work out a bond's Macaulay and modified duration, its convexity and dollar duration, and see how much its price would move if yields rose or fell by 1% or more.
Currency only changes how amounts are displayed. No amounts are converted.
Inputs
Default values are examples. Replace them with your own figures.
Results
Your Macaulay duration
0
Duration against years to maturity
Price at different yields to maturity
Price and Duration at Different Yields
How the bond reprices and how its duration shortens as yields rise.
| Yield to maturity | Price | Price change | Modified duration | Convexity |
|---|
Duration by Years to Maturity
The same coupon and yield with a longer or shorter time to maturity.
| Years to maturity | Price | Macaulay duration | Modified duration |
|---|
Price Change Estimates for Yield Shifts
Duration alone versus duration plus convexity, against the actual repriced bond.
| Yield shift | New price | Actual change | Duration estimate | Duration + convexity |
|---|
Quotelyo Calculators
Explore more free calculators
Loans, savings, investing, retirement, real estate and business calculators. Free to use, no signup required.
No calculators match that search. Try a different word or category.
What Is a Bond Duration Calculator?
A Bond Duration Calculator is a financial tool that estimates how sensitive a bond's price is to changes in interest rates. It can calculate Macaulay duration, modified duration, and other duration measures to help investors evaluate interest rate risk and understand how market yield movements may affect the value of their fixed-income investments.
Bond duration is different from the bond's maturity date. Maturity tells you when the principal is scheduled to be repaid, while duration considers the timing and present value of the bond's expected cash flows, including coupon payments and principal repayment.
Use a Bond Duration Calculator to compare bonds, estimate price sensitivity, assess portfolio interest rate exposure, and understand how coupon rates, market yields, and time to maturity influence fixed-income investments.
How Does a Bond Duration Calculator Work?
A Bond Duration Calculator uses the bond's cash flows and the yield used to discount those cash flows to estimate duration. Depending on its features, it may require the face value, annual coupon rate, yield to maturity, maturity period, and payment frequency.
Face Value and Coupon Rate
Enter the bond's face value and stated annual coupon rate. These determine the scheduled interest payments and the principal repayment expected at maturity under the bond's terms.
Yield to Maturity
Enter the market yield used to discount future cash flows. The yield affects the present value assigned to each coupon payment and the principal repayment.
Time to Maturity
Specify how long remains until the bond's principal is due. Longer maturity often increases duration, although coupon rates, yields, and cash flow structure also influence the result.
Coupon Payment Frequency
Select annual, semiannual, quarterly, or another supported payment frequency. The frequency affects cash flow timing and the conversion between annual yield and the yield per payment period.
Using these details, the calculator estimates the weighted average timing of a bond's cash flows and, where supported, its sensitivity to a change in yield. The result helps investors compare interest rate risk, but it does not guarantee a particular bond price or investment return.
Check the calculator's yield convention
Bond pricing conventions differ. Make sure the assumed yield compounding method, coupon frequency, and duration units are consistent. Results can differ if a calculator uses annual compounding while another uses a nominal annual yield compounded semiannually.
Bond Duration Formula
The Macaulay duration formula calculates the weighted average time at which a bond's expected cash flows are received. Each payment time is weighted by the present value of that payment relative to the bond's total price.
In this formula:
- D: Macaulay duration, generally expressed in years.
- t: Time until each cash flow is received.
- CFt: Coupon or principal cash flow received at time t.
- PV(CFt): Present value of the cash flow discounted using the relevant yield convention.
- Bond Price: Sum of the present values of all expected cash flows under the pricing assumptions.
For a standard fixed-rate bond with periodic coupon payments, each coupon and the final principal payment are discounted at the yield per payment period, subject to the bond's market conventions.
Modified Duration Formula
Modified duration estimates the percentage sensitivity of a conventional bond's price to a change in yield. For a standard bond using a nominal annual yield compounded m times per year, it is commonly calculated from Macaulay duration as follows.
Here, y represents the nominal annual yield expressed as a decimal, and m is the number of compounding or coupon periods per year under the assumed convention. The duration and yield convention must be consistent for this formula to apply.
Macaulay duration and modified duration are different
Macaulay duration measures the present-value-weighted timing of cash flows. Modified duration estimates first-order price sensitivity to changes in yield. They are related but should not be treated as interchangeable metrics.
Bond Duration Calculator Example
Consider a conventional three-year bond with a face value of $1,000, an annual coupon rate of 5%, and a yield to maturity of 4%. Assume the bond pays its coupon once per year and has no embedded options.
Step 1: Calculate the Bond Price
The bond pays $50 after year one, $50 after year two, and $1,050 after year three, including the final coupon and repayment of face value.
Estimated bond price: $1,027.75. The bond trades above face value because its 5% coupon rate is higher than the assumed 4% market yield.
Step 2: Calculate Macaulay Duration
Multiply the present value of each payment by the time at which it is received, add those weighted cash flows, and divide by the bond price.
Macaulay duration: approximately 2.8615 years. The present-value-weighted average time to receive the bond's cash flows is approximately 2.86 years.
Step 3: Calculate Modified Duration
Step 4: Estimate Price Sensitivity
If the bond's yield rises by one percentage point, from 4% to 5%, modified duration estimates the approximate percentage price change using the following relationship.
Estimated price change: approximately −$28.28. This first-order duration estimate suggests the bond price could fall by about 2.75%. Actual repricing at a 5% annual yield produces a price of $1,000, or a decline of approximately $27.75 in this example. The difference occurs because duration alone does not fully account for convexity.
How to Interpret Bond Duration
Bond duration helps investors compare the sensitivity of fixed-income investments to changes in market yields. A bond with greater modified duration generally experiences a larger percentage price change for the same small change in yield, assuming comparable conventions and no material effects from embedded options.
| Duration Measure | What It Indicates | How to Use It |
|---|---|---|
| Higher Modified Duration | Greater estimated percentage price sensitivity to a small yield change. | Assess exposure to interest rate movements. |
| Lower Modified Duration | Lower estimated first-order percentage price sensitivity to a small yield change. | Compare interest rate exposure among bonds. |
| Macaulay Duration | Present-value-weighted average time until cash flows are received. | Analyze the timing characteristics of a bond's cash flows. |
| Effective Duration | Estimated price sensitivity to yield curve changes, calculated by repricing under small yield shifts. | Analyze bonds with embedded options or cash flows that may change. |
Duration is not a guaranteed forecast of the exact price change. It provides an approximation based on specified assumptions, and the result can become less accurate for larger yield movements or bonds whose cash flows may change when interest rates move.
Duration measures price risk, not total investment risk
Duration does not fully capture credit risk, default risk, liquidity risk, reinvestment risk, or all the effects of changing cash flows. Consider these factors alongside duration when evaluating a bond investment.
Factors That Affect Bond Duration
Bond duration depends on the timing and present value of expected cash flows. Coupon rates, yields, maturity, and embedded options can all affect the result.
Time to Maturity
Longer-maturity bonds generally have greater duration when other key characteristics are comparable, because more of their cash flow value is received further into the future.
Coupon Rate
Higher coupon payments return more cash earlier, which generally lowers duration relative to an otherwise comparable bond with a lower coupon rate.
Yield to Maturity
Changes in yield affect the present value weights assigned to future cash flows. For a conventional fixed-rate bond, higher yields generally reduce duration when other inputs remain unchanged.
Payment Frequency
Semiannual and quarterly coupon payments produce different cash flow timing from annual payments. The calculation must use the appropriate frequency and yield convention.
Embedded Options
Callable bonds, putable bonds, and mortgage-backed securities can have cash flows that change with interest rates. Effective duration may be more appropriate than a simple fixed-cash-flow duration measure.
Principal and Cash Flow Structure
Zero-coupon bonds, amortizing bonds, and bonds that repay principal in stages have different cash flow schedules, which influence their duration.
Types of Bond Duration
Different duration measures answer different fixed-income questions. Choosing the right measure depends on whether you want to assess cash flow timing, approximate price sensitivity, or account for securities whose cash flows may change.
Macaulay Duration
Macaulay duration calculates the present-value-weighted average time required to receive the bond's cash flows. It is generally expressed in years and is useful for comparing cash flow timing.
Modified Duration
Modified duration estimates the first-order percentage price change associated with a small change in yield for a conventional bond with fixed cash flows. It is commonly used to assess interest rate price sensitivity.
Effective Duration
Effective duration estimates price sensitivity by repricing a bond after applying upward and downward yield shifts. It can be more suitable for bonds with embedded options or cash flows that depend on interest rates.
Key Rate Duration
Key rate duration measures sensitivity to changes at particular maturities on the yield curve. It can help analyze exposure to nonparallel yield curve movements rather than assuming all yields change equally.
Select the measure that fits the bond
For a conventional option-free fixed-rate bond, Macaulay and modified duration are commonly used. For mortgage-backed securities and bonds with calls or other embedded options, cash flows may change as rates move, so option-aware measures may provide more meaningful estimates.
Bond Duration vs. Bond Maturity
Bond duration and bond maturity are related but distinct concepts. Maturity is the scheduled date on which the bond's principal is due, while Macaulay duration summarizes the weighted timing of its expected cash flows.
| Feature | Bond Duration | Bond Maturity |
|---|---|---|
| Meaning | A measure of cash flow timing or interest rate price sensitivity, depending on the duration type. | The scheduled time until the bond's principal is due. |
| Primary use | Assess interest rate exposure and compare bond sensitivity. | Determine the contractual repayment horizon. |
| Effect of coupon payments | Coupon timing and amounts influence duration. | Coupon size does not normally change the contractual maturity date. |
| Typical relationship | Often shorter than maturity for a coupon-paying bond. | May be longer than Macaulay duration for a coupon-paying bond. |
| Zero-coupon bond | Macaulay duration equals maturity under standard assumptions. | Principal is paid at the end of the bond's term. |
A coupon-paying bond returns some cash before maturity, which typically makes its Macaulay duration shorter than its final repayment horizon. A zero-coupon bond makes no interim coupon payments, so its Macaulay duration equals its maturity under conventional assumptions.
How Duration Estimates Bond Price Changes
For a conventional fixed-rate bond, modified duration can approximate the percentage change in market price resulting from a small change in yield. Bond prices generally move in the opposite direction to yields when other factors remain unchanged.
For an approximate dollar price change, multiply the percentage change estimate by the current bond price.
Yield changes must be entered as decimals in these formulas. For example, a rise from 4% to 4.5% is a 0.5 percentage-point increase, represented by 0.005.
Interpretation: Under this simplified estimate, the bond's price would fall by approximately $20, or 2%, following a 0.5 percentage-point increase in yield. The actual price change may differ because duration is a first-order approximation and does not fully capture convexity.
What Is Bond Convexity?
Bond convexity describes how the relationship between a bond's price and yield curves rather than following a perfectly straight line. While modified duration estimates the initial or first-order sensitivity to yield changes, convexity helps account for changes in that sensitivity as yields move.
This approximation combines modified duration and convexity to estimate the percentage price change for a yield movement. The exact convexity definition and units depend on the bond's compounding and pricing conventions.
Duration Component
The duration term provides the first-order estimate. It usually captures most of the price sensitivity for sufficiently small yield changes in a conventional fixed-rate bond.
Convexity Component
The convexity term adjusts the estimate for curvature in the price-yield relationship. It can improve the approximation, particularly for larger yield changes, when the selected convexity measure is appropriate.
For many conventional option-free bonds, positive convexity means the price tends to rise more when yields fall than it falls for an equal-sized yield increase, relative to a straight-line duration estimate. Bonds with embedded options may behave differently.
How to Compare Bonds Using Duration
Duration can help you compare interest rate exposure across fixed-income investments. To make a useful comparison, consider each bond's maturity, coupon structure, yield, embedded options, credit quality, and liquidity.
Compare Similar Bonds
Compare duration among bonds with broadly similar credit quality, coupon characteristics, and market conventions to help isolate differences in interest rate sensitivity.
Match Duration to Your Horizon
Consider how the bond's duration relates to the period for which you expect to hold it and the timing of your future cash needs. Duration alone does not guarantee that you can meet a particular liability.
Evaluate Yield Curve Exposure
For portfolios with multiple bonds, maturity-specific duration measures can help reveal whether the portfolio is more exposed to changes at particular points on the yield curve.
Include Credit and Liquidity Risk
A bond with a similar duration may have very different default risk, trading liquidity, or spread sensitivity. Duration should not be used as a complete risk rating.
Duration is only one part of bond analysis
Use duration alongside yield to maturity, credit quality, call provisions, liquidity, and your investment horizon. A bond that has lower interest rate sensitivity is not necessarily the better investment if its other risks or expected returns are less suitable.
Benefits of Using a Bond Duration Calculator
A Bond Duration Calculator helps transform bond cash flow information into measures of timing and interest rate sensitivity. These measures can support fixed-income research, portfolio analysis, and investment planning.
Measure Interest Rate Risk
Estimate how sensitive a conventional bond's price may be to small changes in market yield.
Compare Bond Investments
Assess duration across bonds with different coupon rates, maturities, and yields.
Support Portfolio Planning
Understand how duration contributes to the overall interest rate exposure of a fixed-income portfolio.
Evaluate Yield Scenarios
Model approximate price sensitivity under alternative market yield assumptions.
Understand Cash Flow Timing
Use Macaulay duration to examine the present-value-weighted timing of expected bond payments.
Identify Risk Concentration
Help identify bonds with greater duration exposure so you can examine whether that exposure fits your objectives.
Common Bond Duration Calculation Mistakes
Bond duration calculations rely on consistent cash flow, pricing, and yield assumptions. Avoid these common mistakes to improve the usefulness of your results.
Confusing Duration With Maturity
Maturity is the final principal repayment date, while Macaulay duration reflects the weighted timing of all expected cash flows. They are not generally identical for coupon-paying bonds.
Mixing Annual and Periodic Rates
Using an annual yield with semiannual cash flows without converting to the appropriate periodic rate can produce an incorrect price or duration.
Ignoring Coupon Frequency
Coupon timing influences present values and cash flow weighting. Make sure the calculator's payment frequency matches the bond's terms.
Misreading Modified Duration
Modified duration estimates percentage price sensitivity, not the number of years until an investor gets their money back. Macaulay duration measures weighted cash flow timing.
Overlooking Convexity
Duration alone is a first-order approximation. Larger yield movements can require a convexity adjustment or a full bond repricing calculation for greater accuracy.
Ignoring Embedded Options
Callable bonds and other securities with rate-sensitive cash flows may require effective duration or other option-aware risk measures instead of a simple fixed-cash-flow calculation.
Limitations of Bond Duration
Bond duration is an important fixed-income measure, but it does not capture every source of investment risk. It should be interpreted alongside the bond's other characteristics and the assumptions used in the calculation.
Approximate Price Sensitivity
Modified duration estimates a first-order price change and becomes less accurate for larger yield movements unless the analysis incorporates an appropriate convexity adjustment.
Credit Risk Is Separate
Duration does not directly measure the possibility of missed payments, default, or a deterioration in the issuer's credit quality.
Liquidity Risk Is Not Captured
A bond may be difficult to sell at its estimated market value when trading conditions are poor. Duration does not measure this potential transaction risk.
Cash Flows May Change
Embedded options or early repayment features can cause expected cash flows to change. A duration measure based on fixed cash flows may not fully reflect this risk.
Yield Curve Movements Vary
A single duration number may not capture nonparallel yield curve changes. Key rate duration or other scenario-based methods may be useful for more detailed portfolio analysis.
Reinvestment Risk Remains
Duration does not guarantee a particular realized return because future coupon reinvestment rates and market prices may differ from the assumptions used in the calculation.
Bond Duration Calculator FAQs
Find answers to common questions about bond duration, Macaulay duration, modified duration, yield changes, and fixed-income risk analysis.
What is a Bond Duration Calculator?
A Bond Duration Calculator is a financial tool that estimates how a bond's expected cash flows are weighted over time and, depending on the measure, how sensitive its price may be to changes in market yields. Common outputs include Macaulay duration and modified duration.
What is the bond duration formula?
Macaulay duration is the sum of each cash flow's time multiplied by its present value, divided by the bond's total price. Modified duration is commonly calculated by dividing Macaulay duration by one plus the yield per compounding period under the applicable convention.
What is Macaulay duration?
Macaulay duration is the present-value-weighted average time until a bond's expected cash flows are received. It generally is expressed in years and reflects the timing of both coupon payments and principal repayment.
What is modified duration?
Modified duration estimates the first-order percentage change in a conventional bond's price for a small change in yield. For example, a modified duration of 4 suggests an approximate 4% price decline for a one percentage-point increase in yield, assuming other factors remain unchanged and the approximation is suitable.
What is the difference between Macaulay and modified duration?
Macaulay duration measures the weighted timing of expected cash flows. Modified duration adjusts Macaulay duration using the yield convention to estimate percentage price sensitivity to a yield change. Both are useful, but they answer different questions.
What does a higher bond duration mean?
A higher modified duration generally means a bond's price is more sensitive to small yield changes. When market yields rise, its price will typically fall more in percentage terms than that of a comparable bond with lower modified duration, all else being equal.
Why do bond prices fall when interest rates rise?
When market yields rise, a bond's fixed future payments become less attractive relative to newly available investments. The present value of those fixed cash flows falls, resulting in a lower market price when other factors remain unchanged.
Does duration equal a bond's maturity?
Not generally. A coupon-paying bond returns some cash before its maturity date, so its Macaulay duration is typically shorter than maturity. For a conventional zero-coupon bond, Macaulay duration equals maturity because the only cash flow is the principal repayment at the end.
What is effective duration?
Effective duration estimates price sensitivity by repricing a bond under small upward and downward shifts in yield. It can be more appropriate for securities with embedded options or cash flows that may change as interest rates move.
What is bond convexity?
Bond convexity measures the curvature of the relationship between a bond's price and yield. It can improve price-change estimates by adjusting for the fact that duration-based sensitivity changes as yields move, especially for larger changes in yield.
How does the coupon rate affect duration?
For otherwise comparable conventional bonds, higher coupon payments generally reduce duration because more cash is received earlier. Lower-coupon bonds tend to have greater duration when other important characteristics remain comparable.
How does maturity affect bond duration?
Longer maturity generally increases duration for otherwise comparable conventional fixed-rate bonds because more of the cash flows occur further in the future. The exact relationship depends on the coupon rate, yield, and cash flow structure.
Can duration be used to estimate a bond's price change?
Yes. Modified duration can estimate the approximate percentage price change for a small yield movement. Multiply negative modified duration by the yield change in decimal form to obtain the first-order estimate. For larger changes, convexity or a full repricing calculation can improve accuracy.
Does bond duration measure default risk?
No. Duration primarily concerns cash flow timing or interest rate sensitivity, depending on the duration measure. Credit quality, default probability, liquidity risk, and other factors must be assessed separately when evaluating a bond.
Can two bonds with the same maturity have different durations?
Yes. Bonds with the same maturity can have different coupon rates, yields, payment frequencies, and embedded options. Those characteristics affect the timing and present value of expected cash flows and therefore can produce different durations.
Are Bond Duration Calculator results exact?
The calculated duration follows the inputs and pricing conventions used by the tool, but estimated price changes are not guaranteed. Actual market prices can change because of yield movements, credit spreads, liquidity, embedded options, and other factors. Duration-based price sensitivity is an approximation rather than a guaranteed result.
Analyze Interest Rate Risk With a Bond Duration Calculator
A Bond Duration Calculator helps you understand the timing of expected bond cash flows and estimate how sensitive a bond's price may be to market yield changes. Comparing Macaulay, modified, and effective duration can provide useful insight when assessing individual bonds or a fixed-income portfolio.
For a more complete investment analysis, use consistent pricing and yield assumptions and consider convexity, credit risk, liquidity, embedded options, and reinvestment risk alongside duration. Treat calculated price sensitivity as an estimate, not a guarantee of future market performance.
