Bonds look simple: you lend money, receive regular interest (the coupon) and get your money back at maturity. But once a bond trades away from its face value, its real return depends on the price you pay. Our bond calculator works out the yield to maturity, yield to call, current yield, accrued interest, clean and dirty price and duration, so you can compare bonds properly.
How to use the calculator
- Face value: the amount repaid at maturity, often 1,000 or 100.
- Coupon rate: the yearly interest as a percentage of face value.
- Clean price: the quoted market price, without accrued interest.
- Years to maturity.
- Coupons: semi-annual, annual, quarterly or monthly.
- Call price and years to call: for callable bonds; leave blank otherwise.
- Days since last coupon: to calculate accrued interest.
The default example is a 1,000 bond with a 5% semi-annual coupon, priced at 950, with 10 years to maturity:
- Yield to maturity: 5.662%
- Current yield: 5.263%
- Macaulay duration: 7.927 years
- Modified duration: 7.709
Current yield
The bond pays 50 a year (5% of 1,000). At a price of 950, the current yield is 50 ÷ 950 = 5.263%. It is a quick measure of income, but it ignores the gain or loss at maturity.
Yield to maturity
Yield to maturity (YTM) is the single rate that makes the present value of all future coupons and the final repayment equal to the price you pay. It is the total yearly return if you hold to maturity and reinvest coupons at the same rate. There is no direct formula, so the calculator solves for it numerically.
Buying at 950 means you also gain 50 when the bond is repaid at 1,000. That is why the YTM (5.662%) is higher than the coupon and the current yield.
| Price | Current yield | Yield to maturity | Description | |--:|--:|--:|---| | 950 | 5.263% | 5.662% | Discount | | 1,000 | 5.000% | 5.000% | Par | | 1,050 | 4.762% | 4.377% | Premium |
Bond prices and yields move in opposite directions: when market interest rates rise, existing bond prices fall until their yields match the market.
Yield to call
Callable bonds can be repaid early by the issuer, usually when rates fall. If the 1,050 premium bond can be called at 1,000 in 3 years, the yield to call is just 3.238%, because you lose the 50 premium over three years instead of ten. For bonds trading above the call price, look at the lower of YTM and yield to call (sometimes called yield to worst).
Clean price, dirty price and accrued interest
Between coupon dates, interest builds up. A buyer pays the seller this accrued interest on top of the quoted (clean) price:
Sixty days after the last coupon on the default bond, accrued interest is 8.22, so the dirty price is 958.22. The buyer then receives the full next coupon, which repays the accrued interest.
Duration
Duration measures how sensitive a bond's price is to interest rate changes.
- Macaulay duration is the weighted average time until you receive the bond's cash flows, in years.
- Modified duration estimates the percentage price change for a 1-point change in yield.
With a modified duration of 7.709, if yields rise by 1 percentage point, the bond's price falls by about 7.7%, from 950 to roughly 877. Longer maturities and lower coupons mean higher duration and more interest rate risk.
Using the results
- Compare bonds with different coupons and prices using YTM, not the coupon.
- Manage risk by matching duration to when you need the money.
- Check the call risk on premium bonds.
- Consider tax. Some bonds are tax-exempt, which changes the comparison.
For a simple fixed-rate saving, the CD calculator may be easier. To value any stream of cash flows, the present value calculator and IRR calculator are useful.
Frequently asked questions
Why is yield to maturity different from the coupon rate?
The coupon is fixed on the face value. YTM also accounts for the price you pay and the gain or loss at maturity, so it differs whenever the bond trades away from face value.
What is a premium bond?
A bond priced above its face value, usually because its coupon is higher than current market rates. Its YTM is lower than its coupon.
What is the dirty price?
The clean price plus accrued interest since the last coupon. It is the amount you actually pay when buying a bond.
What does a duration of 7.7 mean?
The bond's price will change by roughly 7.7% for each 1 percentage point change in yields, in the opposite direction.
Try it yourself
Run your own numbers with our free tool: Bond calculator. No sign-up, and it works on any device.