Bond Duration Calculator

Bond price—
Macaulay duration (years)—
Modified duration (years)—
Price change if yield rises 1%—

How Bond Duration Calculator is calculated: Price = sum of discounted coupons + discounted face value; Macaulay duration = weighted average time to each cash flow; modified duration = Macaulay / (1 + yield per period)

What is a bond duration calculator?

A bond pays you twice: a coupon every year and the face value back at maturity. Duration answers the question that matters most to a bond holder — how much does the price move when interest rates move? A duration of 7 years means, roughly, that a 1% rise in yield cuts the price by about 7%. That single number is how fund managers compare bonds, how they hedge interest-rate risk, and how they explain to investors why a bond fund fell when rates rose. This calculator works out the two standard versions, Macaulay duration and modified duration, along with the bond price itself and the rupee change from a 1% yield move.

In plain terms, it takes the face value, coupon rate, yield, years to maturity and coupon frequency and turns them into the bond price, the Macaulay and modified durations, and the price sensitivity to a 1% yield move. You do not need a spreadsheet or a finance degree to use it: type in the numbers you already know and the answer appears straight away. That is the point of a tool like this. It removes the arithmetic so you can spend your attention on the decision itself, not on the sums behind it.

It is used by students learning fixed income, by investors comparing bonds before buying, and by anyone who holds a bond fund and wants to know what a rate change would do to it. The figures are estimates from the inputs you type in: real bonds also carry credit risk and liquidity effects that duration does not capture. All figures here are estimates based on the yield and coupon you enter. Duration measures sensitivity to small yield changes only; for large moves the relationship curves, and credit or liquidity changes can move a bond price for reasons duration never sees.

How bond duration is calculated

The calculation starts with the bond price: every future coupon and the final face value are discounted back to today at the yield, and added up. Macaulay duration is then the weighted average of the times to each of those cash flows, where the weights are the present values — so a cash flow that is worth more today counts more. Modified duration divides that by one plus the yield per period, and it is the version that translates directly into price sensitivity: multiply the modified duration by the yield change and you get the approximate percentage price change.

The formula behind it is Price = sum of discounted coupons + discounted face value; Macaulay duration = weighted average time to each cash flow; modified duration = Macaulay / (1 + yield per period). The key point is that duration is measured in years but used as a percentage. A 10-year bond with a 7% coupon has a Macaulay duration of about 7.5 years, not 10, because the coupons arrive earlier and pull the average forward. A zero-coupon bond is the exception: with no coupons at all, its duration is exactly its maturity.

Five inputs drive the answer. The face value is what the bond repays at maturity, the coupon is the annual interest rate printed on the bond, the yield is the return the market demands today, the years to maturity set how long the cash flows run, and the frequency says whether coupons arrive once or twice a year. When the coupon equals the yield, the bond trades at par — exactly its face value. Duration answers how sensitive a bond is; the bond yield calculator answers the other half of the question, what return the bond actually pays at a given price.

Modified duration: the number that prices risk

Modified duration is the number that actually prices risk, and it is the one most people should look at first. Macaulay duration is a weighted average time, interesting but abstract. Modified duration answers a practical question: if the yield rises by 1%, how much do I lose? A modified duration of 7 means about a 7% fall in price for a 1% rise in yield. That is a number you can use to size a position or to compare two bonds.

The relationship is only approximate, and the approximation gets worse as the move gets bigger. For a 0.25% yield move, modified duration is very accurate. For a 2% move, the true price change is a little smaller than duration predicts, because the price-yield curve bends — an effect called convexity. This calculator shows the exact change for a 1% move, computed by repricing the bond, so you can see the real figure next to the duration estimate.

Duration also grows with maturity and shrinks with the coupon. A 30-year bond has far more duration than a 3-year bond, and a high-coupon bond has less duration than a low-coupon bond of the same maturity, because more of its value arrives early. That is why long, low-coupon bonds are the most sensitive to rate changes, and why they swing the most when the central bank moves.

A worked example: a 10-year bond at par

Take the defaults on this page: a bond with a face value of ₹1,00,000, a 7% coupon, a 7% yield and 10 years to maturity, paying coupons once a year. Because the coupon equals the yield, this bond trades at par.

With the default inputs — face value ₹1,00,000, coupon rate 7%, yield to maturity 7%, years to maturity 10 Yr, coupon frequency annual — the calculator gives bond price ₹1,00,000, macaulay duration (years) 7.52, modified duration (years) 7.02, price change if yield rises 1% -₹6,710. The price works out to exactly ₹1,00,000, the face value. The Macaulay duration is about 7.5 years — less than the 10-year maturity, because the yearly coupons pull the average forward. The modified duration is a little lower, about 7.0 years, and the price change for a 1% rise in yield is a fall of roughly ₹6,700, close to the 7% the modified duration predicts.

