How to use this calculator
- Enter Initial investment ($)。
- Enter Future value ($)。
- Enter Discount rate (%)。
- Enter Years (yrs)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Net present value。
What is it
Net Present Value — Discounts a future cash flow to today, then subtracts the initial investment. Investment calculators quantify the time value of money, returns and risk, turning a vague sense of "this will do well" into comparable numbers. The core question it answers is: Net present value. Invest 100k, get 150k in 5y at 8% → NPV ≈ 2,108.
Formula
| Variable | Inputs | Unit |
|---|---|---|
initialInvestment | Initial investment | $ |
futureValue | Future value | $ |
discountRate | Discount rate | % |
years | Years | yrs |
npv | Net present value | $ |
futureValue / Math.pow(1 + discountRate/100, years) - npv(npv + initialInvestment) * Math.pow(1 + discountRate/100, years)(Math.pow(futureValue / (npv + initialInvestment), 1/years) - 1) * 100Math.log(futureValue / (npv + initialInvestment)) / Math.log(1 + discountRate/100)-initialInvestment + futureValue / Math.pow(1 + discountRate/100, years)The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Initial investment = 100000 $
- Future value = 150000 $
- Discount rate = 8 %
- Years = 5 yrs
Formula used: -initialInvestment + futureValue / Math.pow(1 + discountRate/100, years)
Answer:
- Net present value = 2,087.48 $
Example 1 (default inputs):Suppose Initial investment = 100,000 $, Future value = 150,000 $, Discount rate = 8 %, Years = 5 yrs; then giving Net present value = 2,087 $.
Example 2 (one input changed):If you change Initial investment to 75,000,giving Net present value = 27,087 $.
Additional information
Assumptions and limitations
- These models assume a constant rate, periodic compounding, and no taxes or trading costs. Real return sequences, fees and taxes materially change outcomes — treat results as planning guidance, not a promise.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.