PV of a future amount
PV = FV / (1 + r/n)n·t
Use PV = FV / e^(r·t).
Use a cash-flow NPV calculator for multiple payments.