Code tool

Net Present Value Calculator

Calculate net present value from signed, equally spaced cash flows and a discount rate per period.

In-browser processingNo account requiredPrivacy details ↗

The first entry is CF0 at time zero; subsequent entries are at equally spaced period ends. Enter a rate matching your period unit, and use one currency throughout. At least CF0 and CF1 are required.

Manual inputs stay in this browser. No external data is fetched. This is a mathematical estimate, not investment advice.

References: Microsoft · NPV

A QUICK WALKTHROUGH

How to use this tool

  1. Cash flows (comma or newline separated; use a dot for decimals)
  2. The first entry is CF0 at time zero; subsequent entries are at equally spaced period ends. Enter a rate matching your period unit, and use one currency throughout. At least CF0 and CF1 are required.
  3. Calculate

Formula

NPV = Σ(t=0…N) CFt / (1+r)^t; r = rate (%) / 100.

Assumptions and limits

The first entry is CF0 at time zero; subsequent entries are at equally spaced period ends. Enter a rate matching your period unit, and use one currency throughout. At least CF0 and CF1 are required.

Manual inputs stay in this browser. No external data is fetched. This is a mathematical estimate, not investment advice.

Manual inputs stay in this browser. No external data is fetched. This is a mathematical estimate, not investment advice.

GOOD TO KNOW

Common questions

What does NPV include?

It discounts CF0 and each later signed cash flow at the supplied rate per period. The first entry is at time zero.

Is this investment advice?

No. It is a mathematical estimate based only on your inputs, not investment advice.