Home › Calculators › Bond Duration Calculator

Bond Duration Calculator

Measure a bond's interest-rate risk. Enter the coupon, maturity and yield (or price) to get Macaulay duration, modified duration, DV01 and convexity, then see how much the price would move if yields rise or fall.

Last updated:

I know the bond's
Bond
$
%
%
$
years
Rate change scenario
bp

100 bp = 1 percentage point. Negative for a fall.

$
Enter your values to see the result.
Advertisement
Advertisement

How to use the Bond Duration Calculator

  1. Choose whether you know the yield or the price of the bond.
  2. Enter face value, coupon rate, years to maturity and coupon frequency, plus the yield or price.
  3. Enter a yield change in basis points and optionally your position size.
  4. Press Calculate duration to see Macaulay and modified duration, DV01, convexity and the price change.
  5. Review the scenario and cash flow tables to see where the duration comes from.

Duration formulas

  • Macaulay duration = Σ t × PV(CFt) ÷ Price, with t in years
  • Modified duration = Macaulay ÷ (1 + y ÷ m), where y is the annual yield and m the coupons per year
  • DV01 = Modified duration × Price × 0.0001
  • Convexity = Σ k(k + 1) × PV(CFk) ÷ [Price × (1 + y ÷ m)2 × m2], with k the period number
  • Price change ≈ −Modified × Δy × Price + ½ × Convexity × Δy2 × Price

Example: a 1,000 bond with a 5% semi-annual coupon, 10 years to maturity and a 6% yield is priced at 925.61. Its Macaulay duration is 7.89 years, modified duration 7.67 and DV01 about 0.71. If yields rise 1 point to 7%, duration alone predicts a fall of 70.95; adding convexity gives 67.63, close to the exact fall of 67.74 (new price 857.88).

Modified duration of bonds at a 5% yield (semi-annual)

Maturity0% coupon3% coupon5% coupon7% coupon
2 years1.951.911.881.86
5 years4.884.554.384.23
10 years9.768.367.797.38
20 years19.5113.9412.5511.72
30 years29.2717.2715.4514.49

Duration grows with maturity but more slowly for high-coupon bonds, because more of their value arrives early as coupons.

Using duration in practice

  • Match duration to your time horizon. If you need the money in about 5 years, a portfolio with a 5-year duration is roughly protected against rate changes because price losses and higher reinvestment income offset.
  • Add up DV01s. Position DV01s are additive, so you can sum them to see the total gain or loss per basis point across a portfolio.
  • Duration changes over time. As a bond ages and as yields move, its duration changes. Recalculate it rather than relying on an old figure.

Frequently asked questions

What is Macaulay duration?

Macaulay duration is the weighted average time until a bond's cash flows are received, where each payment's weight is its present value as a share of the bond price. A 10-year bond with a 5% semi-annual coupon priced at a 6% yield has a Macaulay duration of about 7.89 years.

What is modified duration and how is it different?

Modified duration = Macaulay duration ÷ (1 + periodic yield). It measures price sensitivity: the approximate percentage change in price for a 1 percentage point change in yield. A modified duration of 7.67 means the price falls roughly 7.67% if yields rise by 1%.

What is DV01?

DV01 (dollar value of an 01, also called PVBP) is the change in a bond's price for a 1 basis point (0.01%) change in yield. It equals modified duration × price × 0.0001. Traders use it to size and hedge positions.

Why do I need convexity?

Duration assumes price changes in a straight line, but the true price-yield curve bends. For large yield moves the duration estimate overstates losses and understates gains. Adding ½ × convexity × (Δy)² × price corrects most of that error.

What is the duration of a zero-coupon bond?

A zero-coupon bond has only one cash flow, at maturity, so its Macaulay duration equals its time to maturity. Its modified duration is that time divided by (1 + periodic yield).

What makes a bond's duration longer?

