Yield to Maturity Calculator

The Yield to Maturity Calculator works out the total return of a bond before you commit capital to it. You enter the bond's market price, its face value, the annual coupon rate and the years to maturity, and it returns the yield to maturity, the current yield and a quick estimate. For callable bonds it also computes the yield to call.

Advanced options
Yield to maturity
6.00%
Current yield
5.40%
Approx. YTM (quick estimate)
5.97%
Yield to call

The bond trades at a discount: your YTM (6.00%) is above the current yield (5.40%) because you also collect the price's rise back to par.

Show the math
$925.61 = Σ $25 ÷ (1 + y)ᵏ + $1,000 ÷ (1 + y)ⁿ → y = 6.00%
There is no closed-form formula: YTM is found by iteration, starting from a quick estimate of 5.97%.
eToro
Rated 78/100 by InvestinGoal
  • Minimum deposit: $50
Visit eToro
Reviewed by Filippo Ucchino Founder, InvestinGoal

These results are estimates for educational purposes only and are not financial, investment or tax advice.

What is a yield to maturity calculator?

A yield to maturity calculator is a tool that computes a bond's yield to maturity (YTM), the single annual rate that makes the present value of every future payment equal the price you pay today. It is, in other words, the bond's internal rate of return (IRR): the one discount rate that balances the coupons you collect and the face value repaid at maturity against the market price. That makes it the number investors use to compare bonds with different prices, coupons and maturities on equal terms.

YTM is one type of bond yield, but a more complete one than the headline coupon. It rolls three things into a single figure: the coupons the bond pays, the reinvestment of those coupons, and the gain or loss as the price moves back to face value by maturity. A price alone cannot answer the question that matters, "if I pay this, what do I actually earn per year?"; the yield to maturity can, which is why it sits at the centre of fixed-income analysis. It is a different measure from a bond's price, which the sibling bond calculator solves for instead.

Why is the yield to maturity calculator important for investing?

The yield to maturity calculator is important for investing because it turns a bond's price into a single, comparable return you can weigh before you commit the capital. A bond is a buy-and-hold, fixed-income instrument, and its coupon rate alone does not tell you what you earn: a 5% bond bought below face value yields more than 5%, and one bought above it yields less. The YTM is what lets you line up a low-coupon bond trading at a discount against a high-coupon bond trading at a premium and see which actually pays more over its life.

Investors reach for the calculator at the planning stage, before the money is deployed rather than after. You use it whenever you are choosing between bonds with different prices, coupons and maturities, checking whether a bond's return justifies its risk, or comparing a bond against another home for the same cash. Sizing that decision on one honest number is part of the wider discipline of investing for a goal, where matching the right instrument to the right horizon matters as much as the headline rate, and running the yield before you buy is what turns a rough guess into a measured choice.

How do you use the yield to maturity calculator for bonds?

To use the yield to maturity calculator for bonds, enter the bond's market price, its face value, the annual coupon rate and the years to maturity, and the tool returns the yield to maturity, the current yield and a quick estimate.

The steps to use the yield to maturity calculator are listed below:

  1. Enter the bond's market price. This is what you can buy the bond for today, and it is the figure the yield is solved against; a price below face value points to a yield above the coupon.
  2. Enter the face value (par). This is the amount the issuer repays at maturity, usually $1,000, and it is the anchor every discounted payment is measured toward.
  3. Set the annual coupon rate. This is the stated interest rate the bond pays on its face value, which fixes the size of each coupon.
  4. Set the years to maturity. This is how long until the bond is repaid, and it determines how many coupons are still to come.

Open Advanced options to change the coupon frequency (semiannual by default, the standard convention for most bonds) and, for a callable bond, to enter a call price and years to call so the tool also shows the yield to call. Press Calculate to update the result, and the preset chips load a discount, par, premium or zero-coupon bond in one click.

What formula does the yield to maturity calculator use?

The yield to maturity calculator uses the bond pricing equation set equal to the market price and solved for the yield: the price must equal the present value of every coupon plus the present value of the face value, all discounted at the yield.

Price=k=1nC(1+y/m)k+F(1+y/m)n

In this equation, y is the annual yield to maturity being solved for, m is the number of coupon periods per year, C is the coupon paid each period (face value times coupon rate, divided by m), F is the face value, n is the total number of periods (years times m), and k counts each period from the first coupon to the last.

