The duration of a bond measures the average time to receive its cash flows and its sensitivity to interest rates. The Macaulay duration calculator prices a coupon bond and gives the Macaulay duration, the modified duration, the DV01 and the estimated price change when the yield moves.
How the calculation works
- Enter the face value, the annual coupon rate, the yield to maturity, the years to maturity and the number of coupon payments per year.
- The calculator prices the bond as the present value of its coupons and of the face value, at the yield to maturity.
- It then computes the Macaulay duration, which is the weighted average time of the cash flows, with the closed-form formula.
- It gives the modified duration = Macaulay duration / (1 + yield per period), the DV01 and the estimated price change for a 1 point rise in yield.
Example
A bond of $1,000 pays a 5 % coupon twice a year, matures in 10 years and yields 6 %. Its price is $925.61. The Macaulay duration is 7.89 years: on average the money is received after about 7.9 years. The modified duration is 7.89 / 1.03 = 7.67, so a 1 point rise in the yield lowers the price by about 7.67 %. The DV01 is $0.71 for a 0.01 % move.
Why it matters
The calculator helps investors, finance students, treasurers and bond fund analysts to compare the interest rate risk of bonds, to match assets and liabilities and to estimate the effect of a rate move on a portfolio. The closed-form formula means that no cash flow table is needed.
Good to know
The calculator assumes a bond bought on a coupon date, with a flat yield, a fixed coupon and no option to call the bond early. Accrued interest, day count conventions, callable and floating-rate bonds need a different method. The estimate of the price change is a first-order approximation and gets worse for large moves in the yield.
Related tools
The bond calculator prices and compares bonds, the bond convexity calculator adds the second-order correction, the implied forward rate calculator links spot rates over different periods, and the net present value calculator discounts any series of cash flows.