Toolstia / Bond yield calculator

Bond yield calculator

Enter a bond face value, coupon rate, years to maturity and either its market price or the yield you want. The calculator finds the yield to maturity or the fair price, along with the current yield, the total coupon income and the Macaulay and modified duration.

Yield to maturity is found by trial and error until the present value of every payment equals the price. It assumes you hold to maturity and reinvest coupons at the same yield. This is for learning, not investment advice.

How it works

  1. Choose whether to find the yield or the price.
  2. Enter the face value, coupon rate, years and payment frequency.
  3. Enter the price or yield and read the results.

Yield to maturity

It is the single yearly rate that makes the present value of every coupon and the final repayment equal to the price. The tool finds it by repeated halving until it matches.

Premium and discount

A bond priced below face value is at a discount and its yield is above the coupon rate. Above face value it is at a premium and the yield is below the coupon rate.

Duration

Macaulay duration is the weighted average time to receive the payments. Modified duration estimates the percentage price change for a 1 percent move in yield.

Whole coupon periods

Years must fit a whole number of coupon periods. Ten years with half-yearly coupons is 20 payments.

Questions

Is this investment advice?

No. It is a learning tool, and real bond pricing also involves accrued interest and day-count rules. Everything happens in your browser, and nothing you enter is sent anywhere.

What is the current yield?

It is the annual coupon divided by the price. It ignores any gain or loss at maturity.

Why can I not use 7.3 years?

With the frequency you chose, 7.3 years is not a whole number of coupon periods. Choose monthly payments or a value that fits.