Skip to content

Bond Yield Calculator: Price, Yield to Maturity and Duration

Bond price from yield or yield to maturity from price, with accrued interest, duration and yield to call

Calculator Details

Clean price (per 100):99.309See results ↓

Find the price from a yield, or the yield to maturity from a price

Yearly interest as a percent of face value (0 for a zero-coupon bond or strip)

Annual yield, compounded at the coupon frequency. Yield as of Nov 26, 2026: 3.40% (Bank of Canada, Government of Canada 5-year benchmark bond yield).

When you buy the bond (today by default)

When the face value is repaid

Par amount you hold; prices are quoted per 100 of face value

Canadian and US bonds pay semi-annually

Actual/365 for Canadian bonds, actual/actual for US Treasuries, 30/360 for US corporates

Your Results

Clean price (per 100): 99.309

Clean price (per 100)

99.309

At a 3.400% yield: discount to par

You pay (dirty price)

$1,008.85

100.885 per 100 on $1,000.00 face

Accrued interest

$15.76

177 days since the 2026-06-01 coupon

Current yield

3.273%

Coupon ÷ clean price

Modified duration

4.518

Macaulay 4.595 years

If yields rise 1%

-4.438

Price change per 100 (convexity 23.912)

At a 3.400% yield the bond’s clean price is 99.309 per 100 (a discount), plus 1.576 of accrued interest; a 1% rise in yields would change the price by about -4.44.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Price–yield curve

Price–yield curve

Detailed Breakdown

Remaining cash flows
DateCouponPrincipalPresent value
2026-12-01$16.25—$16.24
2027-06-01$16.25—$15.97
2027-12-01$16.25—$15.70
2028-06-01$16.25—$15.44
2028-12-01$16.25—$15.18
2029-06-01$16.25—$14.93
2029-12-01$16.25—$14.68
2030-06-01$16.25—$14.43
2030-12-01$16.25—$14.19
2031-06-01$16.25—$13.95
2031-12-01$16.25$1,000.00$858.12

On $1,000.00 of face value. Present values at the yield to maturity add up to the dirty price.

How This Calculator Works

How the bond price and yield are calculated

Dirty price = Σ cash flow ÷ (1 + y ÷ 2)^(periods to each payment)

Clean price = 100.885 − accrued 1.576 = 99.309

Accrued = 3.25% × 100 ÷ 2 × 177 days ÷ days in the period

Modified duration = 4.595 ÷ (1 + 3.400% ÷ 2) = 4.518

These are the same formulas as Excel’s PRICE, YIELD, DURATION and MDURATION. Bond prices are quoted “clean”, without the interest earned since the last coupon; the buyer pays the seller that accrued interest on top, so the cash price is the dirty price.

Frequently Asked Questions

What is yield to maturity?

The annual return you earn if you buy the bond at today’s price, receive every coupon and hold it until it repays its face value, assuming the coupons are reinvested at the same yield. It is the discount rate that makes the present value of the remaining payments equal to the price you pay.

Why do bond prices fall when yields rise?

A bond’s coupons are fixed, so when new bonds pay more, an existing bond has to sell for less to give a buyer the same yield. The size of the move depends on duration: the default 3.25% bond has a modified duration of 4.573, so a 1% rise in yields lowers its price by about 4.566 per 100.

What is the difference between the clean and dirty price?

Bonds are quoted at a clean price, without the interest built up since the last coupon. When you buy, you also pay the seller that accrued interest, so the cash (dirty or invoice) price is clean + accrued. In the example the clean price is 101.159 and the accrued interest 1.442 per 100.

How is accrued interest calculated on Canadian bonds?

Government of Canada and most Canadian bonds use an actual/365 day count: accrued interest = annual coupon × days since the last coupon ÷ 365. US Treasuries use actual/actual (the days in the coupon period) and US corporate bonds 30/360. Choose the day count that matches your bond.

What is the difference between current yield and yield to maturity?

Current yield is just the coupon divided by the clean price (3.213% in the example). It ignores the gain or loss as the price moves to par at maturity, which yield to maturity includes. For a bond bought at a premium, current yield is higher than the yield to maturity.

What is duration and convexity?

Macaulay duration is the weighted average time, in years, until you receive the bond’s cash flows. Modified duration turns that into price sensitivity: the percentage price change for a 1-point change in yield. Convexity corrects for the curve in the price–yield relationship, which makes prices rise more than they fall for the same yield move.

What is yield to call?

For a callable bond, the yield if the issuer repays it early on the call date at the call price. Issuers call bonds when rates have fallen, so for a bond trading above its call price the yield to call is often the more realistic figure. Turn on “Callable” under Advanced options.

How do I value a strip or zero-coupon bond?

Enter a 0% coupon. The price is then simply 100 ÷ (1 + yield ÷ 2)^(number of half-years to maturity), and its duration equals its term. Canadian strip bonds are taxed on the accrued interest each year even though no interest is paid, so they are usually held in an RRSP or TFSA.

Prices, yields and durations follow Excel's PRICE, YIELD, DURATION and MDURATION formulas on the chosen day count (actual/365 for Canadian bonds, actual/actual for US Treasuries, 30/360 for US corporates), with coupon dates stepped back from maturity. Canadian accrued interest uses actual/365 as in the IIAC conventions; dealers may differ slightly in how they treat the last coupon period, ex-dividend dates and settlement days. Not included: commissions and dealer spreads, taxes, credit risk, sinking funds and step-up, floating, inflation-linked (Real Return) or amortizing bonds. The starting yield is an example, not a live market rate. For information only, not financial advice.

