Skip to main content
engineering

NPV / IRR Calculator

Enter initial investment and annual cash flows to compute NPV, IRR (bisection), payback period, and discounted payback. NPV vs discount rate chart.

Reviewed by Christopher FloiedPublished Updated

This free online npv / irr calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.

NPV / IRR Calculator

Year 1
Year 2
Year 3
Year 4
Year 5

NPV

$24,088.02

IRR

25.86%

Payback

2.85 yrs

Disc. Payback

3.43 yrs

NPV vs Discount Rate

Year-by-Year Cash Flow

YearCash FlowPV @ rCumulative PV
0 (init)$-50,000$-50,000$-50,000
1$15,000$13,636.36$-36,363.64
2$18,000$14,876.03$-21,487.6
3$20,000$15,026.3$-6,461.31
4$22,000$15,026.3$8,564.99
5$25,000$15,523.03$24,088.02

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the NPV / IRR Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The NPV / IRR Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

NPV / IRR Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the NPV / IRR Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
  • Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
  • Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
  • Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
  • Use it in the field when a quick estimate is needed and a full engineering software package is not available.

About This Calculator

The NPV / IRR Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Enter initial investment and annual cash flows to compute NPV, IRR (bisection), payback period, and discounted payback. NPV vs discount rate chart. All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.

The Theory Behind It

Net Present Value (NPV) is the sum of all cash flows (inflows and outflows) discounted to present value at a specified discount rate: NPV = Σ [CF_t / (1 + r)^t], where CF_t is the cash flow in period t and r is the discount rate. NPV > 0 means the investment creates value; NPV < 0 means it destroys value; NPV = 0 means it exactly meets the required rate of return. NPV is the standard method for capital investment decisions because it correctly accounts for the time value of money and gives a direct measure of value creation. Internal Rate of Return (IRR) is the discount rate at which NPV = 0: NPV(r = IRR) = 0. IRR represents the 'yield' of an investment — the effective return it earns on money invested. An investment is acceptable if IRR > required rate of return (cost of capital). IRR is computed numerically (bisection or Newton-Raphson) because there's no closed-form solution for general cash flow patterns. Complications: (1) multiple IRRs can exist when cash flows change sign more than once; (2) IRR assumes reinvestment at the IRR rate, which may be unrealistic for high-IRR projects; (3) comparing mutually exclusive projects by IRR alone can give wrong decisions — use NPV or the incremental IRR method. The payback period is the time to recover the initial investment from undiscounted cash flows — simpler but ignores the time value of money.

Real-World Applications

  • Capital investment decisions: evaluate whether to purchase a new machine, build a new facility, or acquire a company using NPV and IRR analysis.
  • Project prioritization: rank multiple potential projects by NPV (highest NPV first) when capital is constrained.
  • Acquisition valuation: compute the NPV of a target company's projected cash flows to determine maximum reasonable acquisition price.
  • Equipment replacement analysis: compare keeping existing equipment vs buying new using NPV of the incremental cash flows.
  • Public infrastructure evaluation: NPV of benefits minus costs for public projects (roads, bridges, schools), often using social discount rates lower than private.

Frequently Asked Questions

What is NPV?

Net Present Value is the sum of all project cash flows discounted to present value at the required rate of return. If NPV > 0, the project creates value beyond the cost of capital. If NPV < 0, it destroys value. If NPV = 0, it exactly meets the required return. NPV is the gold standard for investment decisions because it correctly accounts for time value of money and provides a direct measure of value.

What's the difference between NPV and IRR?

NPV gives the value of a project as a dollar amount at today's date. IRR gives the rate of return as a percentage. For independent projects (accept or reject), both methods give the same decision: accept if NPV > 0, or equivalently if IRR > cost of capital. For mutually exclusive projects, NPV is more reliable because IRR can give wrong rankings when projects have very different sizes or cash flow patterns.

What's a reasonable discount rate?

The discount rate should equal the opportunity cost of capital — the return available on alternative investments of equivalent risk. For low-risk projects: 4-6% (roughly corporate bond rates). For average corporate investments: 8-12% (weighted average cost of capital for typical firms). For risky ventures: 15-25%. For startups and high-risk R&D: 25-50%. The risk profile of the specific project determines the appropriate rate.

How do I compute IRR?

IRR is the discount rate at which NPV = 0. There is no closed-form solution for general cash flow patterns — IRR is computed by iteration (bisection, Newton-Raphson). Start with an initial guess (say 10%), compute NPV, adjust the rate up or down based on NPV sign, and iterate until NPV ≈ 0. Modern tools (Excel's IRR function, scientific calculators) do this automatically.

What if NPV is positive for one project and IRR is higher for another?

Go with the project that has higher NPV, not higher IRR. NPV measures absolute value created; IRR is a ratio. A large project with 15% IRR (NPV = $10M) creates more value than a small project with 30% IRR (NPV = $1M), even though the small project has a higher return rate. The NPV method implicitly reinvests at the cost of capital, while IRR implicitly reinvests at IRR — which is usually unrealistic for high-IRR projects.

Related Calculators

References & Further Reading