Bond Duration and DV01 Calculator

Compute Macaulay and modified duration, convexity and DV01 on a face amount, then compare the duration estimate of a yield move with the actual repriced change.

DV01 744 Price change for one basis point on 1,000,000 of face, at a price of 96.193
Modified duration 7.7300 years
Macaulay duration 7.9426 years
Convexity 72.707
Inputs
Try:
Amounts are treated in the selected currency; no foreign-exchange conversion is applied.
% p.a.
Annual coupon as a percentage of face. Zero for a zero-coupon bond.
%
Yield to maturity, which sets both the price and the sensitivity.
years
Longer maturities carry more duration and more convexity.
per year
Two for most corporate and government bonds.
$
Notional held, used to express DV01 in cash rather than per 100.
bp
Size of the move used to compare the duration estimate with the repriced answer.
Results & Graph
DV01
744
Price change for one basis point on 1,000,000 of face, at a price of 96.193
Modified duration
7.7300 years
Macaulay duration
7.9426 years
Convexity
72.707
Price per 100 of face
96.1932
Duration estimate of a 100bp move
-7.4357
Convexity correction
+0.3497
Actual price change repriced
-7.0977

Share of Present Value by Year

Graph 1 • What Duration Misses on a Large Move Convexity closes most of the gap; the small residual left is the third-order term.
Duration estimate: -7.4357 -7.4357 Duration estima… Convexity correction: +0.3497 +0.3497 Convexity corre… Two-term estimate: -7.0860 -7.0860 Two-term estima… Residual: -0.0117 -0.0117 Residual Actual repriced: -7.0977 -7.0977 Actual repriced
Graph 2 • Duration in Years and Convexity Macaulay is a time, modified is a sensitivity, and they differ by one plus the periodic yield.
Macaulay duration, years 7.9426 Modified duration, years 7.7300 Convexity 72.707
Graph 3 • One Basis Point in Cash DV01 scales linearly with the notional held, which is what makes it the hedging unit.
Price per 100 of face 96.1932 DV01 on 1,000,000 744 DV01 per 100 of face 0.074357
Summary: Present value is spread across 10 years, with the final year carrying the principal.
Summary: At 5.50% the bond prices at 96.193 with a modified duration of 7.7300 years, so one basis point moves 744 on 1,000,000 of face. For a 100 basis point move, duration alone predicts -7.4357 and convexity adds 0.3497, giving -7.0860 against an actual repriced change of -7.0977. Convexity is why duration on its own overstates the loss when yields rise and understates the gain when they fall.
Interactive chart & math engine powered by CalculatorGraph

Formula: Duration, DV01 and the Convexity Correction

Modified = Macaulay / (1 + y/f)
DV01 = Modified x Price / 10,000
dP = -Modified x dy x P + 0.5 x Convexity x dy2 x P
Modified = Macaulay / (1 + y/f) ; DV01 = Modified x Price / 10,000 ; dP = -Modified x dy x P + 0.5 x Convexity x dy^2 x P
  • Macaulay duration: Present-value weighted average time to the cash flows, in years
  • Modified duration: Percentage price change for a one percentage point change in yield
  • DV01: Cash price change for a one basis point change in yield
  • Convexity: Rate of change of duration, the second-order term in the price response

Rounding: Durations and convexity to three or four decimal places; cash to whole units.

Worked example: Example: a 5% ten-year bond at a 5.5% yield

Semiannual coupons on 1,000,000 of face, testing a 100 basis point rise.

  1. Discounting twenty coupons of 2.50 and 100 of principal at 2.75% a period prices the bond at 96.1932.
  2. The present-value weighted average time to those cash flows is 7.9426 years, which is the Macaulay duration.
  3. Dividing by 1.0275 gives a modified duration of 7.7300 years.
  4. DV01 is 7.7300 x 96.1932 / 10,000 = 0.0744 per 100, which on 1,000,000 of face is 744.
  5. For a 100bp rise, duration predicts -7.4357 and convexity of 72.707 adds back 0.3497, giving -7.0860 against an actual repriced change of -7.0977.
Result: DV01 of 744 on 1,000,000 of face, with duration plus convexity landing within 0.012 of the repriced answer for a 100 basis point move.

