Skip to content
Omnikalc

Macaulay and modified duration calculator for a coupon bond, with price and DV01

Enter the face value, the coupon rate, the yield, the maturity and the payment frequency to get the Macaulay duration, the modified duration, the price and the DV01 of a bond.

Updated on
Your inputs
$

Value out of range

%

Value out of range

%

Value out of range

Value out of range

Results

Macaulay duration

7.89 years

Medium duration
Modified duration
7.67 years
Bond price
$925.61
DV01 (price change for 0.01 % of yield)
$0.71
Estimated price change if the yield rises by 1 point
-7.67 %

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.

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.

Frequently asked questions

What is the Macaulay duration?

The Macaulay duration is the weighted average time at which a bond pays its cash flows, where each weight is the share of the present value of the bond that comes from that payment. It is measured in years. For a bond that pays no coupon, it equals the time to maturity, and for a coupon bond it is always shorter than the maturity.

What is the difference between the Macaulay and the modified duration?

The modified duration is the Macaulay duration divided by one plus the yield per period. It measures the sensitivity of the price to the yield: the price changes by about minus the modified duration, in percent, for a one point change in the yield. The Macaulay duration is a time, and the modified duration is a sensitivity.

What does DV01 mean?

DV01 is the dollar value of one basis point. It is the change in the price of the bond for a change of 0.01 % in the yield, and equals the price times the modified duration times 0.0001. Traders use it to compare the risk of bonds of different sizes and to hedge a portfolio.

Why is the duration only an approximation of the price change?

The price and the yield do not have a linear relation. The duration gives the slope at the current yield, which is a good guide for small moves, and the convexity corrects it for larger ones. For a change of one point or more in the yield, add the convexity term to improve the estimate.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.