Longer maturity, a lower coupon and a lower yield all increase duration. Low-coupon bonds have more of their value in the final repayment, which is far away, so they are more sensitive to interest rates than high-coupon bonds of the same maturity.

Does this calculator handle callable bonds?

No. It computes duration for an option-free bond held to maturity. Callable and mortgage-backed bonds need effective duration, which reprices the bond with an option model when yields shift.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Zero Coupon Bond CalculatorPrice, yield, face value or term of a zero coupon bond with any compounding.Yield to Call CalculatorYield to call of a callable bond, compared with yield to maturity and yield to worst.Day Count Convention CalculatorDay count and year fraction for 30/360, 30E/360, Actual/360, Actual/365 and Actual/Actual.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Effective Annual Rate CalculatorConvert a nominal rate to the effective annual rate (EAR / APY) for any compounding, or back.Pip Value CalculatorForex pip value per lot and for any number of pips, in your account currency.HSA CalculatorEstimate HSA tax savings and project your health savings account balance over time.Lump Sum vs Payments CalculatorCompare a lump sum with periodic payments: present value, best option and break-even rate.Millionaire CalculatorSee when your savings will reach $1 million or any goal, with inflation adjustment.Opportunity Cost CalculatorCompare buying now with investing the money: see the future value you give up.Portfolio Rebalancing CalculatorBuy and sell amounts to bring each holding back to its target allocation.PPF CalculatorPPF maturity amount and interest for 15 years or with 5-year extensions, year by year.Recurring Deposit CalculatorRD maturity value and interest with quarterly compounding and a monthly breakdown.Real Rate of Return CalculatorInflation-adjusted and after-tax real return using the Fisher equation.Risk Reward Ratio CalculatorRisk, reward, R:R ratio and break-even win rate from entry, stop loss and take profit.Sharpe Ratio CalculatorSharpe and Sortino ratios from a return and volatility, or from a list of returns.Employee Stock Option CalculatorVested options, exercise cost, intrinsic value and potential gain from your grant.Stock Split CalculatorNew share count, price and cost basis after a forward or reverse stock split.SWP CalculatorSystematic withdrawal plan: yearly balance, total withdrawn and when the corpus runs out.Traditional vs Roth IRA CalculatorCompare the after-tax value of a Traditional and a Roth IRA and see which wins and by how much.Treasury Bill CalculatorT-bill price, discount rate, investment rate (bond equivalent yield) and interest earned.XIRR CalculatorAnnualized return (XIRR) for investments and withdrawals on irregular dates.Crypto ConverterConvert Bitcoin, Ethereum and top coins to USD, EUR and each other with live prices.Dividend Yield CalculatorFind a stock's dividend yield, yield on cost and the income your shares pay each year.Financial Calculator (TVM)BA II Plus-style TVM solver: find N, I/Y, PV, PMT or FV, with BGN/END and amortization.Traditional IRA CalculatorProject a traditional IRA to retirement and compare its after-tax value with a taxable account.Roth Conversion CalculatorShould you convert a traditional IRA to Roth? Compare after-tax values and find the break-even.S&P 500 Return CalculatorHistorical S&P 500 return between any two years, with dividends, inflation and CAGR.AGI CalculatorCalculate adjusted gross income from income sources and adjustments, plus MAGI for Roth and ACA.Asset Allocation CalculatorSuggested stock, bond and cash mix by age, risk tolerance and time horizon, with dollar amounts.CD Ladder CalculatorBuild a CD ladder: maturity schedule, blended yield and interest earned by year.Convertible Note & SAFE CalculatorSAFE and convertible note conversion: cap, discount and interest to shares and ownership %.Cost of Raising a Child CalculatorYearly and total cost of raising a child to 18 by category, income level and inflation.Crypto Mining CalculatorMining profit per day and month from hashrate, power, electricity cost, pool fee and difficulty.Crypto Staking CalculatorEstimate staking rewards in coins and dollars from APR or APY, compounding, validator fee and price.
See all 127 Investing & Retirement Calculators →