Frequently Asked Questions

What is the difference between DV01 and PV01?

In most usage they are the same thing: the price move for a basis point. Where desks distinguish them, DV01 is computed by shifting the yield of the instrument and PV01 by shifting the whole curve used to discount it, which gives slightly different numbers for anything priced off a curve rather than a single yield. For a single bond quoted on a yield the distinction is immaterial, and the figure here is the yield-based one.

Why does convexity always help the bondholder?

Because the price-yield relationship curves upward, so the actual price is above the straight-line duration estimate in both directions. When yields fall you gain more than duration predicts; when they rise you lose less. That is why convexity is something investors pay for, and why a bond with an embedded call has negative convexity: the call truncates the upside as yields fall, which is the one case where the curvature works against the holder.

How is Macaulay duration different from modified duration?

Macaulay duration is a time: the present-value weighted average number of years until the cash flows arrive, 7.9426 here. Modified duration is a sensitivity: the percentage price change per percentage point of yield, 7.7300 here. They differ by the factor of one plus the periodic yield, so they converge as yields approach zero and diverge as yields rise. The one to hedge with is modified duration.

Does a zero-coupon bond have duration equal to its maturity?

Its Macaulay duration does, because there is only one cash flow and the weighted average time to it is simply the maturity. Its modified duration is slightly shorter, by the same one plus periodic yield factor. Set the coupon to zero here and the Macaulay duration will equal the years to maturity exactly, which is a useful check that the weighting is being done correctly.

Why does a higher coupon reduce duration?

Because more of the total value arrives earlier. A high coupon front-loads the cash flows, pulling the present-value weighted average time down, so the bond is less sensitive to yields. At the extreme, a zero-coupon bond has all its value at maturity and the longest duration available for a given maturity. This is why a portfolio manager wanting duration buys low-coupon long bonds.

Why is the duration estimate shown per 100 rather than in money?

The supporting lines follow the convention of quoting price changes per 100 of face, which makes bonds of different sizes comparable. Only the DV01 headline is scaled to your face amount. To convert the -7.0977 repriced change to money, multiply by the face held and divide by 100. On the default position that is ten thousand times the per 100 figure.

Can I enter a negative yield shift?

Yes. A negative shift tests a fall in yields. On the default bond, -100 basis points gives a duration estimate of 7.4357 and an actual gain of 7.7977 per 100. The convexity correction stays positive at 0.3497, because it depends on the square of the move, so it adds to gains and reduces losses in both directions.

How accurate is DV01 times the number of basis points?

Very accurate for small moves and steadily worse for large ones. At 1 basis point the duration estimate and the repriced change agree to four decimals. At 100 basis points they differ by about 0.34 before convexity, and on a 3 percentage point shock the gap is several points of price. For stress tests, use the repriced change line rather than multiplying the DV01 headline.

Why does the 3% coupon bond have a lower DV01 than the default?

Its duration is longer, at 8.3050, but its price is much lower, at 80.9659. DV01 is modified duration multiplied by price, so the lower price more than offsets the extra duration and the DV01 comes out at 672 against 744 for the 5% bond.

Does the face value change duration or convexity?

No. Duration, convexity and every per 100 figure depend only on the coupon, yield, maturity and frequency. Face value scales the DV01 headline and nothing else. Double the face and the DV01 doubles, while the durations stay at 7.9426 and 7.7300 on the default bond. Use the face value to size the position, not to change its sensitivity.

What does the convexity figure of 72.707 mean in practice?

It sets the size of the second-order correction. Half of convexity times the yield move squared, times the price, gives the amount by which the real price change differs from the straight line. For a 100 basis point move on the default bond that is 0.3497 per 100 of face.

Should I hedge with DV01 or duration?

DV01, if the aim is to offset cash risk. Duration is a percentage measure, so two bonds with the same duration but different prices carry different cash risk per basis point. Matching DV01 means a one basis point move produces equal and opposite money changes in the position and the hedge, at least until yields move far enough for convexity to matter.

Why is my bond's result different from the trading screen?

