Yield to Maturity Calculator
Calculate the yield to maturity of a bond.
Estimates only, not financial, tax, or legal advice. See our Terms and Privacy Policy.
Yield to maturity (YTM) is the most complete measure of a bond's return. Unlike the coupon rate, which only describes the fixed interest on par value, YTM rolls in every cash flow, all the coupons plus the gain or loss from buying above or below par, into one annualized rate. It's the return you'll actually earn if you buy at today's price and hold to maturity.
For a general look at how compounding builds a balance over time, try our compound interest calculator.
This calculator solves for the rate that makes the present value of all the bond's cash flows equal its market price, giving you a single number to compare bonds, including municipal bonds, trading at different prices and coupons.
How does this calculator work?
Enter the bond's par value, market price, annual coupon rate, and years to maturity.
Yield to maturity is the single rate that makes the present value of all coupons plus the par value equal today's price, your total return if you hold to maturity.
It captures both coupon income and any gain or loss from buying at a discount or premium, making it more complete than coupon income alone.
Worked example
A bond with $1,000 par and a 5% coupon ($50/yr) has 10 years left and trades at $900, below par.
- Par value
- $1,000
- Coupon rate
- 5% ($50/yr)
- Market price
- $900
- Years to maturity
- 10
- Yield to maturity
- 6.38%
How the numbers work
YTM is the single rate that makes the bond's future cash flows worth exactly its $900 price today: ten annual $50 coupons plus the $1,000 returned at maturity. Solving for that rate gives 6.38%.
It lands above the 5% coupon because you bought the bond at a discount, paying $900 for something that repays $1,000. That $100 gain at maturity is folded into the yield, lifting it above the coupon rate alone.
Although the coupon is only 5%, the YTM is 6.38%, higher because you bought at a $100 discount that you'll recover as a gain when the bond repays $1,000 at maturity. That extra gain lifts your total return above the coupon.
The reverse holds for a premium bond bought above par: its YTM falls below the coupon rate, because the price erodes toward par by maturity.
Discount, premium, and the price-yield seesaw
A bond's price and its yield move in opposite directions. When market rates rise, existing bonds with lower coupons fall in price (trading at a discount) so their YTM rises to match; when rates fall, older higher-coupon bonds rise above par (a premium) and their YTM drops. YTM captures this automatically: it's the yield that reconciles the fixed coupons with whatever price you actually pay.
Two caveats. YTM assumes you hold to maturity and that coupons are reinvested at the same yield, a real-world simplification. And it ignores taxes and any call feature that could repay the bond early, both of which can change your realized return.
Yield to Maturity Calculator glossary
- Par Value
- The amount repaid at maturity, typically $1,000.
- Market Value
- The bond's current price, which may differ from par.
- Annual Coupon Rate
- The bond's yearly interest as a percent of par value.
- Years to Maturity
- How long until the bond repays its par value.
- Yield to Maturity
- The total annualized return if the bond is held until it matures.
- Net Present Value
- The present value of the bond's cash flows at your discount rate.
- Coupon Rate
- The bond's fixed annual interest as a percent of par, distinct from YTM, which also reflects the purchase price.
- Current Yield
- Annual coupon divided by current market price, a simpler measure than YTM that ignores the gain or loss at maturity.
- Discount / Premium
- A price below par is a discount (YTM above the coupon); above par is a premium (YTM below the coupon).
- Callable Bond
- A bond the issuer can repay early, which can cut your realized yield short of the YTM.
Yield to Maturity Calculator FAQs
What's the difference between coupon rate and YTM?+
The coupon rate is fixed interest on par value. YTM also includes the gain or loss from the price differing from par, so it reflects your total return.
Why is YTM higher when a bond trades at a discount?+
Buying below par means you also earn the difference at maturity, on top of the coupons, raising your overall yield.
Related Calculators
Bond Price Calculator
Price a bond from its coupon rate, face value, and yield to maturity.
InvestingMunicipal Bond Calculator
Calculate the tax-equivalent yield and return of a municipal bond.
InvestingTax-Equivalent Yield Calculator
Compare taxable and tax-free yields on an equal footing.
InvestingPresent Value of an Annuity Calculator
Value a stream of equal future payments in today's dollars.
SavingsCD Calculator
Calculate interest earned on a certificate of deposit.
InvestingDividend Yield Calculator
Calculate a stock's dividend yield and the income a given share count produces.