Skip to content

Yield to Maturity (YTM) Calculator

Updated:

Calculate the Yield to Maturity (YTM) of a bond from its current price, annual coupon payment, face value, and years to maturity. YTM is the total annualized return you would earn by holding the bond until it matures.

Calculate Yield to Maturity (YTM) of Your Bond

Input Fields
P
$
Enter the current price of the bond
C
$
Enter the annual coupon payment
F
$
Enter the face value of the bond (usually $1000)
n
Enter the number of years to maturity
If enabled, the result will update automatically when you change any value.

Yield to Maturity (YTM) Formula

Formula
\[ P = \sum_{t=1}^{n} \frac{C}{(1 + r)^t} + \frac{F}{(1 + r)^n} \] \[ \text{YTM} = r \quad \text{where the equation above holds} \]

Where:

  • \(P\) — current market price of the bond ($)
  • \(C\) — annual coupon payment ($)
  • \(F\) — face value (par value) of the bond ($)
  • \(n\) — number of years until maturity
  • \(r\) — yield to maturity (as a decimal)

This equation states that the bond's price equals the present value of all future cash flows: every coupon payment discounted to today, plus the face value repaid at maturity. Because \(r\) appears in the exponents, it cannot be isolated algebraically — it is found by numerical iteration, which is exactly what this calculator does.

For a quick hand estimate, the approximate YTM formula is often used:

\[ YTM \approx \frac{C + \frac{F - P}{n}}{\frac{F + P}{2}} \]

It spreads the gain or loss at maturity evenly over the holding period and averages the invested capital. It is reasonably accurate for bonds with long maturities trading near par, but the calculator always returns the exact, iteratively solved rate.

Yield to Maturity (YTM) – Calculation Example

Example: a bond trades at $950, pays a $50 annual coupon, has a face value of $1,000, and matures in 10 years.

\[ 950 = \sum_{t=1}^{10} \frac{50}{(1 + r)^t} + \frac{1000}{(1 + r)^{10}} \]

Solving this equation iteratively for \(r\):

\[ r \approx 0.0567 \]

Result: the yield to maturity is approximately 5.67% per year.

For comparison, the approximation formula gives \(\frac{50 + (1000 - 950)/10}{(1000 + 950)/2} = 5.64\%\), close to the exact answer but slightly lower.

How to Use the Calculator

  1. Enter the Current Price of Bond — the price you would actually pay for the bond in the market today (e.g. 950).
  2. Enter the Coupon Payment (Annual) — the total dollar amount of interest the bond pays per year (e.g. 50 for a 5% coupon on a $1,000 bond).
  3. Enter the Face Value of Bond — the amount repaid at maturity, usually $1,000 for corporate bonds.
  4. Enter the Years to Maturity — the number of full years remaining until the bond matures.
  5. Read the Yield to Maturity (YTM) result, expressed as an annual percentage rate.

All inputs must be positive; if any value is zero or negative, the calculator returns an error. Use the annual coupon total, not the coupon rate — a 5% coupon on $1,000 face value means entering 50, not 5.

What Is Yield to Maturity?

Yield to maturity is the single discount rate that makes the present value of all a bond's future cash flows equal to its current price. In plain terms, it is the annualized total return you would earn if you bought the bond today, held it until maturity, and reinvested every coupon payment at the same rate. Because it captures all three sources of bond return — coupon income, the gain or loss when the face value is repaid, and the time value of money — YTM is the standard yardstick for comparing bonds with different prices, coupons, and maturities.

YTM moves inversely to price. A bond trading below face value (at a discount) has a YTM higher than its coupon rate, because you also pocket the difference between the $1,000 you receive at maturity and the lower price you paid. A bond trading above face value (at a premium) has a YTM below its coupon rate. In the example above, the $950 discount bond with a 5% coupon yields 5.67% — the extra return comes from the $50 capital gain spread over ten years.

YTM assumes coupons are reinvested at the same rate and that the issuer does not default or call the bond early. It is therefore a promised yield, not a guaranteed one. When comparing investments, YTM plays the same role for bonds that compound annual growth rate (CAGR) plays for stocks and annual percentage yield (APY) plays for savings accounts: an annualized figure that makes unlike instruments comparable.