That ₹7,000 is the number to remember. If you hold this bond and yields rise by 1%, you lose about 7% of the price, and you would need a year of coupons just to make it back. Now try a 20-year version of the same bond and watch the duration and the sensitivity climb, or raise the coupon to 10% and watch them fall. Duration is the price of time in a bond, and this calculator lets you see it move.

Who uses bond duration?

An investor comparing two bonds uses duration to compare risk, not just return. Two bonds can offer the same yield and behave very differently when rates move: the one with the longer duration will swing more. Knowing that before buying is worth more than knowing the yield alone.

A fund manager uses duration to run a whole portfolio. The fund duration is the average of its bonds, and shifting it up or down is how the manager expresses a view on rates — longer duration when rates are expected to fall, shorter when they are expected to rise. If a bond feels too complicated, the FD calculator shows the plain alternative: a fixed deposit with a fixed rate and no price risk at all.

A student uses it to connect the textbook to the market. Duration is often taught as a formula to memorise; typing in a coupon and a yield and watching the price sensitivity appear makes the idea concrete, and the par-bond example here is the standard starting point.

Bond duration vs bond yield

Yield and duration describe the same bond from opposite sides: one says what you earn, the other says what you risk. For a long tax-saving comparison, the PPF calculator shows what the same money does in a 15-year government-backed account.

The yield is the return you get if you hold the bond to maturity and everything goes as planned. It is the number most investors look at first, and it is the number brokers quote. Duration says nothing about return at all — it says how much the price moves if the yield itself changes. That makes the two complementary rather than competing. A high yield with a long duration is a different proposition from the same yield with a short duration: the first pays you more for taking more rate risk, the second pays the same for less. Judging a bond on yield alone is like judging a loan on the interest rate alone.

Use the yield when you are comparing income across bonds, deposits and other fixed-return options. Use duration when you are asking what happens if rates move, how much a bond fund might fall, or whether a long bond fits a portfolio that cannot afford a 7% price swing.

Common mistakes with bond duration

The most common mistake is confusing duration with maturity. A 10-year bond does not have a duration of 10 years — its duration is shorter, because the coupons arrive earlier. Only a zero-coupon bond has a duration equal to its maturity. Quoting the maturity as the risk figure overstates the risk of every coupon bond. The second mistake is using Macaulay duration where modified duration belongs. Macaulay is a time average; modified is the sensitivity. If you want the price change from a yield move, use the modified figure — or better, use the exact repriced change this calculator shows for a 1% move.

The third mistake is treating duration as exact for large moves. Duration is a straight-line approximation to a curved relationship. For a 0.25% move it is near-perfect; for a 3% move it overstates the loss on the way up and understates the gain on the way down. Big moves need repricing, not duration.

The fourth mistake is forgetting that duration assumes the yield curve moves in parallel. In real markets the short end and the long end often move by different amounts, and a bond can gain or lose for reasons that have nothing to do with its own duration. Duration is a first-order guide, not a complete risk model. Check every input once before you trust the answer: a single mistyped zero changes the result far more than any rounding in the calculator ever will.

How to use this bond duration calculator

Using it takes less than a minute. Type in the face value, the coupon rate, the yield to maturity and the years left, then pick the coupon frequency. Then read the results box: the main figure is highlighted at the top, and the supporting figures sit below it so you can see how the answer was reached. Change any input and the figures update at once, which makes it easy to test a few versions of the same decision side by side.

If you want the income side of the same bond, the bond yield calculator works out the yield from a price, or the price from a yield, so the two pages together cover the bond from both ends. The discounting behind bond pricing is the same maths as any long-term saving, which the compound interest calculator shows year by year.

Everything runs in your browser. Nothing you type is uploaded, stored or shared, and there is no account to create. That matters for a tool that deals with money: your salary, your holdings and your plans stay on your own device. Bookmark the page and come back whenever the numbers change, and the calculator will be ready with the same defaults you saw today.

Frequently Asked Questions

Macaulay duration is the weighted average time until the bond cash flows arrive, measured in years. Modified duration is the Macaulay figure divided by one plus the yield per period, and it measures price sensitivity: a modified duration of 7 means the price falls about 7% when the yield rises 1%. Traders and fund managers use the modified figure for risk; textbooks teach the Macaulay figure first.

Because the coupons arrive before maturity and pull the weighted average forward. A 10-year bond paying 7% a year has a Macaulay duration of about 7.5 years, since much of its value comes from coupons in the early years. Only a zero-coupon bond, which pays nothing until maturity, has a duration equal to its maturity.

Yes. It is free, with no sign-up and no download. Open the page, type in your numbers and read the result. It works on a phone, a tablet or a computer, and you can use it as many times as you like.

The maths is exact for the numbers you type in, but the answer is only as good as those inputs. All figures here are estimates based on the yield and coupon you enter. Duration measures sensitivity to small yield changes only; for large moves the relationship curves, and credit or liquidity changes can move a bond price for reasons duration never sees. Treat the result as a planning figure and check the final numbers with the actual policy document, contract or adviser before you commit money.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.