The real rate of return adjusts a nominal investment return for inflation over the same period. It estimates how the investment’s purchasing power changes, rather than only how its currency value changes. This Real Rate of Return Calculator uses the exact ratio of the nominal growth factor to the inflation growth factor.
Simply subtracting inflation from nominal return is an approximation. Federal Reserve Bank of St. Louis, FRED Blog: real interest rates shows the exact relationship. This calculator accepts the two percentage assumptions you enter; it does not fetch inflation data or determine a personal cost-of-living rate.