Yield to Maturity Calculator
A 5% bond with 10 years left, bought at $950 for a $1,000 face value, yields 5.66% to maturity. Current yield on the same bond is 5.26%, coupons total $500, and the capital gain adds $50 for a 57.89% total return over the decade.
Enter the bond terms and the price you paid. The yield is solved by bisection on the exact price formula, so the answer matches what a spreadsheet solver returns, not a shortcut estimate.
YTM is the rate that makes every coupon plus the face value, discounted, land exactly on the price you paid. All calculations run in your browser, nothing is uploaded.
| Yield to maturity | |
| Effective annual yield | |
| Current yield | |
| Coupon payment | |
| Coupon income per year | |
| Total coupon income to maturity | |
| Capital gain or loss at maturity | |
| Total return over the life | |
Price = C/(1+r) + C/(1+r)^2 + ... + C/(1+r)^n + F/(1+r)^n. The calculator brackets the rate between two guesses, halves the bracket about 200 times, and reports the rate that prices the bond at what you paid. All calculations run in your browser, nothing is uploaded.
Enter a bond's price, coupon rate and years to maturity and get the exact yield to maturity, current yield, coupon income, capital gain and total return.
Key takeaways
- YTM is the single rate that discounts every coupon and the face value back to the price you paid, and it has no closed form solution
- A $1,000 face, 5% coupon, 10 year bond bought at $950 yields 5.66% a year, against a 5.26% current yield
- The shortcut formula gives 5.64% on that bond; bisection gives 5.66%
- Buy below face and YTM beats the coupon rate, buy above face and it lands below
- YTM assumes coupons are reinvested at the same rate and the bond is held to maturity
On this page
- What yield to maturity measures
- The price formula, term by term
- Why this calculator solves by bisection instead of a shortcut
- Worked example: a 5% bond bought at $950
- Premium, par and discount: three prices, one bond
- Current yield, coupon rate and YTM compared
- What YTM assumes, and where it stops being true
- Where to check Treasury yields in 2026, and the tax angle
What yield to maturity measures
Yield to maturity is the single interest rate that makes the present value of every payment a bond will make land exactly on the price you pay for it. Discount each coupon and the face value back to today, add the pieces, and the rate that makes the total equal your purchase price is the yield to maturity, or YTM.
The SEC's investor education office describes it as the annual return on a bond if it is held to maturity, taking into account when you bought it and what you paid (SEC Investor Bulletin: What Are Corporate Bonds?, 2026). Three parts of that sentence carry weight. You hold the bond to the end. The issuer pays every coupon on schedule. And each coupon gets reinvested at the same yield, which is the part most readers skip.
The coupon rate never moves. A 5% bond pays $50 a year on a $1,000 face value no matter what the market does. YTM moves with the price instead, and the price changes every trading day. That is why the same bond can carry a 5% coupon and a 5.66% yield once you buy it at $950 instead of $1,000.
The price formula, term by term
Every bond price starts from one line of arithmetic:
Price = C/(1+r) + C/(1+r)^2 + ... + C/(1+r)^n + F/(1+r)^n
C is the coupon paid each period, F is the face value, n is the number of coupon periods left, and r is the yield per period. A $1,000 face value with a 5% annual coupon paid twice a year gives C = $25, and 10 years to maturity gives n = 20 periods.
Set the price to $950 and the line turns into a puzzle. The rate r appears in all 20 denominators, and no rearrangement isolates it. Clear the fractions and you get a degree 20 polynomial in (1+r), and those have no closed form solution. Every serious YTM figure, from a spreadsheet's RATE function to a trading terminal, comes from a numeric solver of one kind or another.
The 20 coupons contribute $377.82 of the $950 price and the face value contributes the other $572.18. Same total, two pieces, and the split between them moves whenever the yield does.
Why this calculator solves by bisection instead of a shortcut
Textbooks offer a shortcut: YTM is roughly (C + (F - P)/n) / ((F + P)/2), where C is the annual coupon, F is the face value, P is the price and n is the years left. It needs four numbers, it runs in one line, and it lands close on a bond trading near face value.
Close is not exact, and the gap widens as the price moves away from face:
| Bond | Shortcut estimate | Exact yield | Gap |
|---|---|---|---|
| 5% coupon, 10 years, price $1,000 | 5.00% | 5.00% | 0.00 points |
| 5% coupon, 10 years, price $950 | 5.64% | 5.66% | 0.02 points |
| 2% coupon, 30 years, price $700 | 3.53% | 3.65% | 0.12 points |
| 8% coupon, 15 years, price $900 | 9.12% | 9.25% | 0.12 points |
Bisection works the way a person would. Pick a rate that is too low and one that is too high, test the midpoint, and see whether the resulting price is above or below what you paid. Bond price falls as the rate rises, so each midpoint test says which half of the bracket to keep. Two hundred rounds shrink the bracket to a width of about 10^-58, far past any decimal a bond quote carries, and the result reproduces the RATE function in a spreadsheet.
Worked example: a 5% bond bought at $950
Take the default case in the calculator: a $1,000 face value, a 5% annual coupon paid twice a year, 10 years to maturity, and a purchase price of $950.
Solved by bisection on the price formula, the semiannual rate is 2.8308%, so the annual yield is 5.66% on the bond quoting convention, or 5.74% if you compound the two halves instead of adding them. Everything else on the results panel follows:
| Result | Value | Where it comes from |
|---|---|---|
| Yield to maturity | 5.66% | bisection on the price formula |
| Effective annual yield | 5.74% | compounding the 2.8308% halves |
| Current yield | 5.26% | 50 / 950 |
| Coupon payment | $25 every 6 months | 5% of $1,000, split in two |
| Coupon income per year | $50 | $25 x 2 |
| Total coupon income | $500 | $50 x 10 years |
| Capital gain at maturity | +$50 | $1,000 face minus $950 price |
| Total return over the life | 57.89% | (500 + 50) / 950 |
In dollars the whole schedule reads 20 x 25 = 500 of coupons, plus 1,000 - 950 = 50 of gain at maturity, for $550 back on a $950 outlay.
Two lines in that table deserve a second look. Current yield is 50 / 950 = 5.26%, which counts the coupon against the price and stops there. Total return is (500 + 50) / 950 = 57.89% over the whole holding period, which counts every dollar received against every dollar paid. Spread across 10 years that compounds to 4.67% a year. The gap to 5.66% is the reinvestment assumption at work: YTM sends each $25 coupon back in at 5.66%, while the simple total return lets coupons sit idle.
Premium, par and discount: three prices, one bond
The same coupons and the same maturity can produce three different yields. Price is the only thing that changes.
| Price paid | Current yield | YTM | Capital gain or loss | Total return over 10 years |
|---|---|---|---|---|
| $1,000 (par) | 5.00% | 5.00% | $0 | 50.00% |
| $950 (discount) | 5.26% | 5.66% | +$50 | 57.89% |
| $1,050 (premium) | 4.76% | 4.38% | -$50 | 42.86% |
The pattern is fixed. Buy below face and the yield to maturity runs above the coupon rate, because you pocket the gap at maturity on top of the coupons. Buy at face and the two rates match. Buy above face and the yield runs below the coupon rate, because the $50 you give back at maturity works against the $500 you collect along the way. The premium bond still earns 42.86% over the decade, just less than the 50% the coupons alone would suggest.
That pull toward face value is what draws the curve in the figure above: in the middle of the range, a 1% move in yield moves the price by about $80, and the curve keeps sliding toward the face value line as yields climb.
Current yield, coupon rate and YTM compared
| Measure | Definition | The $950 bond |
|---|---|---|
| Coupon rate | fixed at issue: annual coupon / face value | 5.00% |
| Current yield | annual coupon / price paid | 5.26% |
| Yield to maturity | the rate that prices every payment, including the pull to face | 5.66% |
Each number answers a different question. The coupon rate is what the bond was built to pay. Current yield counts the coupon against today's price and stops there. Yield to maturity adds the gain or loss at maturity and the time value of every payment.
Current yield has a known blind spot: it ignores the $50 gain entirely. On a deep discount bond that blind spot gets expensive. A 2% coupon bond bought at $700 shows a 2.86% current yield but a 3.65% yield to maturity, and the difference is the $300 of gain the current yield never sees.
What YTM assumes, and where it stops being true
The number carries four assumptions, and each one can break.
- Reinvestment. Every coupon is assumed to go back to work at the same YTM. In 2026, with money market accounts and short Treasury bills paying their own rates, the coupon rarely lands at exactly the yield on the bond it came from. If reinvestment happens at a lower rate, the realized return lands below the printed YTM.
- Hold to maturity. Sell early and the yield becomes a realized yield that depends on the selling price. A bond bought at $950 and sold at $980 after a year locks in most of its capital gain in 12 months and gives up the rest of the schedule.
- The issuer pays. YTM treats every coupon as certain. Corporate bonds carry default risk, so the promised yield and the expected yield are not the same number. SEC Investor Bulletin: Interest Rate Risk walks through how prices and yields move together when rates change.
- Fixed coupons. A callable bond lets the issuer retire it early, usually when rates have fallen. Then the bond disappears years ahead of schedule, and the honest return is the yield to call, or the yield to worst across every call date. Premium bonds carry the most call risk, which is one reason the market demands extra yield from them.
Zero coupon bonds sidestep the reinvestment assumption entirely: nothing to reinvest, and the whole return is the gap between purchase price and face value.
Where to check Treasury yields in 2026, and the tax angle
The Treasury publishes its Daily Treasury Par Yield Curve Rates every business day (U.S. Department of the Treasury, 2026). The curve covers constant maturity points at 1, 1.5, 2, 3, 4 and 6 months and 1, 2, 3, 5, 7, 10, 20 and 30 years, built from bid side quotes on recently auctioned securities. Those par yields are the public benchmark for what a 10 year bond should yield on a given morning.
Savings bonds are quoted differently, and TreasuryDirect's rates page lists them directly. For bonds issued May 1 through October 31, 2026, Series EE bonds pay a fixed 2.40% and Series I bonds pay a composite 4.26%. Neither is a market yield; both are set by rule twice a year.
The tax side lives in IRS Publication 550 (2025), which covers interest income and how the discount on a bond bought below face gets reported. The short version: coupons are taxed as ordinary interest, while the discount on a bond bought below face follows market discount or capital gain rules depending on the bond and the holding period. This page is a calculator, not tax advice, so confirm the figures that matter with the publication itself.
Frequently asked questions
What is yield to maturity in plain terms?
It is the annual interest rate that makes the bond's coupons plus the face value, discounted back at that rate, add up to the price you paid. Think of it as the rate the bond earns once the price gap and the payment schedule are both counted.
Is yield to maturity the same as the coupon rate?
Only when the bond trades at face value. A 5% coupon bond bought at $1,000 yields 5.00%. The same bond bought at $950 yields 5.66%, and bought at $1,050 it yields 4.38%.
How is yield to maturity calculated?
By solving the price formula numerically. This calculator brackets the rate between two guesses, tests the midpoint about 200 times, and reports the rate that prices the bond exactly at what you paid. The shortcut formula gives 5.64% on a $950 bond where the exact answer is 5.66%.
Why is the approximate YTM formula off by more on some bonds?
The shortcut treats the capital gain or loss as if it were spread evenly and ignores compounding. On a 2% coupon, 30 year bond bought at $700, the shortcut gives 3.53% against a true 3.65%. The further the price sits from face, the bigger the miss.
What does it mean when YTM is higher than the coupon rate?
You bought below face value. The yield stacks the coupon income on top of the gain you collect at maturity. A bond bought at a premium shows the reverse: YTM below the coupon rate.
What is the YTM of a bond bought at par?
It equals the coupon rate. A 5% coupon, 10 year bond bought for its $1,000 face value yields 5.00% to maturity, and the effective annual rate is 5.06% once the semiannual coupons compound.
Does YTM assume coupons get reinvested?
Yes, at the same rate as the YTM itself. That is the assumption that puts the total return above what coupons alone pay. On the $950 example, coupons and capital gain return 57.89% over 10 years, which is 4.67% a year, while the YTM is 5.66% because each coupon is assumed to earn 5.66% once received.
Can yield to maturity be negative?
Yes. A bond priced far above the total of its remaining payments has a negative yield, which is what happened to some government bonds in 2020 and 2021. Enter a price above the sum of coupons plus face value and the solver returns a negative rate.
How much total return does the $950 bond pay over 10 years?
$500 of coupons plus a $50 capital gain is $550 on a $950 investment, which is 57.89% over the decade, or 4.67% a year compounded without reinvesting the coupons.
What is yield to call?
The yield on a callable bond if the issuer retires it on the earliest call date instead of holding it to maturity. Yield to worst takes the lowest yield across every call date and maturity, and it is the honest number for premium callable bonds.
Where can I find current Treasury yields for 2026?
The Treasury's Daily Par Yield Curve Rates page publishes CMT rates for maturities from 1 month to 30 years each business day. TreasuryDirect lists savings bond rates separately: EE bonds at 2.40% and I bonds at 4.26% for issues from May through October 2026.
How is a bond's yield taxed?
Coupons are generally taxed as ordinary interest, and the discount on a bond bought below face follows market discount or capital gain rules depending on the bond and the holding period. IRS Publication 550 covers the details, and a tax professional should confirm your specific case.
What is the difference between bond equivalent yield and effective annual yield?
Bond equivalent yield doubles the semiannual rate, so 2.8308% x 2 is 5.66%. Effective annual yield compounds the two halves, giving (1.028308)^2 - 1 = 5.74%. Both describe the same bond; the bond convention is what dealers quote.
What happens to my yield if I sell before maturity?
It becomes a realized yield based on the selling price, and it can land anywhere. Sell a $950 bond at $980 after one year and you have collected most of the capital gain in 12 months, which raises your realized return above the original YTM.
Is a higher YTM always the better bond?
No. A 9% yield usually means more risk: a longer wait, weaker credit, or a call option working against you. Compare yields between bonds of similar maturity and similar credit quality, or the number is measuring risk as much as return.
Spotted a wrong number or a broken result?
More Finance tools
- $100,000 Loan for 15 Years Calculator
- $15 an Hour Is How Much a Year?
- $15,000 Loan Over 5 Years Calculator
- $20 an Hour Is How Much a Year?
- $25 an Hour Is How Much a Year?
- $30 an Hour Is How Much a Year?
- 1 Year CD Rate Calculator
- 10 Year ARM Mortgage Calculator
- 10 Year Equipment Loan Calculator
- 10-Year Balloon Mortgage Calculator
- 10-Year Fixed Loan Calculator
- 10-Year Fixed Mortgage Calculator
- 10-Year Fixed Mortgage Rates Calculator
- 10-Year Second Mortgage Calculator
- 10/1 ARM vs 30 Year Fixed Calculator
- 1099 vs W-2 Calculator
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.