Toolvito

Works on this device

Bond Calculator

Enter the face value, the coupon rate and the time to maturity of a bond. With a yield, the calculator gives the price. With a price, it gives the yield to maturity. Other choices cover the yield to call, duration and convexity, zero-coupon bonds, accrued interest, Treasury bills and the tax-equivalent yield.

Enter your values

Use this to find what a bond is worth at a yield that you choose.

Your values

The amount the bond pays back at maturity. Use at most 2 decimal places.

The yearly interest of the bond as a percent of its face value. Type 0 for a bond without coupons.

It must hold a whole number of coupon periods, for example 7.5 years with coupons twice a year.

The yield that you want to price the bond at. This tool has no market yields.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to work out, for example Bond price from a yield or Yield to maturity from a price.
  2. Enter the face value and the coupon rate of the bond, and choose how often the coupons are paid.
  3. Enter the time to maturity in years. It must hold a whole number of coupon periods, such as 7.5 years for coupons twice a year.
  4. Enter the yield, or the price. A price can be an amount of money or a percent of face value.
  5. Choose Calculate.

The conventions this tool uses

  • A bond pays the same coupon at the end of every coupon period, and its face value together with the last coupon.
  • A yield is a nominal yearly rate, compounded at the coupon frequency. The rate for one period is the yield ÷ payments a year. This is the usual way bond yields are quoted.
  • The price is a clean price on a coupon date. Between coupon dates the buyer also pays accrued interest, which has its own calculation with the day count you choose.
  • A yield from a price has no closed formula. It is found by a search over rates from −99% to 10,000% for one coupon period.
  • Yields are shown with 3 decimal places and money is rounded to cents at the end.

The formulas

  • Price = coupon × (1 − (1 + i)^−n) ÷ i + face value ÷ (1 + i)^n, with i the rate for one period and n the number of coupons left.
  • Yield to maturity: the rate at which that price formula gives the price you typed. Yield to call uses the call price and the call date in place of the face value and the maturity.
  • Current yield = coupons of one year ÷ price.
  • Macaulay duration = sum of (time of each payment × its present value) ÷ price. Modified duration = Macaulay duration ÷ (1 + i).
  • Zero-coupon bond: price = face value ÷ (1 + yield ÷ m)^(m × years).
  • Accrued interest = coupon × days since the last coupon ÷ days in the period, counted by the day count rule.
  • Treasury bill: discount rate = (face value − price) ÷ face value × 360 ÷ days. Investment yield = (face value − price) ÷ price × 365 ÷ days.
  • Tax-equivalent yield = tax-free yield ÷ (1 − tax rate).
  • Perpetual bond: price = coupon per year ÷ yield.

Worked example

A bond has a face value of 1,000, a coupon rate of 8% paid twice a year, and 10 years to maturity. Each coupon is 40 and there are 20 of them. At a yield of 10% the rate for one period is 5%. The coupons are worth 498.49 today and the face value 376.89, so the price is 875.38.

The other way round: if you pay 875.38 for that bond, the yield to maturity is 10%.

A zero-coupon bond that pays 1,000 in 10 years, at a yield of 6% compounded twice a year, costs 1,000 ÷ 1.03^20 = 553.68.

Accrued interest: a 5% bond with a face value of 1,000 paid its last coupon on 15 March. On 1 June, by the 30/360 rule, 76 days have passed, so the accrued interest is 1,000 × 5% × 76 ÷ 360 = 10.56.

Treasury bill: a bill with a face value of 1,000 and 135 days to run costs 985. The discount rate is 15 ÷ 1,000 × 360 ÷ 135 = 4.000%. The investment yield is 15 ÷ 985 × 365 ÷ 135 = 4.117%.

Tax-equivalent yield: a tax-free bond yields 3% and your tax rate is 30%. A taxable bond must yield 3 ÷ 0.70 = 4.286% to leave you the same.

Day counts for accrued interest

The day count is in the terms of the bond or follows the custom of its market. As a guide, bonds of companies and of local governments in the United States often use 30/360, government bonds of the United States and many European bonds use Actual/Actual, and money market paper uses Actual/360 or Actual/365. Check the terms of your bond.

Day count rules in this tool
Rule Days counted Days in the year
30/360 (bond basis) Each month as 30 days 360
30E/360 (Eurobond basis) Each month as 30 days; a 31st is the 30th 360
Actual/Actual (ICMA) Real days Real days in the coupon period × payments a year
Actual/360 Real days 360
Actual/365 (fixed) Real days 365

Limits you should know

  • The result is arithmetic on the figures you typed. It is not investment advice, not tax advice and not a forecast.
  • This tool has no market data: no live prices, no yield curves and no rates of any government scheme. It cannot give the value of a United States savings bond, which comes from official tables.
  • A yield to maturity holds only if the issuer makes every payment, you keep the bond to maturity and every coupon is reinvested at the same yield.
  • The tax rate in the tax-equivalent yield starts empty. The Try an example button fills an example value, which is not a current tax rate.
  • One yield is used for all payments. Pricing with a curve of spot rates, floating rates, inflation-linked bonds, convertible bonds and option-adjusted prices of callable bonds are not covered.
  • Markets have their own customs for odd first periods, ex-dividend dates and month-end dates. These are not applied.
  • The Treasury bill formulas are the usual ones for bills of the United States. Other markets count the days of the year in other ways.

Related tools