What the discount rate is doing
Discounting converts money expected in the future into today's dollars. The higher the discount rate, the lower the present value of those future cash flows. The lower the rate, the more heavily the future amounts count in today's valuation.
This calculator turns that idea around. Instead of choosing the rate first, it solves for the rate that would make the future cash flow or evenly spaced cash-flow series match the present value you enter.