The coupon rate printed on a bond tells you how much interest it pays, but not what you will actually earn if you buy it today. That depends on the price. The yield to maturity (YTM) is the single annual rate that makes the present value of every remaining coupon and the final repayment equal to the price you pay. It is the bond market’s standard way to compare bonds with different coupons, prices and maturities on one scale.
This YTM calculator solves that equation exactly. Enter the quoted price, the face value, the coupon rate and frequency, and the time to maturity (in years, or as settlement and maturity dates with a day-count convention). It returns the YTM on the usual bond-equivalent basis, the effective annual yield, the current yield (coupon divided by price) and the classic shortcut approximation, so you can see how far the quick estimate is from the true figure.
For callable bonds, switch on the call option and enter the call price and date to get the yield to call as well. The cash-flow table shows each payment discounted at the yield found. To go the other way — price from yield, plus duration and convexity — use the bond price calculator.
How to use this calculator
- Enter the clean price of the bond, in the same unit as its face value (950 for a 1,000 bond, or 95 when working per 100).
- Enter the face value, the annual coupon rate and the coupon frequency.
- Enter the time to maturity in years, or switch to dates for settlement and maturity dates and pick the day count. Between coupon dates the calculator adds accrued interest to find the price actually paid.
- For a callable bond, turn on Callable bond and enter the call price and the first call date.
- Read the YTM, effective yield, current yield and approximation; open the steps and the table to check the solution.
The formula
With a clean price , accrued interest , coupon per period , face value , coupons a year, coupons left and the next one periods away, the periodic yield solves
There is no closed-form solution. Because the price falls steadily as the yield rises, there is exactly one root; the calculator finds it with Newton’s method kept inside a bisection bracket, so it always converges.
The effective annual yield compounds the periodic rate: . The current yield ignores the pull to par: . The approximate YTM taught as a shortcut, with years to maturity, is
The yield to call uses the same equation with the call date in place of maturity and the call price in place of .
Worked example
A discount bond. A 10-year bond with a 1,000 face value and a 5% semiannual coupon trades at 950. Solving the price equation gives a YTM of 5.662% (bond-equivalent), or 5.742% as an effective annual rate. The current yield is only 5.263% because it ignores the 50 gained when the bond is repaid at par; the shortcut formula gives 5.641%, close but not exact.
Textbook check. A 20-year, 7% semiannual bond priced at 816 yields 9.00%, the result used in standard fixed-income textbooks. The Microsoft YIELD example (5.75% coupon, settled 15 February 2008, maturing 15 November 2016, price 95.04287, 30/360) returns 6.500% here, matching the documented 6.5%.
Callable premium bond. A 10-year 6% bond at 1,080 yields 4.975% to maturity. If the issuer can redeem it at 1,020 in five years, the yield to call is only 4.554% — the figure a cautious investor should rely on.
YTM, current yield and coupon rate compared
| Measure | What it counts | When it equals the coupon rate |
|---|---|---|
| Coupon rate | Interest paid ÷ face value | Always fixed by the contract |
| Current yield | Annual interest ÷ price | When the price equals face value |
| Yield to maturity | Coupons, reinvestment at the same rate and the gain or loss to par | When the price equals face value on a coupon date |
| Yield to call | Same as YTM, but redemption at the call price on the call date | Rarely; usually lower than YTM for premium bonds |
YTM is a promised yield. You earn exactly that rate only if the issuer pays every coupon on time, you hold the bond to maturity and each coupon can be reinvested at the same rate. Selling early exposes you to the price at that moment, and reinvesting at lower rates reduces the realised return.
Callable bonds and yield to worst
Many corporate bonds let the issuer repay early, typically when rates have fallen and it can refinance more cheaply. For a bond bought above par, that call cuts the time over which you collect the high coupon while the premium you paid is still lost, so the yield to call is lower than the YTM. Investors therefore quote the yield to worst: the lowest of the yield to maturity and the yields to each possible call date. Enter the first call date here to see whether the call is the binding scenario.
Frequently asked questions
What is a good yield to maturity?
There is no single good figure: compare the YTM with government bonds of the same maturity. The extra yield, called the spread, rewards the default and liquidity risk of the issuer. A much higher YTM than similar bonds usually signals higher risk.
Why is the YTM higher than the coupon rate?
Because the bond trades below face value. You collect the coupons and also gain the difference between the price paid and the face value at maturity, which raises the yield above the coupon rate.
Is YTM the same as the interest rate?
Not exactly. YTM is the discount rate implied by the market price. It moves every day with the price, while the coupon rate stays fixed for the life of the bond.
How accurate is the approximate YTM formula?
It is usually within a few hundredths to a few tenths of a point for bonds near par and moderate maturities. The gap grows with deep discounts, high premiums and long maturities, which is why the calculator also gives the exact solution.
Should I enter the clean or the dirty price?
Enter the quoted clean price. In date mode the calculator adds the accrued interest itself before solving, which is how bond markets compute yields.
Sources
- OpenStax, Principles of Finance — 10.2 Bond Valuation (yield to maturity)
- F. J. Fabozzi & F. A. Fabozzi, Bond Markets, Analysis, and Strategies, 10th ed., MIT Press (2021) — yield measures, yield to call
- Microsoft Support — YIELD function (worked example)
Last updated: