Bond Calculator: Price and Yield

Find what a bond is worth at today's market yield, or the yield to maturity you'd earn at a given price, with coupons paid twice a year.

  • ✓ Free
  • ✓ No sign-up
  • ✓ Runs in your browser
$
%
years
%
$

Add this calculator to your website

Copy the code below and paste it into your page’s HTML (in WordPress, use a Custom HTML block). It’s free, with no sign-up and no ads inside the calculator.

Preview

Please keep the link under the calculator. It tells your readers where the calculator comes from.

How the price is calculated

Price = C × (1 − (1 + y)^−n) ÷ y + Face ÷ (1 + y)^n

C is each coupon (face × coupon rate ÷ 2), y is the yield ÷ 2 and n is the number of half-years left. Yield to maturity is found by trying yields until this formula matches the price.

Price of a 10-year, 4% bond at different yields

Market yieldPrice per $1,000
2%$1,180.46
3%$1,085.84
4%$1,000.00
5%$922.05
6%$851.23

When the market yield equals the coupon (4%), the bond trades at its face value. Above it, at a discount; below it, at a premium.

Comparing with a guaranteed option? See the GIC Calculator.

Frequently asked questions

Why do bond prices fall when interest rates rise?

A bond’s coupon is fixed. When new bonds pay more, buyers will only take an older, lower-paying bond at a discount, so its price drops until its yield matches the market. When rates fall, the opposite happens.

What is yield to maturity?

The total yearly return you earn if you buy the bond at today’s price, collect every coupon and hold it until it repays its face value. It includes both the coupons and any gain or loss from the price you paid.

How often do Canadian bonds pay interest?

Government of Canada and most corporate bonds pay coupons twice a year, which is what this calculator assumes.

What is a clean vs dirty price?

This calculator gives the clean price, as if you bought on a coupon date. Between coupon dates, buyers also pay the seller the interest earned since the last coupon (accrued interest), which makes the dirty price.