Yield to Maturity (YTM) Calculator | Calculate Bond Yield


Yield to Maturity (YTM) Calculator

An expert tool for accurately calculating the yield to maturity of a bond. This calculator uses an iterative function to provide a precise YTM based on the bond’s key characteristics.



The date the security is traded to the buyer.


The date when the security expires and face value is repaid.


The bond’s stated annual interest rate.


The current market price of the bond for every $100 of face value.


The value paid at maturity for every $100 of face value. Typically $100.


The number of coupon payments per year.

Price vs. Redemption Value Analysis

This chart visualizes the bond’s current price relative to its redemption value, indicating if it’s trading at a discount, par, or premium.

What is Yield to Maturity (YTM)?

Yield to Maturity (YTM) is the total anticipated return on a bond if the bond is held until it matures. YTM is expressed as an annual rate and is one of the most important figures for a bond investor. It’s considered a long-term bond yield and is often referred to as the bond’s “internal rate of return” (IRR). The calculation assumes that the investor holds the security until its maturity date, that the issuer makes all coupon and principal payments on time, and that the investor can reinvest the coupon payments at the same YTM rate.

This metric is crucial because it allows investors to compare bonds with different maturities and coupon rates on a like-for-like basis. If a bond’s YTM is higher than its stated coupon rate, it is trading at a discount. Conversely, if the YTM is lower than the coupon rate, it is trading at a premium.

The Yield to Maturity Formula and Explanation

Calculating the precise Yield to Maturity is complex because it involves solving for the interest rate (the “yield”) in the bond pricing formula. This formula equates the bond’s current market price to the present value of all its future cash flows (coupon payments and the final redemption value).

The exact formula is:

Price = Σ [C / (1 + YTM/f)^(n)] + [RV / (1 + YTM/f)^(N*f)]

Because there’s no simple algebraic way to solve for YTM in this equation, it must be found iteratively using numerical methods, which is what this calculator does. An approximation formula also exists for quick estimates:

Approx. YTM ≈ [Coupon + ((Redemption – Price) / N)] / [(Redemption + Price) / 2]

Variables in YTM Calculation
Variable Meaning Unit / Type Typical Range
Price (pr) The current market price per $100 of face value. Currency ($) $80 – $120
Redemption (RV) The value received at maturity per $100 of face value. Currency ($) Typically $100
Coupon Rate (rate) The annual interest rate paid by the bond. Percentage (%) 1% – 10%
N The number of years until maturity. Years 1 – 30
f The frequency of coupon payments per year. Integer 1, 2, or 4

Practical Examples of calculating the yield to maturity using the yield function

Example 1: Bond Trading at a Discount

An investor is considering a bond with the following characteristics:

  • Settlement Date: Jan 15, 2024
  • Maturity Date: Jan 15, 2034
  • Annual Coupon Rate: 4%
  • Current Price: $95 (per $100 face value)
  • Redemption Value: $100
  • Frequency: Semi-Annually

Since the price ($95) is less than the redemption value ($100), the bond is trading at a discount. The YTM will be higher than the 4% coupon rate. Using the calculator, the YTM is found to be approximately **4.69%**. This higher yield accounts for both the coupon payments and the capital gain the investor will realize at maturity.

Example 2: Bond Trading at a Premium

Another investor looks at a different bond:

  • Settlement Date: Mar 1, 2024
  • Maturity Date: Mar 1, 2029
  • Annual Coupon Rate: 6%
  • Current Price: $105 (per $100 face value)
  • Redemption Value: $100
  • Frequency: Annually

Here, the price ($105) is higher than the redemption value ($100), so the bond is trading at a premium. The YTM will be lower than the 6% coupon rate. The calculated YTM is approximately **4.84%**. The lower yield reflects that the investor pays more upfront than they will receive back in principal, a loss which is offset by the higher coupon payments.

How to Use This Yield to Maturity Calculator

Using this calculator is a straightforward process:

  1. Enter the Settlement Date: Input the date you are purchasing the bond.
  2. Enter the Maturity Date: Input the date the bond expires.
  3. Provide the Coupon Rate: Enter the bond’s annual interest rate as a percentage.
  4. Enter the Bond Price: Input the bond’s current market price per $100 of face value.
  5. Confirm Redemption Value: This is almost always $100, but can be adjusted if necessary.
  6. Select Payment Frequency: Choose how often the bond pays coupons (annually, semi-annually, or quarterly).
  7. Click “Calculate YTM”: The calculator will run its iterative algorithm and display the precise YTM, along with other helpful data points.

Key Factors That Affect Yield to Maturity

  • Prevailing Interest Rates: This is the most significant factor. If central bank rates rise, newly issued bonds will offer higher yields, making existing bonds with lower coupons less attractive. This causes the price of existing bonds to fall, increasing their YTM for new buyers.
  • Credit Risk of the Issuer: If the issuer’s financial health deteriorates, the risk of default increases. Investors will demand a higher YTM to compensate for this added risk, causing the bond’s price to drop.
  • Time to Maturity: Longer-term bonds are more sensitive to interest rate changes. A small change in market rates can cause a significant change in the price and YTM of a 30-year bond compared to a 2-year bond.
  • Coupon Rate: A bond with a higher coupon rate will have a different price sensitivity and YTM profile compared to a low-coupon or zero-coupon bond.
  • Market Demand and Liquidity: If a particular bond is in high demand or is very liquid, its price might be higher (and YTM lower) than a similar but less liquid bond.
  • Inflation Expectations: If investors expect higher inflation, they will demand a higher yield to ensure their real (inflation-adjusted) return is protected.

Frequently Asked Questions (FAQ)

What is the difference between Coupon Rate and YTM?

The coupon rate is the fixed annual interest payment a bond pays, expressed as a percentage of its face value. YTM is the total return you’ll get if you hold the bond to maturity, which includes the coupon payments and any capital gain or loss from your purchase price.

Is a higher YTM always better?

Not necessarily. A very high YTM might indicate that the bond carries a high level of risk, such as a greater chance of the issuer defaulting on its payments. Investors must balance the desire for higher yield with the associated risk.

What happens if I sell the bond before maturity?

If you sell before maturity, your actual return will be your “realized yield,” not the YTM. Your realized yield will depend on the price at which you sell the bond, which can be higher or lower than your purchase price.

Why does the calculator need settlement and maturity dates?

The precise dates are needed to calculate the exact number of coupon periods remaining and the exact time until maturity, which is crucial for the present value calculations. The YIELD function in spreadsheet software also requires these dates.

What does it mean if a bond is trading at “par”?

A bond trades at par when its market price is equal to its face value (usually $100). In this case, the Yield to Maturity is equal to the coupon rate.

What is reinvestment risk?

This is the risk that an investor will not be able to reinvest the coupon payments at the same rate as the bond’s YTM. The YTM calculation assumes this, but in reality, interest rates can fall, meaning future reinvestment will be at a lower rate, and the total return will be less than the initial YTM.

Why is this an iterative calculation?

The YTM formula cannot be solved directly for the yield variable. The calculator must make a guess for the yield, calculate the bond price based on that guess, and then adjust the guess up or down until the calculated price matches the actual market price. Microsoft Excel’s YIELD function uses a similar iterative Newton method.

What is the ‘day-count basis’?

Day-count basis is a convention used to determine the number of days in a coupon period for calculating accrued interest. While this calculator uses a standard date difference, advanced financial models often allow you to select a basis like 30/360 or Actual/Actual.

© 2026 Financial Tools Inc. All Rights Reserved. This calculator is for informational purposes only and should not be considered financial advice.


Leave a Reply

Your email address will not be published. Required fields are marked *