Question: how yield to maturity is calculated?
Answer: The Yield to maturity is the internal rate of return earned by an investor who bought the bond today at the market price, assuming that the bond will be held until maturity, and that all coupon and principal payments will be made on schedule. Yield to maturity (YTM) = [(Face value/Present value)1/Time period]-1.