How to compute the Macaulay Duration bond yield

Compute Macaulay Duration bond D=sum(t*PV(CF))/P weighted time cash flows. Frederick Macaulay 1938 NBER Columbia. Modified Duration MD=D/(1+y/n) percentage price change 1% yield. Convexity second-order. USA Treasury Italian BTP bond risk.

Calculation parameters
Was this calculator useful?

How to compute the Macaulay Duration: bond price sensitivity measure to interest rate changes weighted average time to receive bond cash flows. Formula: D_Macaulay = Σ(t × PV(CF_t)) / P, where t time to cash flow t-th period (years or compounding periods), PV(CF_t) = CF_t / (1+y)^t present value cash flow, P bond price = Σ PV(CF_t). For zero-coupon bond D = T maturity (single cash flow); for coupon bonds D < T (cash flows distributed).

Modified Duration MD = D_Macaulay / (1 + y/n) where n compounding periods/year, approximates percentage price change ΔP/P ≈ -MD × Δy first order.

Convexity second-order correction: ΔP/P ≈ -MD × Δy + 0.5 × C × (Δy)² where C = Σ(t(t+1) × PV(CF_t)) / (P × (1+y)² × n²). History: Frederick Robertson Macaulay (Canada-USA 1882-1970) National Bureau of Economic Research NBER Columbia University 1938 paper "Some Theoretical Problems Suggested by the Movements of Interest Rates Bond Yields and Stock Prices in the United States since 1856" introduced duration concept fixed income analysis foundation modern bond risk management.

Typical examples: 10-year coupon 5% par bond YTM 5%: Macaulay duration ≈ 7.97 years, Modified ≈ 7.78, Convexity ≈ 78; 10-year zero coupon: D = 10 years exact, MD = 9.76; 30-year coupon 4.5% par: D ≈ 17.3, MD ≈ 16.91 (high interest rate sensitivity).

Bond price changes vs yield: ΔP ≈ -MD × Δy, for 1% yield increase 10-year coupon bond loses 7.78%; 30-year loses 16.91%; rates risk magnified long durations. Essential tool for: USA Treasury bonds 10-year Treasury Note benchmark interest rate proxy; 30-year Treasury Bond long bond; 2-year Treasury Note short; TIPS Treasury Inflation-Protected Securities 1997+ inflation-linked; FRN Floating Rate Notes 2014+ variable rate. USA total debt $34 trillion 2024 ratio 122% GDP.

USA bond firms: PIMCO Pacific Investment Management Co Newport Beach CA founded 1971 Bill Gross "Bond King" $1.9 trillion AUM largest bond manager world; BlackRock NYC 1988 Larry Fink $9.4 trillion AUM globally; Vanguard Group Malvern PA 1975 John Bogle $7.5 trillion bond index funds; Fidelity Investments Boston MA 1946 $4.5 trillion.

USA Federal Reserve: Federal Reserve Board Washington DC Jerome Powell chair 2018+ monetary policy.

USA universities finance research: NYU Stern Greenwich Village Manhattan 1900 Edward Altman Z-Score 1968; Wharton Penn Philadelphia PA 1881 oldest US business school 50000 alumni; Harvard Business School Boston MA 1908; Booth Chicago IL 1898 Eugene Fama Nobel 2013 EMH; Columbia Graduate School Business NY 1916; MIT Sloan Cambridge MA 1914 Robert Merton Nobel 1997.

Macaulay Duration formula

Fundamental equation: D_Macaulay = Σ_{t=1}^{N} (t × PV(CF_t)) / P. t time to t-th cash flow period (years or compounding periods). PV(CF_t) = CF_t / (1+y)^t present value of t-th coupon discounted at YTM y. P current bond price = Σ PV(CF_t) sum present values all cash flows. For semi-annual coupon C frequency n=2 years: y = YTM annual, period yield = y/2, t periods in years × 2 = months/6.

Modified Duration MD: MD = D_Macaulay / (1 + y/n) where n annual compounding frequency (1 annual, 2 semi-annual). For typical USA Italy semi-annual coupon: MD = D_Mac / (1 + YTM/2). Approximation: ΔP/P ≈ -MD × Δy first-order Taylor expansion. For bond price change calculation: bond loses MD × percentage points per 1% yield increase. Example: 10-year coupon bond MD=7.78, yield rises 100 bps from 5% to 6%, price drops 7.78%.

