b2KIT

NPV & IRR Calculator

Calculate net present value and internal rate of return for investment cash flows. Compare projects on timeline diagrams.

Tested tool guide Tested browser tools Checked August 16, 2026

What NPV & IRR Calculator does, with a checked example

An investment cash-flow series becomes two answers here: its value today at a selected per-period discount rate, and the break-even rate that makes that value zero. Record outlays as negative cash flows and receipts as positive amounts. Timeline diagrams show when each amount occurs and help compare projects side by side. The usual source of a surprising result is mismatched periods. If cash flows are monthly, the discount rate must also be monthly; an annual percentage cannot be used unchanged.

Worked example

A concrete input and expected output from the current implementation.

Input

Discount rate per period: 5%
Cash flows: period 0 = -1000; period 1 = 1100

Expected output

NPV: 47.62
IRR: 10.00%

At 5 percent, -1000 + 1100 / 1.05 = 47.6190476, which rounds to 47.62. Solving -1000 + 1100 / (1 + r) = 0 gives r = 0.10, so the IRR is 10 percent.

How the result is produced

1

Discounting the timeline

For cash flow C at period t and discount rate r, the present value is C / (1 + r)^t. The calculator adds those present values to obtain NPV. A period-zero amount is not discounted because its exponent is zero. Later receipts contribute less at higher discount rates, while later costs contribute negative present values of smaller magnitude.

2

Finding the zero-NPV rate

IRR is a rate r for which the same discounted cash-flow series has NPV equal to zero. Unlike NPV, it does not use the selected comparison rate as its answer. Project timelines make differences in scale and timing visible, which matters because NPV and IRR can rank competing projects differently even when both calculations are correct.

Good uses

  • Evaluating whether a machine purchase, followed by periodic operating savings and a final resale receipt, has positive NPV at a required return.
  • Comparing two proposed projects whose initial costs, later receipts, and operating lives differ, while inspecting where their timeline patterns diverge.
  • Finding the implied break-even return for an initial investment followed by expected distributions, then comparing that IRR with a target return.

Limits and checks

  • NPV depends directly on the chosen discount rate and the completeness of the cash-flow forecast. A positive result does not correct omitted maintenance costs, taxes, terminal costs, or overstated receipts.
  • IRR may be absent or nonunique when the cash-flow signs change more than once. A displayed rate should not be assumed to be the only mathematical solution without checking the NPV profile.
  • Each period must represent a consistent interval. Treating monthly, quarterly, and annual amounts as adjacent equal periods distorts both NPV and IRR, even if every entered amount is otherwise correct.

Common questions

Can IRR alone identify the better of two mutually exclusive projects?

No. IRR is a percentage and can favor a smaller project or one with earlier receipts even when another project adds more value at the chosen discount rate. For mutually exclusive alternatives, compare their NPVs using a rate appropriate to both, then inspect the timelines to understand any disagreement between the rankings.

Does a positive NPV mean the investment will definitely make money?

No. It means the entered cash flows, discounted at the entered rate, have a positive calculated value at period zero. The result remains conditional on those forecasts and on the suitability of the discount rate. Actual receipts may differ, so test alternative cash flows and rates when the assumptions are uncertain.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools