According to the theory of rational expectations, people form an expectation of what will happen to inflation in the future. They then ensure that they offer or ask a nominal interest rate that means they have the appropriate real interest rate on their investment.
This is given by the formula:
= offered nominal interest rate
= desired real interest rate
= inflationary expectations