Relationship Between Price and YTM

Bond price Position vs. face value YTM vs. coupon rate
Price < Face value Discount YTM > coupon rate
Price = Face value At par YTM = coupon rate
Price > Face value Premium YTM < coupon rate

This inverse relationship is the foundation of bond investing: when market interest rates rise, existing bond prices fall (their YTM rises to match the market), and vice versa.

Assumptions and Limitations

  • Held to maturity: YTM assumes you hold the bond until it matures. If you sell earlier, your actual return depends on the market price at that time and can differ significantly.
  • Coupon reinvestment: all coupons are assumed to be reinvested at the YTM itself. If reinvestment rates are lower, your realized return will be lower.
  • Annual coupons: the calculator assumes one coupon payment per year. Many bonds pay semi-annually; for those, divide the coupon and double the number of periods to get a comparable semi-annual yield, then double it for a rough annual figure.
  • No default or call: the calculation ignores credit risk and call provisions. A callable bond can be redeemed early, cutting short the assumed cash flows. For yield on the worst-case early redemption, use yield to call instead.
  • Before taxes and fees: YTM is a pre-tax, gross figure; transaction costs and income tax on coupons reduce the actual return.

If you want to work in the other direction — finding what a bond is worth at a given required yield — use the Bond Present Value calculator. The same discounting logic behind YTM underlies the Net Present Value (NPV) method used for general investment appraisal.

Frequently Asked Questions

How do I calculate YTM by hand without a calculator?

Use trial and error with the pricing equation. Pick a rate, discount the coupons and face value, and compare the result to the bond's price. If your discounted value is too high, the rate is too low — increase it and try again. Two or three rounds usually narrow it down. You can also start from the approximation formula and refine around it, since the exact answer typically lies within a few basis points for long bonds trading near par.

What is a good yield to maturity?

There is no universal "good" number — YTM must be compared with alternatives of similar risk, such as government bond yields, savings rates, or inflation. A YTM far above similar-maturity government bonds usually signals higher credit risk: the market is pricing in a chance of default. Also check whether the yield is negative in real terms after inflation and taxes. Compare like with like before drawing conclusions.

What is the difference between YTM, coupon rate, and current yield?

The coupon rate is the fixed annual interest divided by face value. Current yield is the annual coupon divided by the current price — it ignores the gain or loss at maturity. YTM captures everything: coupons, the discount or premium, and the time value of money, so it is always the most complete of the three. For a discount bond, coupon rate < current yield < YTM; for a premium bond, the order reverses.

How do I use this calculator for a bond that pays coupons semi-annually?

Most US bonds pay twice a year. To adapt the inputs, divide the annual coupon by 2, double the number of years, and treat the result as a semi-annual yield — then multiply it by 2 for an approximate annual YTM. Strictly, the annual equivalent is slightly higher due to compounding: \( (1 + r_s)^2 - 1 \). For a quick comparison the doubling method is usually close enough.

Can yield to maturity be negative?

Yes. If you pay more than the sum of all coupons plus the face value, your total return is negative even though you keep receiving income. This has actually happened with government bonds in Japan and parts of Europe. In this calculator, a negative result appears when the price is high enough relative to the cash flows. A negative YTM means you are guaranteed a loss if you hold to maturity and the issuer pays in full.

Why does the exact YTM differ from the approximation formula?

The approximation spreads the maturity gain or loss evenly across years and uses a simple average of price and face value as the invested capital. It ignores compounding and the timing of cash flows, so it is least accurate for short maturities, deep discounts, or large premiums. The exact answer from the calculator always satisfies the present value equation precisely, so trust it whenever the two disagree.

Is YTM the return I will actually get?

Only if you hold to maturity, reinvest every coupon at the same rate, and the issuer never defaults or calls the bond — three assumptions that rarely hold perfectly. Sell earlier and your return depends on the price that day; reinvest coupons at lower rates and your realized return falls below the YTM. Treat YTM as a promised, pre-tax benchmark for comparison, not a guaranteed outcome.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “Yield to Maturity (YTM) Calculator”