Investment Calculator

Is an investment worth it? Enter what you put in and what you get back to see its net present value (NPV), internal rate of return (IRR) and payback period.

Cash flows

%
$
Net present value (NPV)
—
Internal rate of return (IRR)
—
Total money in
—
Total money out
—
Net (undiscounted)
—
Payback period
—
Periods
—

Try an example

How to use the investment calculator

  1. Discount rate: the return you could get elsewhere, per period. If your cash flows are yearly, use a yearly rate.
  2. Initial cash flow (CF0): the money you put in today, entered as a negative number.
  3. Later cash flows: one row per amount. If the same amount repeats, enter it once and set Times to how many periods in a row it occurs. Money you pay out later is negative too.

The results update as you type.

What the results mean

  • Net present value (NPV) discounts every cash flow back to today at your discount rate and adds them up. Above zero means the investment beats that rate; below zero means you would do better elsewhere.
  • Internal rate of return (IRR) is the rate that makes NPV exactly zero: the investment's own return per period. Compare it with your discount rate.
  • Payback period is how long until the money you get back equals the money you put in, ignoring interest.

Example

You invest $50,000 today and expect $15,000 a year for three years, then $20,000 in year four. At a 10% discount rate the NPV is about $963, so the project beats 10%. Its IRR is about 10.85% a year, and it pays for itself in about 3.25 years.

Formula

NPV = CF₀ + CF₁/(1+r) + CF₂/(1+r)² + … + CFₙ/(1+r)ⁿ

IRR is the value of r that makes NPV equal zero. It has no closed-form formula, so the calculator finds it numerically.

Frequently asked questions

What is the difference between NPV and IRR?

NPV (net present value) is what a series of cash flows is worth today at the discount rate you choose; a positive NPV means the investment beats that rate. IRR (internal rate of return) is the rate at which NPV is exactly zero, in other words the investment's own rate of return.

What discount rate should I use?

Use the return you could reasonably earn on a similar investment elsewhere, sometimes called the hurdle rate or cost of capital. Many people use 7% to 10% a year for stock-like risk, or a savings or bond rate for safer comparisons.

Why does IRR show no result?

IRR needs at least one negative and one positive cash flow. If all the amounts are positive (or all negative), no rate can make the net present value zero.

What does Times mean in the cash flow list?

It is how many periods in a row the same amount occurs. Instead of typing $15,000 three times, enter it once with Times set to 3.

Results are estimates for educational purposes and are not financial advice. Lenders may round differently or include fees.