Plugging in the discount example, the yield that balances $25 a period for 20 periods plus $1,000 at maturity against a $925.61 price is 6.00%.

Because y sits inside every term at a different power, the equation has no closed-form solution and cannot be rearranged to isolate the yield; the calculator finds it by iteration, refining a quick estimate with the Newton method (and a bisection fallback) until the priced value matches your input, and it assumes each coupon is reinvested at that same yield.

What is an example of a yield to maturity calculation?

An example of a yield to maturity calculation is a $1,000 bond with a 5% coupon and ten years to maturity, bought at $925.61 and paying semiannually, which works out to a 6.00% yield to maturity, worked out as follows:

  1. Size the cash flows. The coupon is 5% of $1,000 paid twice a year, so each period pays $25.00, and there are 10 years times 2, or 20 periods, plus the $1,000 face value at the end.
  2. Take the quick estimate. The textbook shortcut is (annual coupon + (face − price) ÷ years) ÷ ((face + price) ÷ 2) = ($50 + ($1,000 − $925.61) ÷ 10) ÷ (($1,000 + $925.61) ÷ 2) = $57.44 ÷ $962.81 = 5.97%.
  3. Iterate to the exact figure. Starting from that 5.97% seed, the tool prices the bond, compares the result with $925.61, and refines the rate until the two match to within a fraction of a cent, which gives 6.00%.
  4. Read off the current yield. The annual coupon divided by the price, $50 ÷ $925.61, is 5.40%.

$925.61 = Σ $25 ÷ (1 + y/2)ᵏ + $1,000 ÷ (1 + y/2)²⁰ → y = 6.00%

The quick estimate lands within three basis points of the answer here, but it is only an approximation; the iterated 6.00% is the true yield. It comes in above the 5.40% current yield because, buying at a discount, you also pocket the climb from $925.61 back to $1,000 by maturity, which the current yield ignores.

How do you read the yield to maturity calculator's result?

You read the yield to maturity calculator's result by comparing the yield to maturity against the bond's current yield, which tells you whether you are buying at a discount or a premium, and then against a safe benchmark of the same maturity, which tells you whether the yield is worth its risk. The relationship between the two yields is the first thing to check.

Bond trades atYTM vs current yieldWhat the result tells you
Discount (below par)YTM is above current yieldYou also earn the price rise back to face value: 6.00% vs 5.40% in the example
Premium (above par)YTM is below current yieldYou give back the price fall to face value: a $1,081.76 bond yields 4.00%, under its 4.62% current yield
Par (at face value)YTM equals current yieldThe price holds to maturity, and both match the coupon rate

There is no universal "good" yield to maturity, because a yield only means something next to its risk. A higher YTM generally signals higher risk: a longer maturity, a weaker issuer, or a market pricing in the chance of default. The useful test is to compare the yield against a U.S. Treasury of the same maturity: the extra yield above that benchmark is your compensation for taking on more risk, not free money, and whether it is "good" depends on whether that spread is worth the risk to you, before you commit the capital.

What are the limits of the yield to maturity calculator?

The yield to maturity calculator returns an estimate that is only as accurate as the inputs you enter, and it deliberately leaves out several real-world factors. It does not include trading costs, spreads or taxes, so the net yield you keep is lower than the figure shown, and it uses the price you type rather than a live market quote for a specific ISIN. It also prices one bond in isolation: it can tell you a bond's yield, not whether that bond belongs in your portfolio.

Two assumptions built into the metric are worth stating plainly. YTM assumes you hold the bond to maturity; sell early and your actual return depends on the price on that day. It also assumes every coupon is reinvested at the same yield, and as FINRA notes in its guidance on bond yield and return, that reinvestment risk is the caveat most likely to make a realised return fall short of the quoted YTM if rates drop. The tool does not model credit or default risk, and for a bond the issuer can repay early it shows the yield to call separately, covered next. It is an educational tool, not investment advice.

How does the yield to maturity calculator handle callable bonds (yield to call)?

The yield to maturity calculator handles callable bonds by also computing the yield to call (YTC), which runs the same solver but assumes the bond is redeemed at its call price on the call date instead of at face value on the maturity date. Enter a call price and years to call in Advanced options and the tool returns both yields side by side.

