Open calculator ↗

Bond Duration Calculator · Calculation guide

Estimate how sensitive a bond price is to yield changes.

Calculation guide

For savers and bond investors comparing entered terms.

The entered rate is nominal unless the tool explicitly says effective yield. Compounding and deposit timing are shown separately. Recurring deposits use the monthly equivalent of the selected compounding convention. Paid-out interest is not reinvested. Actual bank terms, tax and penalties can differ. Coupon dates are anchored to maturity. Settlement must precede maturity. Choose ACT/ACT per coupon period, ACT/365 or European 30E/360 for the first partial period and accrued interest. Future coupons use periodic yield discounting. Clean price excludes accrued interest; dirty price includes it. Current yield, yield to maturity and coupon rate are different measures. These conventions may differ from a traded security's exact terms.

D_Mac = Σ(t·PV(CF_t))/P_dirty; D_Mod=D_Mac/(1+y/m)

Inputs

Face value

Amount repaid by the issuer at maturity, before any final coupon.

Coupon rate

Annual coupon percentage of the bond face value, not its market yield.

Coupon frequency

Number of coupon payments each year. Annual coupon income is divided across these payments.

Settlement

Date the bond or bill purchase settles; future payments are valued from this date.

Maturity date

Date principal is repaid. Bond pricing requires maturity after settlement.

Day-count convention

Day-count rule used for bond accrued interest and the first partial coupon period.

Yield

Assumed annual bond yield used to discount the remaining coupons and principal.

Worked example

InputValue
Face value1,000
Coupon rate6%
Coupon frequency2
Settlement2026-01-01
Maturity date2031-01-01
Day-count conventionACT/ACT per coupon period
Yield5%

Formula:

D_Mac = Σ(t·PV(CF_t))/P_dirty; D_Mod=D_Mac/(1+y/m)

Modified duration = 4.30088545413908

Time years = 0.500000000000000; Cash flow = 30.0000000000000; Present value = 29.2682926829268

Time years = 5.00000000000000; Cash flow = 1030.00000000000; Present value = 804.634353777499

ResultValue
Modified duration4.300885 years
Macaulay duration4.408408 years
Dirty price1,043.76032

Interpreting the result

Approximate bond-price sensitivity to a small yield change; derived from Macaulay duration.

Present-value-weighted average time until bond payments are received.

How each input affects this example

Each row starts from the worked example and changes one input.

InputOriginal inputNew inputAffected resultOriginal resultNew result
Face value1,0001,100Dirty price1,043.760321,148.136352
Coupon rate6%7%Modified duration4.300885 years4.231787 years
Coupon frequency21Modified duration4.300885 years4.264525 years
Settlement2026-01-012026-01-02Modified duration4.300885 years4.29819 years
Maturity date2031-01-012031-01-02Modified duration4.300885 years4.183373 years
Day-count conventionACT/ACT per coupon periodACT/365 fixedModified duration4.300885 years4.296876 years
Yield5%6%Modified duration4.300885 years4.265101 years
Bond Duration Calculator →