Macaulay Duration Calculator

Enter face value, coupon rate, YTM, and periods to get Macaulay duration, modified duration, and a full cash-flow weight breakdown.

Bond Parameters

= 3 years (semi-annual)

Enter bond parameters and click Calculate

Summary

Enter face value, coupon rate, YTM, and periods to get Macaulay duration, modified duration, and a full cash-flow weight breakdown.

How it works

  1. Enter the bond's face value, annual coupon rate, and yield to maturity (YTM).
  2. Choose the coupon frequency (annual or semi-annual) and the total number of coupon periods.
  3. Each period's cash flow is discounted to present value using the periodic yield.
  4. Each PV is multiplied by its period number, then summed and divided by the bond price to get Macaulay duration.
  5. Modified duration is Macaulay duration divided by (1 + periodic YTM).
  6. The cash-flow table shows each period's payment, PV, weight, and contribution to duration.

Use cases

  • Measuring interest rate risk of a bond before adding it to a portfolio.
  • Immunizing a fixed-income portfolio by matching Macaulay duration to an investment horizon.
  • Comparing two bonds with the same maturity but different coupons to find the lower-risk one.
  • Teaching bond pricing concepts by visualizing how each cash flow contributes to duration.
  • Computing the starting point for modified duration and DV01 estimates.

Frequently Asked Questions

Last updated: 2026-07-23 · Reviewed by Nham Vu