How To Calculate Yield To Maturity Excel

Productivity Software

Calculating yield to maturity (YTM) in Excel is a crucial financial calculation that helps investors assess the potential return on their bond investments. As someone who has dabbled in bond investments and financial analysis, I understand the importance of mastering YTM calculations. Let’s dive into the nitty-gritty of how to calculate YTM using Excel and explore some real-world scenarios along the way.

Understanding Yield to Maturity

Before we delve into the Excel formula, it’s essential to understand what yield to maturity is and why it matters. Yield to maturity is the total return anticipated on a bond if it is held until it matures. This metric takes into account the bond’s current market price, its par value, the coupon interest rate, and the time to maturity. Essentially, YTM gives investors a comprehensive view of the potential return on their bond investment, factoring in both capital gains or losses and periodic interest payments.

Calculating Yield to Maturity in Excel

To calculate YTM in Excel, you can use the built-in YIELD function. The YIELD function syntax is as follows:

=YIELD(settlement, maturity, rate, pr, redemption, frequency, [basis])

Here’s a breakdown of the parameters:

  • Settlement: The security’s settlement date.
  • Maturity: The security’s maturity date.
  • Rate: The security’s annual coupon rate.
  • Pr: The security’s price per $100 face value.
  • Redemption: The security’s redemption value per $100 face value.
  • Frequency: The number of coupon payments per year (1 for annual, 2 for semi-annual, etc.).
  • Basis: [Optional] The day count basis to use. If omitted, the default is 0 (or 30/360).

Using these parameters, the YIELD function returns the bond’s yield to maturity.

Real-World Example

Let’s say I recently purchased a 10-year bond with a face value of $1,000, a 5% annual coupon rate, and a current market price of $950. Using Excel, I can calculate the YTM of this bond to assess its potential return over the holding period. By plugging in the aforementioned parameters into the YIELD function, I can obtain the YTM as a percentage.


Mastering the art of calculating yield to maturity in Excel is a valuable skill for any investor or financial analyst. This powerful tool enables us to make informed decisions about bond investments by providing a comprehensive view of potential returns. By leveraging the YIELD function, we can assess the attractiveness of bond investments and make well-informed financial decisions.