Yield to Maturity with RATE

Excel Formulas › Financial

All versionsRATE

Yield to maturity is the return a bond delivers if held to the end — the rate that makes its price equal the present value of its cash flows. RATE solves for it.


Quick formula: YTM for price B1, face B2, coupon B3, years B4:
=RATE(B4, B3, -B1, B2)
RATE finds the discount rate linking the price (paid now) to the coupons and face received.

Functions used (tap for the full reference guide):

The example

Buy at $926, $1,000 face, $50 coupon, 10 yrs → ~6%.

AB
1ItemValue
2Price$926
3YTM6.0%

The formula

The formula:

=RATE(years, coupon, -price, face) // the bond's true return

How it works

How it works:

  1. RATE(periods, coupon, −price, face) finds the rate that equates the price you pay to the cash you receive.
  2. The price is negative (cash out), the coupons and face positive (cash in).
  3. The result is the yield to maturity — the bond’s annualized return if held to maturity.
  4. It accounts for both the coupon income and any gain/loss from a discount or premium price.

YTM is iterative. RATE solves it by trial and error; if it fails to converge, supply a guess as the last argument. For real settlement dates, YIELD is the dedicated bond function.

Try it: interactive demo

Live demo

Price, face, coupon $, years.

YTM ≈

Variations

Current yield (simple)

Coupon over price:

=coupon / price

Semiannual YTM

Double the rate:

=RATE(years*2, cpn/2, -price, face)*2

YIELD (real dates)

Traded bonds:

=YIELD(settle, maturity, cpn, price, 100, freq)

Pitfalls & errors

Sign matters. Price negative (paid), coupon and face positive (received), or RATE returns nonsense.

May not converge. Add a guess argument if RATE errors.

YTM ≠ current yield. YTM includes the price gain/loss; current yield is just coupon/price.

Practice workbook

📊
Download the free Yield to Maturity with RATE practice workbook
A YTM sheet with current-yield, semiannual, and YIELD variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I calculate yield to maturity in Excel?
Use =RATE(years, coupon, -price, face). It solves for the rate that makes the price equal the present value of the coupons and face value.
Why is the price negative in the formula?
RATE uses cash-flow signs: the price is money paid out (negative) and the coupons and face are received (positive).
What's the difference between YTM and current yield?
Current yield is just coupon/price; YTM also accounts for the gain or loss from buying at a discount or premium and holding to maturity.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Bond price · IRR · Effective interest rate

Function references: RATE