The present value calculator is essentially the compound interest calculator in reverse. Using the present value calculator, you can determine how much you need to invest in order to achieve the specified value in the future.
If you want to have in years, assuming an interest rate of % per year, you need to invest at the start of the period.