The yield to maturity rate allows investors to balance out cash flows for an investment (or a debt) by discounting (i.e. by dividing them by (1+yield to maturity) to the power of time to maturity).