Skip to main content
finance

Yield to Maturity Calculator

Estimate the yield to maturity of a bond, the total annualized return if held until maturity. YTM accounts for coupon payments, face value, current price, and time remaining to provide the most complete bond yield measure.

Reviewed by Christopher FloiedPublished Updated

This free online yield to maturity calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.

The bond's par value returned at maturity.

The current trading price of the bond.

The bond's fixed annual coupon rate.

Number of years until the bond matures.

Results

Approximate Yield to Maturity

564.103%%

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Yield to Maturity Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Yield to Maturity Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

When to Use This Calculator

  • Use the Yield to Maturity Calculator when comparing financial options side-by-side — such as different loan terms or investment returns — to make more informed decisions.
  • Use it to quickly estimate costs or returns before making purchasing, investment, or borrowing decisions.
  • Use it for financial education and planning to understand how compound interest, fees, or tax affects the real value of money over time.
  • Use it when building or reviewing a budget to verify that projections and calculations are mathematically correct.

Related Calculators

About Yield to Maturity Calculator

The Yield to Maturity calculator estimates the total annualized return an investor earns if a bond is purchased at its current market price and held until it matures. YTM is considered the most comprehensive measure of bond return because it incorporates the coupon income, any capital gain or loss at maturity (the difference between purchase price and face value), and the time value of money. Bond traders and portfolio managers use YTM as the primary metric for comparing bonds across different maturities, coupon rates, and credit qualities. This calculator uses the widely accepted approximation formula, which provides results very close to the exact iterative solution.

The Math Behind It

Yield to maturity is the internal rate of return of a bond, the discount rate that equates the present value of all future cash flows (coupons and face value) to the current market price. Solving for YTM exactly requires iterative numerical methods (such as Newton-Raphson) because the equation Price = C/(1+y) + C/(1+y)^2 + ... + C/(1+y)^n + F/(1+y)^n has no closed-form solution for y. The approximation formula YTM approximately equals [C + (F-P)/n] / [(F+P)/2] provides a reasonable estimate by averaging the annual income (coupon plus amortized gain or loss) over the average of par and market price. For discount bonds (P < F), YTM exceeds the current yield because it includes capital appreciation to par. For premium bonds (P > F), YTM is below the current yield because of the capital loss at maturity. YTM assumes all coupons are reinvested at the YTM rate, which is a significant assumption that may not hold in practice. The realized yield may differ if reinvestment rates change. YTM is quoted on a semi-annual bond equivalent basis in the US, meaning the periodic yield is doubled rather than compounded, consistent with market convention. The yield curve, a plot of YTM against maturity for similar-quality bonds, is a fundamental tool for economic analysis, with an inverted yield curve historically signaling upcoming recessions.

Formula Reference

YTM Approximation

YTM ≈ [C + (F - P) / n] / [(F + P) / 2]

Variables: C = annual coupon; F = face value; P = market price; n = years to maturity

Worked Examples

Example 1: Discount bond YTM

A $1,000 face value bond with 5% coupon trading at $950 with 10 years to maturity.

Step 1:Annual coupon = $1,000 × 0.05 = $50.
Step 2:Annual amortized gain = ($1,000 - $950) / 10 = $5.
Step 3:Average price = ($1,000 + $950) / 2 = $975.
Step 4:YTM ≈ ($50 + $5) / $975 = 5.641%.

The approximate yield to maturity is 5.64%, higher than the 5% coupon rate due to the discount.

Example 2: Premium bond YTM

A $1,000 bond with 7% coupon trading at $1,080 with 8 years to maturity.

Step 1:Annual coupon = $70.
Step 2:Annual amortized loss = ($1,000 - $1,080) / 8 = -$10.
Step 3:Average price = ($1,000 + $1,080) / 2 = $1,040.
Step 4:YTM ≈ ($70 - $10) / $1,040 = 5.769%.

The approximate YTM is 5.77%, lower than the 7% coupon rate because the investor will realize a capital loss at maturity.

Common Mistakes & Tips

  • !Confusing YTM with current yield; YTM includes capital gains or losses at maturity while current yield measures income only.
  • !Assuming the approximation formula is exact; for precise valuations, use iterative methods or financial calculators that solve the present value equation numerically.
  • !Forgetting that YTM assumes reinvestment of coupons at the YTM rate, which may not be achievable if interest rates change over the bond's life.

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

How accurate is the YTM approximation formula?

The approximation is typically within 0.1-0.3 percentage points of the exact YTM for most bonds. It is less accurate for very long-term bonds, bonds trading at large premiums or discounts, and very high or low coupon rates.

Why is YTM considered the best measure of bond return?

YTM captures all three sources of bond return: coupon income, capital gain or loss at maturity, and the time value of money. Current yield only captures income, and coupon rate ignores market price entirely.

What is the difference between YTM and yield to call?

Yield to call calculates the return if the bond is called (redeemed early by the issuer) at the first call date rather than held to maturity. For callable bonds trading at a premium, yield to call is typically lower than YTM and may be the more relevant metric.

Embed this calculator on your site

Paste this snippet into your blog, course page, or documentation to drop a live, interactive Yield to Maturity Calculator into your page.

Free to embed — includes a link back to MegaCalc.