how to calculate future value of an investment considering inflation

how to calculate the future value of an investment considering inflation pv-present value fv-future value n-number of years i-inflation rate you will need a scientific calculator