Calculators.Life Calculator
Investing

Yield to Maturity (YTM) Calculator

Input Parameters

Scenarios
$
The nominal or principal amount repaid at maturity.
$
The current market purchase price of the bond.
%
The stated annual coupon interest rate paid by the bond.
Number of coupon payments made per year.
Total time remaining until the bond matures.

Computed Results

Yield to Maturity (Nominal Annual)
5.66%
Effective Annual Yield (EAY)5.74%
Current Yield5.26%
Total Coupon Payments$500.00
Capital Gain / Loss$50.00

The yield to maturity (YTM) calculator determines the estimated annual rate of return a bond will generate if held until it matures. By evaluating the bond's current price, face value, coupon rate, and payment frequency, this tool helps investors compare the total expected return of different fixed-income securities.

Disclaimer: This calculator provides mathematical estimates for informational purposes only and does not constitute financial or investment advice.

Practical Use Cases

Yield to maturity is a standard metric used to evaluate fixed-income investments. Because bonds frequently trade above or below their original face value, simply looking at the coupon rate does not provide a complete picture of the return. Calculating the YTM allows you to compare bonds with different maturities, prices, and coupon structures on an equal footing. It is particularly useful for assessing bonds trading at a discount (where the price is below face value) or at a premium (where the price is above face value), as it accounts for the capital gain or loss realized at maturity.

How to Use the Calculator

To calculate the yield to maturity, enter the specific details of the bond into the calculator:

The calculator will output the nominal YTM, the effective annual yield (which accounts for compounding), the current yield, the total coupon payments, and the capital gain or loss.

Formula and Explanation

Yield to maturity is the internal rate of return (IRR) of a bond. It is the discount rate that equates the present value of all future cash flows (coupon payments and the final face value repayment) to the bond's current market price. Because the rate is embedded within an exponent, it cannot be isolated algebraically and must be solved iteratively (often using the Newton-Raphson method).

The fundamental pricing equation that YTM solves is:

P = [ C × (1 − (1 + y)^−n) / y ] + [ F × (1 + y)^−n ]

Where:

Once the periodic yield (y) is found, the Nominal YTM is calculated by multiplying y by the coupon frequency. The Effective Annual Yield (EAY) is calculated as (1 + y)^(Coupon Frequency) − 1, which reflects the compounding effect of reinvesting the coupon payments.

Verified Scenario Walkthroughs

Below are verified examples demonstrating how different bond characteristics affect the yield to maturity.

High-Premium Bond with Annual Payments

If you purchase a bond for $5,500 with a face value of $5,000, a 6.5% annual coupon rate, 1 payment per year, and 5 years to maturity:

Short-Term Discount Bond with Monthly Payments

If you purchase a bond for $92 with a face value of $100, a 2.5% annual coupon rate, 12 payments per year, and 0.5 years to maturity:

Zero Coupon Bond (Deep Discount)

If you purchase a zero-coupon bond for $750 with a face value of $1,000, a 0% coupon rate, semi-annual compounding (frequency 2), and 15 years to maturity:

Long-Term Bond with Quarterly Payments

If you purchase a bond for $1,025 with a face value of $1,000, a 4.25% annual coupon rate, 4 payments per year, and 20 years to maturity:

Inputs and Outputs

The table below summarizes the data used and generated by the calculator.

CategoryField NameDescription
InputFace Value (Par Value)The nominal or principal amount repaid at maturity.
InputCurrent Bond PriceThe current market purchase price of the bond.
InputAnnual Coupon RateThe stated annual coupon interest rate paid by the bond.
InputCoupon FrequencyNumber of coupon payments made per year.
InputYears to MaturityTotal time remaining until the bond matures.
OutputYield to Maturity (Nominal Annual)The annualized rate of return assuming the bond is held to maturity.
OutputEffective Annual Yield (EAY)The annualized return accounting for the compounding of periodic coupon payments.
OutputCurrent YieldThe annual coupon payment divided by the current bond price.
OutputTotal Coupon PaymentsThe sum of all interest payments received over the life of the bond.
OutputCapital Gain / LossThe difference between the face value received at maturity and the purchase price.

Frequently Asked Questions

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

Current yield only measures the annual coupon income relative to the current market price of the bond. Yield to maturity is a more comprehensive metric that accounts for the current yield, the time value of money, and any capital gain or loss realized when the bond's face value is repaid at maturity.

Why does a bond's price move inversely to its yield?

A bond's coupon payments are fixed. If prevailing market interest rates rise, newly issued bonds will offer higher returns. For an existing bond with a lower fixed coupon to offer a competitive yield to new investors, its market price must drop. Conversely, if market rates fall, the existing bond's higher fixed payments make it more valuable, driving its price up.

What is the Effective Annual Yield (EAY)?

The Effective Annual Yield (EAY) represents the true annualized return of the bond when accounting for compounding. While the nominal YTM simply multiplies the periodic yield by the number of periods in a year, the EAY calculates the effect of reinvesting those periodic coupon payments at the same yield.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.