Inflation, taxes, and fees reduce your real return on an investment.
Calculating Real Return
Given the principal amount invested and the gain/loss (profit) from the investment:
Profit% = Profit / Principal
RealReturn% = Profit% - (Profit% * Tax%) - Inflation%