Method Deck / finance

Present value of a lump sum

Computes the present value of a single future cash amount, discounted at a given annual rate.

Published for review. The Founder is checking every card himself; anything he strikes comes down the same hour.

Try it

Inputs

Outputs

Steps

  1. Convert the annual rate to a decimal: r = annual_discount_rate_percent / 100.
  2. present_value = future_value / (1 + r) ^ years.
  3. Round present_value to 2 decimals (money to cents).

Constants

None.

Sources

Worked example and test vectors

NameInputsAnswer
worked example{"future_value":10000,"annual_discount_rate_percent":5,"years":10}$6,139.13
test vector: short horizon{"future_value":1000,"annual_discount_rate_percent":8,"years":1}$925.93

Published card