Bond Yield Calculator: Price, Yield to Maturity and Duration

By FindMySum · Last reviewed

A bond pays fixed coupons and returns its face value at maturity, but its price changes every day with interest rates. This bond yield calculator turns a price into a yield to maturity or a yield into a price, and adds the figures you need to understand the bond: accrued interest, the dirty (cash) price, current yield, Macaulay and modified duration, convexity and, for callable bonds, the yield to call.

Price and yield

The price of a bond is the present value of its remaining coupons and its face value, discounted at the yield to maturity. With coupons paid f times a year:

Price = Σ cash flow ÷ (1 + y ÷ f)^(periods until that payment)

The first period is usually a fraction, because you rarely buy on a coupon date. The calculator uses the same formula as Excel's PRICE function: the periods to each payment are (k − 1 + days to the next coupon ÷ days in the period), counted on the bond's day-count convention. Going the other way, from price to yield, has no closed form, so the calculator solves for the yield numerically, as Excel's YIELD function does.

When yields are above the coupon rate, the bond trades at a discount (below 100); when yields are below the coupon, at a premium.

Clean price, dirty price and accrued interest

Bond prices are quoted clean, without the interest that has built up since the last coupon. When you buy, you pay the seller that accrued interest on top, so the amount you actually pay is the dirty (invoice) price.

How the days are counted depends on the market:

  • Canada: actual/365. Accrued interest = annual coupon × days since the last coupon ÷ 365, the convention in the IIAC's Canadian fixed income conventions.
  • US Treasuries: actual/actual, using the actual days in the coupon period.
  • US corporate and municipal bonds: 30/360, treating every month as 30 days.

Duration and convexity

Macaulay duration is the average time until you receive the bond's cash flows, weighted by their present values. Modified duration = Macaulay ÷ (1 + y ÷ f) is the bond's price sensitivity: a modified duration of 4.5 means the price falls about 4.5% if yields rise by one percentage point. Convexity measures how that sensitivity changes; it makes prices rise a little more than they fall for the same move in yields. The calculator combines both to estimate the price change for a 1% rise.

A worked example

The calculator starts with a Canadian bond paying a 3.25% coupon twice a year and maturing on 1 December 2031, with $1,000 of face value. Its starting yield is the latest Government of Canada 5-year benchmark yield published by the Bank of Canada (3.35% on 9 November 2026), so your screen may differ slightly from this example, which uses a round 3.00% yield and settles on 10 November 2026:

  • 11 coupons remain; 162 days have passed since the 1 June 2026 coupon.
  • Clean price: 101.159 per 100, a premium because the coupon is above the yield.
  • Accrued interest: 3.25 × 162 ÷ 365 = 1.442 per 100.
  • Dirty price: 102.602, so you pay $1,026.02.
  • Current yield: 3.25 ÷ 101.159 = 3.213%.
  • Modified duration 4.573 and convexity 24.43: a 1% rise in yields would cut the price by about 4.6 per 100.

The calculator's results match Microsoft's published examples for PRICE (94.63436), YIELD (6.5%), DURATION (10.9191) and MDURATION (5.73567).

Callable bonds and yield to call

Many corporate bonds let the issuer repay early, usually when rates have fallen. For those, the yield to call assumes the bond is repaid on the call date at the call price. If a bond trades above its call price, the yield to call is often lower than the yield to maturity and is the more cautious figure to use.

Zero-coupon bonds and strips

Set the coupon to 0% for a zero-coupon bond or a Canadian strip bond. The price is just the face value discounted to today, and the duration equals the time to maturity, which makes strips very sensitive to rate changes. In Canada the interest on strips is taxed as it accrues, even though nothing is paid until maturity.

Limits

The calculator handles plain fixed-coupon bonds. It doesn't model floating-rate, inflation-linked, step-up or amortizing bonds, credit risk, dealer spreads or taxes, and dealers' systems can differ slightly in day counts and settlement. Use it to understand and check a quote, then confirm the figures with your broker.

More questions

Are bonds better than GICs?

They do different jobs. A GIC usually can't be sold before maturity but its value never changes. A bond can be sold any day, but its price moves with interest rates. Government of Canada bonds often yield a little less than GICs from big banks; the trade-off is that you can sell them.

What happens to my bond if I hold it to maturity?

If the issuer doesn't default, you receive every coupon and the face value at maturity, whatever happens to prices in between. Your return is then the yield to maturity you locked in when you bought, adjusted for the rate at which you reinvest the coupons.

Why does a bond bought at a premium have a lower yield than its coupon?

You pay more than the 100 you'll get back at maturity, so part of each coupon is really a return of the premium. Yield to maturity spreads that loss over the remaining years, so it comes out below the coupon rate.

Where can I find current Government of Canada bond yields?

The Bank of Canada publishes benchmark bond yields for 2, 3, 5, 7, 10 and long-term Government of Canada bonds every business day. Brokers show live quotes for individual issues.

How are bond returns taxed in Canada?

Coupons are interest, taxed at your full marginal rate. A gain or loss when you sell or the bond matures is a capital gain or loss, half of which is taxable. Buying a bond at a discount turns some of the return into a capital gain, which is why discount bonds suit taxable accounts.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy