Skip to main content

    Duration and convexity calculator

    Bond Duration Calculator

    This bond duration calculator finds a bond's Macaulay duration, modified duration and convexity from its face value, coupon rate, yield and years to maturity. Use it as a Macaulay duration calculator or a modified duration calculator, and see the estimated price change a 1% move in yields implies, an approximation from the bond math, not a forecast.

    Free to use. No account or sign-up needed.

    Your bond

    What the bond pays back at maturity, often $1,000.

    From 0.5 to 100, and at least 1 when paid yearly.

    The yearly interest rate on the face value. Use 0 for a zero coupon bond.

    The yearly market yield the bond is priced at, from 0 to 30.

    Coupon payments

    How often the bond pays its coupon. Most bonds pay twice a year.

    Results

    ResultValue
    Macaulay duration (years)7.89
    Modified duration (years)7.67
    Convexity71.79
    Price at a 6% yield$925.61
    Estimated price change if yields rise 1%-7.31%
    Estimated price change if yields fall 1%+8.02%

    A $1,000 bond with a 5% coupon paid twice a year, 10 years from maturity at a 6% yield, has a Macaulay duration of 7.89 years and a modified duration of 7.67 years. Duration and convexity put the estimated price change at -7.31% if yields rise 1% and +8.02% if they fall 1%.

    Rate moves

    Yield movePricePrice changeWith convexity
    -2%$1,081.76+16.87%+16.77%
    -1%$1,000.00+8.04%+8.02%
    -0.5%$961.93+3.92%+3.92%
    +0.5%$890.95-3.74%-3.74%
    +1%$857.88-7.32%-7.31%
    +2%$796.15-13.99%-13.89%

    Price and Price change come from repricing the bond at the new yield. The two estimates use duration alone and duration plus convexity, the shortcut behind the results above.

    How bond duration works

    Bond duration measures how long, on average, it takes to get a bond's money back, counting every coupon and the face value at the end. It is also the main gauge of how much a bond's price moves when interest rates change.

    Macaulay duration is the weighted average time to each payment. To calculate the duration of a bond, find the present value of every payment at the yield, multiply each one by the years until it arrives, add those up and divide by the bond's price. The calculator reports it in years.

    Modified duration = Macaulay duration / (1 + yield / payments per year). It turns the timing measure into a price measure: a modified duration of 7 means the price moves about 7% the other way for a 1% move in yields.

    Modified duration and convexity

    Duration draws a straight line through a curve. A bond's price rises more when yields fall than it drops when yields rise by the same amount, and convexity measures that bend. The calculator reports it in years squared, from the textbook formula for a bond with fixed payments.

    The estimated price change uses both: change = -modified duration x yield move + 0.5 x convexity x (yield move)^2, with the move written as a decimal. For small moves duration does most of the work, and convexity matters more as the move grows.

    The rate moves table sets those estimates next to the price from repricing the bond at each new yield, so you can see where the shortcut drifts. All of them are estimates from the bond math, and a real bond's price also depends on its credit, its trading and the market.

    A worked example

    Take a $1,000 bond with a 5% coupon paid twice a year and 10 years to maturity, priced at a 6% yield. It has 20 coupon payments of $25.00 left plus the $1,000 at the end, and at that yield the bond is worth $925.61, below face value because the coupon is under the yield.

    Weight the time to each payment by its share of that price and the average comes to a Macaulay duration of 7.89 years, shorter than the 10 years to maturity because the coupons come back first.

    Divide by 1 plus the yield per payment period (3%) and you get a modified duration of 7.67 years. On duration alone, a 1% rise in yields would cut the price by about 7.67%.

    Convexity of 71.79 trims that estimate to -7.31%. Repricing the bond at a 7% yield gives a price of $857.88, a change of -7.32%. For a 1% fall the estimate is +8.02%, and repricing at a 5% yield gives +8.04%.

    What moves duration

    At a 6% yield with 10 years to go, a zero coupon bond has a Macaulay duration of 10.00 years, its whole maturity. A coupon of 2% gives 8.89 years and a coupon of 8% gives 7.29 years, because a larger coupon pays more of the money back early.

    Maturity moves it most. The same 5% bond at a 6% yield has a Macaulay duration of 1.93 years with 2 years left and 14.77 years with 30 years left.

    A higher yield shortens duration as well, because distant payments are discounted more and make up less of the price. Bond funds report an average duration across their holdings, often an effective duration that also allows for bonds that can be called early.

    To find a bond's price from its yield, or the price of a zero coupon bond, use the bond price calculator.

    To solve for the yield a bond pays at its market price, use the yield to maturity calculator.

    To compare a bond's coupon with its price, or work out a yield to call, use the current yield calculator.

    To spread bonds across several maturities, use the bond ladder calculator.

    What the calculator assumes

    • The bond pays a fixed coupon on schedule and its face value at maturity, with no default.
    • You are on a coupon date: no accrued interest and no part periods between payments.
    • Years to maturity are rounded to the nearest whole coupon payment.
    • One flat yield discounts every payment, compounded as often as the bond pays.
    • There is no call, put or sinking fund. A bond that can be called early can have a shorter effective duration than this shows.
    • Price changes are estimates from the bond math and do not predict any bond's price. Inputs can contain errors, and nothing here is investment advice.

    Bond duration calculator FAQ

    What is bond duration?

    Bond duration is the average time, in years, it takes to get a bond's money back, weighted by the present value of each payment. It also estimates price sensitivity: a modified duration of 7 means about a 7% price move the other way for a 1% change in yields.

    How do you calculate the duration of a bond?

    Find the present value of each payment at the yield, multiply each by the years until it arrives, add those up and divide by the bond's price. A 10-year bond with a 5% coupon paid twice a year at a 6% yield has a Macaulay duration of about 7.89 years.

    What is the difference between Macaulay and modified duration?

    Macaulay duration is a time: the weighted average years until you are paid. Modified duration divides it by 1 plus the yield per period and reads as price sensitivity. At a 6% yield paid twice a year, a Macaulay duration of 7.89 years is a modified duration of 7.67.

    How much does a bond's price change if rates rise 1%?

    About its modified duration in %, the other way. The example bond, with a modified duration of 7.67, loses about 7.67% on duration alone and 7.31% once convexity is added. Repricing at the higher yield gives a 7.32% drop. These are estimates from the bond math.

    What is bond convexity?

    Convexity measures how a bond's price curve bends as yields change. With positive convexity the price rises more when yields fall than it drops when they rise by the same amount. Longer bonds and lower coupons have more of it, and it sharpens the estimate on big moves.

    Why does a zero coupon bond's duration equal its maturity?

    A zero coupon bond makes one payment, the face value at maturity, so the weighted average time is the maturity itself. A 10-year zero has a Macaulay duration of 10 years and, at a 6% yield compounded twice a year, a modified duration of 9.71.

    Does a higher coupon lower a bond's duration?

    Yes, at the same yield and maturity. A bigger coupon returns more money early, which pulls the average time in. At a 6% yield over 10 years, a 2% coupon bond has a Macaulay duration of 8.89 years and an 8% coupon bond 7.29 years.

    Is this bond duration calculator free?

    Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Portfolio Tracker, where you can follow your own holdings.

    Track your own holdings in the Portfolio Tracker and backtest a portfolio with a free GNG account.

    Sign Up Free

    This calculator is for education and is not investment advice. Results are estimates from the numbers you enter, which can contain errors, and do not predict any bond's price. Read our disclosures.