A bond’s yield to maturity takes into account the discount or premium paid for the bond and averages the gain (or loss) with the stated interest payment to calculate a yield over a period of time. When a bond is purchased in the secondary market at a discount, the most important yield for the investor to consider is the yield to maturity. A bond’s yield to maturity is also known as its internal rate of return.