Converter tool

Bond Yield, Duration and Convexity Calculator

Convert between price and yield to maturity for a fixed-rate bond, with accrued interest on your day count, clean and dirty price, current yield, yield to call, Macaulay and modified duration, convexity, DV01 and the cash-flow schedule.

Fixed-rate, regular coupons

1. The bond

Trading at a discount

2. Price and yield

Yield to maturity
5.461%
Compounded 2 times a year
Clean price per 100
96.5000
Dirty 96.8472, accrued 0.3472
Current yield
5.181%
Annual coupon / clean price
Amount for 1,000 face
968.47
Clean 965.00 plus accrued 3.47
Yield to call
6.186%
Called at 102 on 2031-02-15
Yield to worst
5.461%
Lower of the two: to maturity

Current coupon period: 2026-02-15 to 2026-08-15; 25 of 180 days accrued (30/360), 20 coupons remaining.

How the price moves with yield

3. Rate sensitivity

Macaulay duration
7.8768 years
Present-value weighted time to cash flows
Modified duration
7.6675
A 1% fall in yield lifts the price about 7.67%
Convexity
71.705
Years squared
DV01 per 100 face
0.07426
0.74 for 1,000 face
Modified duration to call
4.2755
Clean price against yield from 1.5 points below to 1.5 points above the current yield, with the straight-line estimate from duration and the curved estimate that adds convexity.9095100105456Yield to maturity (%)Clean price per 100Today: Yield to maturity (%) 5.46, Clean price per 100 96.5
  • Clean price
  • Duration estimate
  • Duration and convexity estimate
  • Today

The straight line understates the price when yields fall and overstates the loss when they rise; convexity closes most of that gap.

20 payments, discounted at the yield to maturity

4. Cash flows

Remaining cash flows with discount factors and present values, per face value held
DateCouponPrincipalPeriodsDiscount factorPresent value
2026-08-1525.00000.86110.97707124.4268
2027-02-1525.00001.86110.95110223.7775
2027-08-1525.00002.86110.92582423.1456
2028-02-1525.00003.86110.90121722.5304
2028-08-1525.00004.86110.87726421.9316
2029-02-1525.00005.86110.85394821.3487
2029-08-1525.00006.86110.83125220.7813
2030-02-1525.00007.86110.80915920.2290
2030-08-1525.00008.86110.78765319.6913
2031-02-1525.00009.86110.76671919.1680
2031-08-1525.000010.86110.74634118.6585
2032-02-1525.000011.86110.72650418.1626
2032-08-1525.000012.86110.70719517.6799
2033-02-1525.000013.86110.68839917.2100
2033-08-1525.000014.86110.67010316.7526
2034-02-1525.000015.86110.65229316.3073
2034-08-1525.000016.86110.63495615.8739
2035-02-1525.000017.86110.61808015.4520
2035-08-1525.000018.86110.60165315.0413
2036-02-1525.00001,000.0019.86110.585662600.3039

Periods count coupon periods from settlement; the first is the fraction of a period left to the next coupon. The present values add up to the dirty price.

Export

Download

Bond Yield, Duration and Convexity Calculator

Operator: Abdulla Al Fahad. How tools are built and checked

A 5% semi-annual bond maturing on 15 February 2036 and bought on 10 March 2026 at a clean price of 96.50 yields 5.461% to maturity. On the 30/360 day count used here, settlement falls 25 days into a 180-day coupon period, so 0.347 of accrued interest lifts the invoice price to 96.847 per 100, modified duration is 7.67 years, and one basis point of yield moves the price by 0.0743 per 100 face, which is 0.74 on a 1,000 holding. This page converts between price and yield on the day-count conventions of spreadsheet bond functions and shows the cash flows behind every number.

Key features

  • Price to yield and yield to price, on five day-count bases
  • Accrued interest, clean price and dirty price, and the amount for the face value you hold
  • Current yield, yield to call and yield to worst
  • Macaulay and modified duration, convexity and DV01
  • Price-yield chart with the straight-line duration estimate and the duration plus convexity estimate
  • Cash-flow schedule with discount factors that add up to the dirty price, as CSV or an XLSX that includes the spreadsheet PRICE, YIELD, DURATION and MDURATION as cross-checks

How price and yield are converted, and what each risk measure means

