Bond Calculator

Calculate and visualize your bond investment

Investment Details

About Yield to Maturity

The Bond Calculator finds a bond's yield to maturity (YTM) from its market price, or its price from a market yield. It uses the face value, coupon rate, time to maturity and payment frequency, and also shows the current yield, duration and convexity. YTM is the annualized return if the bond is held to maturity and coupons are reinvested at the same rate.

How It’s Calculated

The yield to maturity (YTM) is the internal rate of return (r) that equates the present value of the bond's cash flows to its current market price: Price = Σ [Coupon / (1 + r/n)^t] + Face Value / (1 + r/n)^(n*Years), where Coupon = (Face Value * Coupon Rate) / n, n is the payment frequency per year, and t ranges from 1 to n*Years. The YTM is solved numerically using the bisection method. Macaulay duration = Σ (time × present value of each cash flow) ÷ price, in years; modified duration = Macaulay duration ÷ (1 + YTM/n).

Key Insights

  • •YTM provides a comprehensive measure of a bond's expected return, accounting for coupon payments, face value redemption, and any capital gain or loss.
  • •Bonds trading below face value (discount) have YTM higher than the coupon rate, while those above (premium) have lower YTM.
  • •Longer maturity bonds are more sensitive to changes in interest rates, affecting their prices and YTMs more significantly.
  • •Higher payment frequency (e.g., semi-annual vs. annual) can lead to slightly higher effective yields due to more frequent compounding.