Convexity: C = Σ_{t=1}^{N} (t(t+1) × PV(CF_t)) / (P × (1+y)² × n²) measure curvature price-yield relationship. Second-order Taylor expansion: ΔP/P ≈ -MD × Δy + 0.5 × C × (Δy)². Convexity always positive for standard bonds (favorable: less price loss when yields rise, more gain when yields fall). For long-maturity bonds C large, short-maturity C small. 10-year coupon 5% C ≈ 78; 30-year 4.5% C ≈ 350.

Zero-coupon vs coupon bonds duration: Zero-coupon bond duration = T maturity exact (single cash flow at maturity). Coupon bonds duration < T (intermediate cash flows reduce average time). Lower coupon higher duration (later weighting). Higher YTM lower duration (heavier discount future cash flows). Par bond (coupon = YTM) duration depends only maturity coupon. 10-year par 5% D=7.97 vs 10-year zero D=10.

Duration applications: (

  • Interest rate risk hedging: portfolio duration matching liabilities (USA pension funds Sortino-aware); (
  • Bond portfolio immunization Reddington 1952 against parallel yield shifts; (
  • Fixed income relative value: high vs low duration bonds tilt; (
  • Macaulay vs effective duration callable putable bonds option-adjusted spread OAS Black-Scholes-Merton 1973-1976 callable bond pricing

History and context

Frederick Robertson Macaulay (Canada-USA 1882-1970) Toronto McGill University Montreal economics 1903, Columbia University NY PhD 1924, National Bureau of Economic Research NBER founded 1920 Wesley Mitchell, NBER staff economist 1922-1937. 1938 magnum opus "Some Theoretical Problems Suggested by the Movements of Interest Rates Bond Yields and Stock Prices in the United States since 1856" NBER monograph 800 pages introduced duration concept fixed income analysis foundation modern bond risk management. Original concept emergent from observed bond price-yield relationship empirical data. Frank Redington (UK 1906-1984) Institute Actuaries London 1952 paper Journal Institute Actuaries 78:286 'Review of the Principles of Life-Office Valuations' immunization theory pension funds asset-liability matching duration-matching parallel yield shifts. John C. Cox Jonathan E. Ingersoll Stephen Ross 1985 paper Econometrica 53:385 stochastic interest rate models CIR Cox-Ingersoll-Ross arbitrage-free term structure. Robert C. Merton (USA 1944-) MIT Cambridge MA Nobel 1997 option pricing Black-Scholes-Merton 1973 paper Journal Political Economy 81:637 callable bond pricing OAS option-adjusted spread. Fischer Black (USA 1938-1995) MIT 1973 with Myron Scholes Stanford. USA Treasury bonds: 10-year Treasury Note benchmark interest rate proxy; 30-year Treasury Bond long bond historically; 2-year Treasury Note short;

TIPS Treasury Inflation-Protected Securities 1997+ inflation-linked principal adjusted CPI; FRN Floating Rate Notes 2014+ variable rate. USA total debt $34 trillion 2024 ratio 122% GDP debt clock NYC. USA Federal Reserve Board Washington DC Jerome Powell chair 2018+ monetary policy FOMC Federal Open Market Committee 12 members rate decisions. SEC Securities Exchange Commission Washington DC founded 1934 Wall Street oversight 4500 employees; FINRA Financial Industry Regulatory Authority NYC broker-dealers 3500 employees. USA bond firms famous: PIMCO Pacific Investment Management Co Newport Beach CA founded 1971 Bill Gross "Bond King" 1971-2014 Total Return Fund $1.9 trillion AUM largest bond manager world Janus Henderson 2014 Allianz acquisition; BlackRock NYC 1988 Larry Fink $9.4 trillion AUM globally largest world; Vanguard Group Malvern PA 1975 John Bogle Total Bond Market Index VBTLX low-cost passive $7.5 trillion AUM founder; Fidelity Investments Boston MA 1946 Edward Johnson II $4.5 trillion AUM Total Bond Fund FXNAX; State Street Boston MA 1792 oldest US bank $4 trillion SPDR ETFs; Charles Schwab San Francisco CA 1971 $7.5 trillion AUM custody. USA bond market segments: Treasury Direct individual investors; Corporate bonds investment grade AAA-BBB; High Yield BB-CCC speculative bonds; Municipal bonds tax-exempt; Mortgage Backed Securities MBS Fannie Mae Freddie Mac Ginnie Mae government agencies; Asset Backed Securities ABS auto loans credit cards student loans;

CLOs Collateralized Loan Obligations leveraged loans. USA universities fixed income research: NYU Stern Greenwich Village Manhattan 1900 Edward Altman Z-Score 1968 fixed income; Wharton Penn Philadelphia PA 1881 oldest US business school 50000 alumni; Harvard Business School Boston MA 1908 case method; Booth Chicago IL 1898 Eugene Fama Nobel 2013 EMH; Columbia Graduate School Business NY 1916 Benjamin Graham 1928-1956 father value investing; MIT Sloan Cambridge MA 1914 Robert Merton Nobel 1997 option pricing Black-Scholes-Merton; Stanford GSB Palo Alto CA 1925; Yale School Management New Haven CT 1976. Famous USA fixed income researchers: Robert Merton MIT Nobel 1997 stochastic calculus; Myron Scholes Stanford Nobel 1997; Fischer Black MIT 1995-1995 died early Black-Scholes; Eugene Fama Chicago Booth Nobel 2013 EMH; Robert Shiller Yale Nobel 2013 behavioral. Software financial bond analysis: Bloomberg Terminal NYC subscription $24000/year 325000 subscribers globally bond pricing analytics; Reuters Refinitiv Thomson; FactSet 192000 customers; Capital IQ S&P; ICE Index Platform major bond benchmarks; Morningstar Chicago IL fund ratings 1984 founded 11000 employees; SAS Statistical Analysis System Cary NC; Stata College Station TX; R deSolve Bayesian; Python pandas numpy scipy quantlib bond pricing FinancePy QuantLib QuantPy.

Duration examples table

  • 10Y coupon 5% par YTM 5%: D=7.97, MD=7.78, C=78
  • 10Y zero coupon YTM 5%: D=10.0, MD=9.76
  • 30Y coupon 4.5% par: D=17.3, MD=16.91, C=350
  • 5Y coupon 4% YTM 4%: D=4.46, MD=4.37
  • 2Y coupon 4%: D=1.93, MD=1.89
  • 1Y zero coupon: D=1.0 exact
  • Premium bond coupon>YTM: D higher than discount bond same maturity
  • Discount bond coupon<YTM: D lower than premium
  • USA Treasury 10Y 2024: yield 4.5% MD ≈ 8.2 years
  • USA Treasury 30Y 2024: yield 4.7% MD ≈ 17.5 years
  • USA TIPS 10Y: real yield 1.8% MD ≈ 8.5 years
  • USA Corporate AA 10Y: yield 5% MD ≈ 8 years
  • USA High Yield BB 5Y: yield 7% MD ≈ 4.5 years
  • Italy BTP 10Y 2024: yield 3.5% MD ≈ 8 years
  • Italy BTP 30Y 2024: yield 4% MD ≈ 17 years
  • USA total debt: $34 trillion 122% GDP
  • 1% yield rise 10Y MD=8: bond price drops 8%
  • 1% yield rise 30Y MD=17: bond price drops 17%
  • Convexity 10Y MD=8: C ≈ 78 add 0.39% per 1%
  • Convexity 30Y MD=17: C ≈ 350 add 1.75% per 1%
  • Macaulay 1938 NBER paper: 800 pages bond yields 1856
  • Redington 1952 immunization: pension fund duration matching
  • Cox-Ingersoll-Ross 1985: stochastic interest rate
  • Black-Scholes-Merton 1973: callable bond OAS
  • PIMCO Newport Beach CA: 1971 Bill Gross Bond King $1.9T AUM
  • BlackRock NYC: $9.4 trillion AUM Larry Fink
  • Vanguard Malvern PA: 1975 $7.5T John Bogle
  • Fidelity Boston MA: 1946 $4.5T Edward Johnson
  • State Street Boston: 1792 oldest US bank $4T SPDR
  • Charles Schwab SF CA: 1971 $7.5T custody

Detailed numerical examples

Example 1 - 10Y coupon 5% par bond standard. Face $1000, coupon 5% annual = $50/year = $25 semi-annual, YTM 5% par bond price = $1000, 10 years, semi-annual frequency 20 periods. Bond price calculation: P = Σ $25/(1.025)^t for t=1..20 + $1000/(1.025)^20. Mac Duration weighted average time cash flows. Result: D_Mac=7.97 years, MD=7.97/(1.025)=7.78 years, Convexity ≈ 78. For 1% yield rise: ΔP/P ≈ -7.78% first order, +0.39% convexity correction = -7.39% net. USA: 10Y Treasury Note benchmark interest rate proxy.

Example 2 - 10Y zero coupon high duration. Face $1000, no coupons, YTM 5%, 10 years. Price = $1000/(1.025)^20 = $610.27. Single cash flow at maturity. D_Mac = 10 years exact (single CF at T=10). MD = 10/(1.025) = 9.76 years. Convexity ≈ 100. Highest interest rate sensitivity per duration year. STRIPS Treasury Separately Traded Registered Interest Principal Securities USA zero-coupon stripped Treasury bonds.

Example 3 - 10Y premium bond coupon 6% > YTM 4%. Face $1000, coupon 6% = $30 semi-annual, YTM 4% = $20 semi-annual yield. Bond trades premium price > $1000 = $1163.51. D_Mac calculation weighted: D_Mac=8.07 years, MD=7.91 years. Premium bond duration slightly LOWER than par (heavier weight on coupons relative to face value). USA: corporate bond AA rated coupon 6% YTM 5% premium bond.

Example 4 - 10Y discount bond coupon 3% < YTM 5%. Face $1000, coupon 3% = $15 semi-annual, YTM 5% = $25 semi-annual yield. Bond trades discount price < $1000 = $844.66. D_Mac=8.59 years, MD=8.38 years. Discount bond duration HIGHER than par (heavier weight on face value at maturity). USA: Treasury Bills BOT short-term issued at discount, redeem face value.

Example 5 - 30Y coupon 4.5% par bond ultra-long. Face $1000, coupon 4.5% = $22.5 semi-annual, YTM 4.5% par bond, 30 years 60 semi-annual periods. D_Mac=17.30 years, MD=17.30/(1.0225)=16.91 years, Convexity ≈ 350. For 1% yield rise: ΔP/P ≈ -16.91% first order, +1.75% convexity = -15.16% net. Maximum interest rate sensitivity ultra-long duration. USA: 30Y Treasury Bond long bond historically benchmark; pension funds insurance liabilities matched 30-year duration assets immunization.

Limits and considerations

  1. Linear approximation: Modified Duration ΔP/P ≈ -MD × Δy first order, large yield changes require convexity correction second-order term.
  2. Parallel yield shift assumption: real yield curve twist steepening flattening multi-factor models needed (Vasicek 1977, CIR 1985, HJM 1992).
  3. Constant cash flows assumption: callable bonds amortizing securities option-embedded require option-adjusted spread OAS.
  4. Single yield curve: real markets credit spread vs Treasury, OAS dual curve necessary corporate bonds.
  5. Continuous compounding vs discrete: Macaulay original discrete annual semi-annual; modern continuous e^y compounding theoretical preference.
  6. Convexity not negative bonds: standard fixed income positive convexity, MBS Mortgage Backed Securities can be negative convexity prepayment risk.
  7. Duration drift over time: bond ages duration decreases naturally, periodic rebalance immunization portfolio.
  8. Numerical precision: very long duration 30Y high coupon close-to-zero divisor edge case.
  9. Real-world transaction costs ignored: bid-ask spread liquidity premium not captured pure duration.
  10. Term structure non-flat: spot rates differ for different maturities, key rate duration KRD multi-curve approach.

Common errors

  1. Confusing Macaulay vs Modified Duration: D_Mac average time, MD price sensitivity ≈ D/(1+y/n).
  2. Neglecting compounding frequency: semi-annual vs annual different yields PV calculations.
  3. Pretending D = T for coupon bonds: only zero-coupon bonds D = T exact, coupon bonds D < T.
  4. Confusing YTM vs coupon rate: YTM market-discount, coupon = face × rate cash flow.
  5. Neglecting convexity for large yield changes: linear approximation fails ±200 bps moves.
  6. JavaScript Math.pow precision: long maturity 30Y compounding 60 periods accuracy.
  7. Confusing par vs premium vs discount: coupon vs YTM relative determine bond classification.
  8. Pretending duration applicable callable bonds: option-adjusted needed Black-Scholes-Merton.
  9. Neglecting day count convention: 30/360, actual/360, actual/actual different results.
  10. Confusing price percentage vs absolute: ΔP/P % change vs ΔP $ amount different scales.

Numbered applications

  1. USA Treasury bonds: 10Y Treasury Note benchmark; 30Y long bond; 2Y short; TIPS 1997 inflation-linked principal CPI; FRN 2014 variable. $34 trillion debt 122% GDP.
  2. USA bond firms: PIMCO Newport Beach CA 1971 Bill Gross Bond King $1.9T largest world; BlackRock NYC 1988 $9.4T; Vanguard PA 1975 $7.5T John Bogle index founder; Fidelity Boston 1946 $4.5T.
  3. USA Federal Reserve: Federal Reserve Board Washington DC Jerome Powell chair 2018+ monetary policy FOMC 12 members; SEC Washington DC 1934 Wall Street oversight 4500 employees.
  4. USA universities finance research: NYU Stern Greenwich Village Manhattan 1900 Altman Z-Score 1968; Wharton Penn 1881 oldest 50000 alumni; Booth Chicago 1898 Fama Nobel 2013; MIT Sloan 1914 Merton Nobel 1997.
  5. USA bond market segments: Treasury Direct; Corporate bonds AAA-BBB IG; High Yield BB-CCC speculative; Municipal tax-exempt; MBS Fannie Mae Freddie Mac Ginnie Mae; ABS auto credit cards student; CLOs leveraged loans.
  6. Famous USA fixed income researchers: Robert Merton MIT Nobel 1997 stochastic calculus; Myron Scholes Stanford Nobel 1997; Fischer Black MIT Black-Scholes; Eugene Fama Chicago Booth Nobel 2013 EMH.
  7. USA Italian Eurizon: Italy Eurizon Capital SGR Milano 1984 fondata 480 mld AUM 2024 largest Italian asset manager Intesa Sanpaolo.
  8. Italy debt market: BTP Buoni del Tesoro Poliennali Roma MEF 2.4 trilioni EUR debito 138% PIL; BOT short-term; BTPi inflation-linked; CCT variable.
  9. Italy banks bond: UniCredit Milano; Intesa Sanpaolo Torino-Milano; BPM Milano 1865; MPS Siena 1472 oldest bank world bailout 2017.
  10. Software bond analytics: Bloomberg Terminal NYC $24000/year 325000 subscribers; FactSet 192000; Morningstar Chicago IL 1984 11000 employees; ICE Index Platform; Python quantlib pandas numpy scipy.

For support

For technical questions: info@calcoi.com. Educational fixed income duration risk tool. Applications Macaulay FR 1938 'Some Theoretical Problems Suggested by the Movements of Interest Rates Bond Yields and Stock Prices in the United States since 1856' NBER, Redington FM 1952 'Review of the Principles of Life-Office Valuations' Journal Institute Actuaries 78:286, Cox JC Ingersoll JE Ross SA 1985 'A Theory of the Term Structure of Interest Rates' Econometrica 53:385, Hull JC 2018 'Options Futures and Other Derivatives' 10th edition Pearson.

Updated July 2026

Frequently Asked Questions

What is Macaulay Duration?

Macaulay Duration weighted average time receive bond cash flows. Formula D = Σ(t × PV(CF_t)) / P. t time cash flow, PV(CF_t) present value coupon discounted YTM, P bond price. Frederick Macaulay (Canada-USA 1882-1970) NBER Columbia 1938 paper introduced duration concept fixed income analysis. For zero-coupon bond D = T maturity exact (single CF); for coupon bonds D < T (cash flows distributed). Lower coupon higher duration; higher YTM lower duration. Foundation modern bond risk management portfolio immunization.

What is Macaulay vs Modified Duration?

Macaulay D weighted average time, Modified Duration MD = D / (1 + y/n) approximates percentage price change ΔP/P ≈ -MD × Δy first order Taylor. For semi-annual coupon n=2: MD = D / (1 + YTM/2). Example 10Y coupon 5% par: D_Mac=7.97, MD=7.78. For 1% yield rise bond price drops ~7.78%. Modified Duration interpretation practical: bond loses MD percentage points per 100 bps yield increase. Foundation interest rate risk management hedging.

What is Convexity correction?

Convexity C = Σ(t(t+1) × PV(CF_t)) / (P × (1+y)² × n²) measures curvature price-yield relationship. Second-order Taylor: ΔP/P ≈ -MD × Δy + 0.5 × C × (Δy)². Convexity always positive standard bonds (favorable: less price loss when yields rise, more gain when yields fall). 10Y MD=8 C≈78; 30Y MD=17 C≈350. For 1% yield change adds 0.5 × 78 × 0.0001 = 0.39% to 10Y, 1.75% to 30Y. Critical large yield changes ±200 bps.

What are USA Treasury Duration examples?

USA Treasury bonds: 10-year Treasury Note benchmark interest rate proxy yield 4.5% 2024 MD ≈ 8.2 years; 30-year Treasury Bond long bond yield 4.7% MD ≈ 17.5 years; 2-year Treasury Note short MD ≈ 1.9 years; TIPS Treasury Inflation-Protected Securities 1997+ inflation-linked principal CPI MD ≈ 8.5 years; FRN Floating Rate Notes 2014+ variable rate MD ≈ 0 (resets). USA total debt $34 trillion 2024 ratio 122% GDP. Federal Reserve Board Washington DC Jerome Powell chair 2018+ monetary policy.

What is Frederick Macaulay 1938 history?

Frederick Robertson Macaulay (Canada-USA 1882-1970) Toronto McGill University Montreal economics 1903, Columbia University NY PhD 1924, National Bureau of Economic Research NBER founded 1920 Wesley Mitchell, NBER staff economist 1922-1937. 1938 magnum opus 'Some Theoretical Problems Suggested by the Movements of Interest Rates Bond Yields and Stock Prices in the United States since 1856' NBER monograph 800 pages introduced duration concept fixed income analysis foundation modern bond risk management. Frank Redington 1952 immunization theory. Cox-Ingersoll-Ross 1985 stochastic interest rate.

What are USA famous bond firms?

USA famous bond firms: PIMCO Pacific Investment Management Co Newport Beach CA founded 1971 Bill Gross 'Bond King' 1971-2014 Total Return Fund $1.9 trillion AUM largest bond manager world Janus Henderson 2014 Allianz acquisition; BlackRock NYC 1988 Larry Fink $9.4 trillion AUM globally largest world; Vanguard Group Malvern PA 1975 John Bogle Total Bond Market Index VBTLX low-cost passive $7.5 trillion AUM founder; Fidelity Investments Boston MA 1946 Edward Johnson II $4.5 trillion AUM Total Bond Fund FXNAX; State Street Boston MA 1792 oldest US bank $4 trillion SPDR ETFs.

What are Duration model limits?

Duration model limits: (1) Linear approximation first order, large yield changes ±200 bps require convexity correction second-order; (2) Parallel yield shift assumption, real twist steepening flattening multi-factor (Vasicek 1977 CIR 1985 HJM 1992); (3) Constant cash flows callable putable bonds option-embedded require OAS option-adjusted spread Black-Scholes-Merton; (4) Single yield curve, real corporate spread vs Treasury OAS dual; (5) Convexity MBS Mortgage Backed Securities can be negative prepayment risk; (6) Duration drift over time bond ages periodic rebalance; (7) Day count conventions 30/360 actual/360 actual/actual.

Comments (0)

No comments yet. Be the first!