Trading systems account for the exact settlement date, accrued interest, day count conventions and sometimes a full yield curve. The page assumes settlement on a coupon date with a whole number of periods and one flat yield. Small differences are expected; large ones suggest an input such as frequency is wrong.

Does this work for a callable or floating rate bond?

Not reliably. The page assumes fixed coupons and fixed principal at maturity. A callable bond can be redeemed early, which changes its cash flows as yields move, and a floating rate note resets its coupon every period. Both need an effective duration from a pricing model that handles those features, and the figures here would overstate the risk of a floater.

How does DV01 change as yields move?

It falls as yields rise and grows as yields fall, because both price and duration move. That drift is what convexity measures. A hedge set at today's DV01 will slowly become mismatched as rates move, so desks rebalance after significant changes. Rerun the page at the new yield to see the updated figure.

Why is modified duration labelled in years?

Strictly, modified duration is a sensitivity, the percentage price change for a one percentage point move in yield. The page labels it in years because it is derived from Macaulay duration, which is a time. Read 7.7300 as roughly a 7.73% price change per 100 basis points, before the convexity correction.

Checking the default DV01 of 744 by hand

The default bond pays a 5% coupon twice a year for ten years and is priced at a 5.5% yield. Because the coupon is below the yield, the bond trades under par, at 96.1932 per 100 of face. You hold 1,000,000 of face, so the position has ten thousand units of 100.

The page reports a Macaulay duration of 7.9426 years. Dividing by one plus the half-year yield, 1.0275, gives the modified duration of 7.7300. DV01 is modified duration times price times one basis point: 7.7300 times 96.1932 times 0.0001 comes to about 0.0744 per 100 of face. Multiply by the ten thousand units held and the cash figure comes out a fraction under 744, which is what the headline shows after rounding.

That 744 is the gain if yields fall by one basis point and the loss if they rise by one, in the display currency. It is the figure a desk uses to size a hedge: to neutralise this position with another bond, you need enough of it to carry the same DV01 in the opposite direction.

Macaulay duration itself can be checked the same way, though it takes longer. Each of the twenty half-year cash flows is discounted at 2.75% a period, its present value is multiplied by the time in years until it arrives, and the total is divided by the price. The final payment of principal plus coupon carries most of the weight, which is why the result sits fairly close to the ten year maturity rather than near the middle.

Per 100 of face against the face you hold

Only the DV01 headline is scaled to the face amount. The duration estimate, the convexity correction and the actual repriced change are all quoted per 100 of face, the same basis as the price. That is easy to miss.

In the default, the actual price change for a 100 basis point rise is shown as -7.0977. That is points of price, so the bond would fall from 96.1932 to about 89.10 per 100. To turn it into money for your holding, multiply by the face amount divided by 100. Face value therefore changes only the DV01 line; double it and DV01 doubles, while every per 100 figure stays the same.

As a percentage of price, the same 100 basis point move is a loss of about 7.38%, which is close to the modified duration of 7.73 minus the convexity help. Thinking in percentages is often easier when comparing bonds trading at very different prices.

Where duration alone goes wrong on small and large moves

The comparison at the bottom of the result is the reason to use this page rather than a plain DV01 figure. For a 100 basis point rise, duration alone predicts -7.4357. Convexity adds back +0.3497, giving -7.0860. The actual repriced change is -7.0977, so the two-term estimate is off by about 0.0117 per 100.

Shrink the test to 1 basis point and duration alone predicts -0.0744 against an actual -0.0743, with a convexity correction too small to show. At that size the straight line is effectively exact.

Stretch it to 3 percentage points, typed as three hundred in the basis point box, and the picture changes. Duration alone predicts -22.3072, convexity adds 3.1473, and the combined -19.1600 still misses the repriced -19.4583 by about 0.30 per 100. The error grows much faster than the move, which is why risk on large stress scenarios should be measured by repricing rather than by duration and convexity.

Notice which way the leftover error runs on that large rise. The two-term estimate now shows a smaller loss than the true one, because the convexity term itself overshoots once the move is big. The sign of the residual is not something to rely on, which is another reason to read the repriced line for any shock beyond a percentage point or so.

The same bond when yields fall 100bp

Enter a yield shift of -100 to test a rally. Duration alone now predicts a gain of 7.4357, and the convexity correction is again +0.3497, because it depends on the square of the move and does not change sign. The combined estimate is 7.7854 against an actual gain of 7.7977.

Put the two runs side by side: a 100 basis point fall gains 7.7977 while a 100 basis point rise loses 7.0977. The bond gains more than it loses for the same size move in each direction. Convexity is the name for that asymmetry, and it shows up here without any extra inputs.

Coupon presets and why DV01 runs from 672 to 833 on equal face

Each preset varies the coupon and leaves everything else alone. At 3%, the bond prices at 80.9659 with a modified duration of 8.3050 and a DV01 of 672 on the position. At the default 5% it is 7.7300 and 744. At 7.5% it is 7.2250 and 833 on the same face amount.

That ordering looks contradictory at first. The low coupon bond has the longest duration but the smallest DV01. The reason is price. DV01 is duration times price, and the 3% bond is priced far below par, so each percentage point of sensitivity is applied to a smaller price. The 7.5% bond trades at 115.227 per 100, so its shorter duration is applied to a larger base and produces more cash risk per basis point.

This is why two positions with the same face amount can need very different hedges. Compare bonds by DV01, or by duration on the market value held, not by face amount.

Convexity follows duration rather than DV01 here. It is 80.388 for the 3% bond, 72.707 for the default and 65.961 for the 7.5% coupon. Lower coupon bonds therefore gain more from curvature per unit of price, which is part of why investors who expect large rate moves often prefer them.

Maturity and payment frequency

Maturity changes the answer more than anything else on the page. Cut the default bond to two years and modified duration falls to 1.8760, with convexity of just 4.508. DV01 per 100 drops to about 0.0186, roughly a quarter of the ten year figure. Extend it to thirty years and modified duration rises to 14.8922 at a price of 92.6943, so DV01 per 100 is about 0.1380, close to double the ten year bond.

Duration does not grow in step with maturity. Thirty years of coupons produce a duration a little under twice that of ten years, because the distant cash flows are heavily discounted and carry less weight.

Switching to annual coupons moves things slightly. With one payment a year the Macaulay duration rises to 8.0654, because each coupon arrives later, but the modified duration falls to 7.6450 because it is divided by 1.055 rather than 1.0275. The DV01 per 100 is about 0.0736. Use the frequency the bond actually pays, since the difference is small but not zero.

Changing the yield level itself

The yield input is the level the bond is priced at, not the test shift. Lower it from 5.5% to 4% and the same 5% coupon bond moves above par, with modified duration rising to 7.9225 and convexity to 75.472. A lower yield discounts the distant cash flows less, so they carry more weight and the bond becomes more sensitive.

This is the same effect convexity describes, seen from a different angle. Moving the yield down one and a half percentage points in one step increases duration, and therefore DV01, which is why a fixed hedge drifts out of balance as markets move. Running the page at two or three yield levels around today's is a simple way to see how quickly that happens for your bond.

Assumptions that matter on a real bond

The engine rounds years times frequency to a whole number of periods and treats settlement as falling on a coupon date. A bond bought between coupon dates carries accrued interest and a fractional first period, and its duration will differ slightly from what the page shows.

All cash flows are discounted at the one yield you enter. That suits a single bond quoted on its yield, but it ignores the shape of the curve. A portfolio of bonds at different maturities can have the same total DV01 and still behave differently when short and long rates move by different amounts.

The page also assumes fixed coupons and no options. For a callable bond, a floating rate note or a bond whose cash flows depend on prepayments, these measures do not describe the price response. Effective duration from a pricing model is the right tool there.

Putting the numbers to work

For a quick risk check, read the DV01 headline and multiply it by the size of move you care about. On the default, 25 basis points is roughly 25 times 744 in either direction, which is close enough for a small move. For anything larger, set the yield shift to that move and read the actual repriced change, then scale it to your face amount.

For hedging, match DV01 rather than face. If a futures contract or another bond has a DV01 per 100 of a known size, divide this position's DV01 by it to find how much face of the hedge you need. Rebalance as yields move, because DV01 itself changes with the yield level, which is what the convexity figure measures. This page is a measurement tool and not financial advice.