The real interest rate is the rate of interest an investor, saver or lender receives (or expects to receive) after allowing for inflation. It can be described more formally by the Fisher equation, which states that the real interest rate is approximately the nominal interest rate minus the inflation rate. If, for example, an investor were able to lock in a 5% interest rate for the coming year and anticipated a 2% rise in prices, they would expect to earn a real interest rate of 3%. The expected real interest rate is not a single number, as different investors have different expectations of future inflation. Since the inflation rate over the course of a loan is not known initially, volatility in inflation represents a risk to both the lender and the borrower. In the case of contracts stated in terms of the nominal interest rate, the real interest rate is known only at the end of the period of the loan, based on the realized inflation rate; this is called the ex-post real interest rate. Since the introduction of inflation-indexed bonds, ex-ante real interest rates have become observable. Compensation for lending An individual who lends money for repayment at a later point in time expects to be compensated for the time value of money, or not having the use of that money while it is lent. In addition, they will want to be compensated for the expected value of the loss of purchasing power when the loan is repaid. These expected losses include the possibility that the borrower will default or be unable to pay on the originally agreed upon terms, or that collateral backing the loan will prove to be less valuable than estimated; the possibility of changes in taxation and regulatory changes which would prevent the lender from collecting on a loan or having to pay more in taxes on the amount repaid than originally estimated; and the loss of buying power compared to the money originally lent, due to inflation. Nominal interest rates measure the sum of the compensations for all three sources of loss, plus the time value of the money itself. Real interest rates measure the compensation for expected losses due to default and regulatory changes as well as measuring the time value of money; they differ from nominal rates of interest by excluding the inflation compensation component. On an economy-wide basis, the "real interest