The number to watch on a callable bond is the lower of the two, the yield to worst, because a rational issuer will call the bond precisely when doing so is worst for you, typically after rates have fallen and it can refinance more cheaply. If the yield to call comes in below the yield to maturity, that gap is the reinvestment risk you take on. The same solver also handles a zero-coupon bond (a coupon rate of zero, where the entire return is the discount to face value), and in every case the yield is only meaningful next to a benchmark such as a comparable Treasury. This block covers how the tool derives those yields on your bond; the yield-to-worst concept itself is defined in the FAQ.

What is the difference between a yield to maturity calculation and a current yield calculation?

A yield to maturity calculation and a current yield calculation measure different things: the current yield is only the annual coupon divided by the price, a snapshot of income, while the yield to maturity also captures the gain or loss as the price moves to par, the full return to maturity. The two rarely match, and the gap between them is exactly what current yield leaves out.

AttributeYield to maturity calculationCurrent yield calculation
What it measuresTotal return if held to maturityAnnual income right now
BasisAll cash flows discounted to the priceAnnual coupon ÷ price
Captures the price pull to parYesNo
Discount bond example6.00%5.40%

For a discount bond the yield to maturity is the higher of the two (6.00% vs 5.40%), because you also gain as the price climbs to par; for a premium bond it is the lower. If income today is all you want to measure, the current yield answers that, and a stock's version of the same idea is handled by the dividend yield calculator; if you want the complete return, the yield to maturity is the number, and the bond calculator is its mirror image, turning a yield back into a price.

Which calculators are related to the yield to maturity calculator?

The calculators related to the yield to maturity calculator cover the rest of the fixed-income toolkit, from pricing a bond to the fees and cross-asset yields around it.

The calculators related to the yield to maturity calculator are listed below:

  • Bond calculator: prices a coupon bond from a given yield, the reverse of this tool and its closest sibling, built on the same solver.
  • T-bill calculator: works out the yield on a short-term, zero-coupon U.S. Treasury bill quoted at a discount.
  • I bond calculator: values a U.S. Series I savings bond, whose return is linked to inflation rather than a fixed coupon.
  • Expense ratio calculator: shows the annual fee drag on a bond fund or ETF, the packaged way to hold fixed income.
  • Dividend yield calculator: measures the income yield on a stock, the equity counterpart to a bond's yield.
  • Investment calculator: projects how invested capital grows over time once you have chosen where to put it.

FAQ

Does yield to maturity assume you reinvest the coupons?

Yes. Yield to maturity assumes every coupon you receive is reinvested at the same YTM until the bond matures. That assumption is what lets YTM collapse into a single, clean rate, but it is also its main weakness: if rates fall and you reinvest coupons at less than the YTM, your realised return falls short of the quoted figure. This gap is known as reinvestment risk.

What is the difference between yield to maturity and coupon rate?

The coupon rate is the fixed interest a bond pays on its face value and never changes; the yield to maturity is your actual annual return based on the price you pay. They match only when a bond trades at par. Buy below par and the YTM is higher than the coupon; buy above par and it is lower. The coupon rate is an input, the YTM is the result.

Can yield to maturity be negative?

Yes, yield to maturity can be negative, though it is unusual. It happens when you pay so much more than the bond's remaining coupons and face value are worth that the built-in capital loss outweighs the interest you collect. Negative-yielding bonds appeared across several government markets during periods of very low or negative central-bank rates, where investors accepted a small loss in exchange for safety.

How do you calculate yield to maturity in a spreadsheet (Excel)?

In Excel or Google Sheets you calculate yield to maturity with the RATE function, then annualise it. Use =RATE(periods, coupon, -price, face) to get the rate per period, where periods is years times payments per year and coupon is the payment per period, then multiply the result by the payments per year. For a bond priced between coupon dates, the YIELD function handles the day count more precisely.

What is yield to worst (YTW)?

Yield to worst is the lowest yield a bond can deliver across every date it could be redeemed, taking the lower of its yield to maturity and the yield to call for each call date. On a callable bond it is usually the yield to call, because issuers redeem early when it suits them rather than you. It is the prudent figure to assume whenever a bond can be called.

These figures are educational estimates based on the inputs you enter. Actual returns also depend on reinvestment rates, credit risk, taxes and whether you hold to maturity, and are not guaranteed.

Select your language

English (United States) country flag English (United States)