NPV & IRR Calculator for Capital Investments in 2026

Calculate the Net Present Value and Internal Rate of Return of a capital investment from your initial cost and projected annual cash flows.

Mathematical Audit

How NPV & IRR Are Calculated

NPV discounts every future cash flow back to today's dollars and subtracts the initial investment. IRR is the discount rate at which that same calculation equals exactly zero.

NPV = Σ [Cash Flow (Year t) ÷ (1 + Discount Rate)^t] − Initial Investment
IRR = the discount rate r where NPV = 0 (solved iteratively)
Profitability Index = (NPV + Initial Investment) ÷ Initial Investment

A positive NPV means the investment creates value at your chosen discount rate and should be accepted; a negative NPV means it destroys value. When NPV and IRR give conflicting rankings for mutually exclusive projects, NPV is the more reliable dollar-value metric to trust.

Operational Guide

How to Use the NPV & IRR Calculator

1

Enter your Initial Investment

The total upfront cost of the project or purchase.

2

Set the Discount Rate

Usually your Weighted Average Cost of Capital (WACC) or a target hurdle rate.

3

Select the Number of Years

How many years of cash flow you want to project, up to 10.

4

Enter each year's Cash Flow

The expected net cash inflow for each year of the projection.

5

Review your results

See NPV, IRR, payback period, and profitability index, plus an accept/reject recommendation.

Real-World Scenario Example

"A company invests $100,000 upfront expecting $25,000 in cash flow for each of the next 5 years, using a 10% discount rate."

Inputs

initialInvestment:100000
numberOfYears:5
discountRate:10
period1CashFlow:25000
period2CashFlow:25000
period3CashFlow:25000
period4CashFlow:25000
period5CashFlow:25000

Result

NPV ≈ −$5,236, IRR ≈ 7.9% — since IRR is below the 10% hurdle rate and NPV is negative, the project should be rejected as structured.

Important Disclaimer

This calculator provides an estimate based on the cash flows and discount rate you enter. Actual investment returns depend on the accuracy of your cash flow projections, which are inherently uncertain.