Enter the settlement and maturity dates, the annual coupon rate, how many coupons are paid a year (annual, semi-annual, quarterly or monthly), a day count, a face value held, and either the clean price per 100 or the yield to maturity. An optional call date and call price add yield to call and yield to worst. Bonds up to 100 years from maturity are supported.

Coupon dates are counted back from maturity in whole coupon periods, with the end-of-month rule when maturity is the last day of its month, so the bond must have regular periods; a short or long first coupon is not modelled. A zero coupon is allowed. The date inputs are fixed to a year-month-day format, so there is no day-month ambiguity.

How it works

With N coupons left, coupon c per period (annual rate times 100 divided by the frequency f), redemption R, y the yield, and w the share of the current period still to run (days from settlement to the next coupon divided by days in the period), the dirty price is R / (1 + y/f)^(N - 1 + w) plus the sum of c / (1 + y/f)^(k - 1 + w) for k = 1 to N. Accrued interest is c times the accrued days over the days in the period, and the clean price is dirty minus accrued. The days come from the chosen basis: 30/360 US and 30E/360 count 30-day months, actual/actual uses the real length of the coupon period, and actual/360 and actual/365 count real days against a 360- or 365-day year. With a single coupon left the last period is discounted at simple interest, as spreadsheet bond functions do. Yield from price is found by bisection on the dirty price.

Macaulay duration is the present-value-weighted average time to the cash flows, in years; modified duration is that divided by (1 + y/f) and gives the approximate percentage price change for a one point change in yield. Convexity is the second-order term, the sum of PV x t x (t + 1) divided by the dirty price times (1 + y/f) squared times f squared, and the duration plus convexity estimate adds half of convexity times the yield change squared. DV01 is modified duration times the dirty price times 0.0001, in price units per 100 face. For yield to call the same price is treated as a bond ending at the call date and redeemed at the call price.

When to use it

  • A treasury analyst checking a broker's quoted yield, accrued interest and duration for a corporate bond before settlement.
  • A student comparing the same bond on 30/360 and actual/actual to see how the day count changes accrued interest.

Inputs

  1. Enter the settlement and maturity dates, the coupon and its frequency, and pick the day count.
  2. Choose whether you know the clean price or the yield, and enter it.
  3. Add a call date and call price if the bond is callable.
  4. Read the yield, prices and accrued interest, then the duration, convexity and DV01 and the chart.
  5. Download the cash-flow schedule, the summary or the XLSX.

Worked example

Settle 10 Mar 2026, mature 15 Feb 2036, 5% semi-annual, 30/360, price 96.50, callable 15 Feb 2031 at 102

settlement 2026-03-10
maturity 2036-02-15
coupon 5%, 2 a year, 30/360
clean price 96.50, face 1,000
call 2031-02-15 at 102

Result

Yield to maturity 5.461%, current yield 5.181%
Clean 96.5000, accrued 0.3472, dirty 96.8472 (968.47 for 1,000 face)
Macaulay 7.8768 years, modified 7.6675, convexity 71.705
DV01 0.07426 per 100 face (0.7426 for 1,000)
Yield to call 6.186%, so yield to worst is the yield to maturity

Limits

Modified duration to maturity overstates the sensitivity of a bond that will probably be called. The page shows modified duration to call alongside it so you can compare.

Yield to call is only meaningful on a coupon date. If the call date is not one of the bond's coupon dates, the page counts periods back from the call date and says so, which can differ from how a market quote treats it.

  • Read the price-yield chart as well as the numbers. The dashed straight line from duration lies below the curve on both sides, and the gap shows how much convexity matters for a move of a point or more.
  • Enter the yield and read off the price if you want to see how much a bond would fall for a given rate rise: change the yield by the move and compare the clean prices.

Common errors and how to fix them

No yield reproduces that price. Check the price, the coupon and the dates
The price is outside what the cash flows can support at any yield, from deeply negative to very large. Look for a transposed price, a wrong coupon or a wrong maturity.

Frequently asked questions

How do I know the calculation agrees with a spreadsheet?

The XLSX export includes PRICE, YIELD, DURATION and MDURATION on the same inputs beside the page's own figures. The page follows their conventions and reproduces the worked examples in their documentation, such as a clean price of 94.63436162 and a Macaulay duration of 5.993775.