NPV Calculation in Excel

This guide treats “npv calculation in excel” the way busy spreadsheet users actually want it: answer first, a live tool to prove it on your own data, then the reasoning. It is written for Excel but calls out every place Google Sheets differs, and the platform toggle at the top switches all shortcuts between Windows and Mac so nothing here assumes the keyboard you are not on.

Exact answer

In Excel: compute net present value with =NPV(rate, B2:B4)+B1 — where B1 holds the (negative) year-0 investment OUTSIDE the NPV range — and the internal rate of return with =IRR(B1:B4) over the full series including year 0.

ƒxNPV & IRR CalculatorLive
%
Net present value
€1,307.29

3 one value per year

IRR
16.34%
=NPV(rate, flows)−investment · =IRR(B1:B4)

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template
=NPV(rate, flows) + initial
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

NPV discounts future cash flows back to today at a chosen rate and nets them against the upfront investment; a positive NPV means the project beats that rate. IRR is the discount rate at which NPV is exactly zero. The classic trap is that Excel's NPV assumes every value in its range sits one period in the future — so the year-0 investment must be added outside the function, while IRR wants the full series including year 0. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “npv calculation in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

B1 holds -10000 (investment today), B2:B4 hold 3000, 4200, 6800. =NPV(10%,B2:B4)+B1 returns €1,307.29 — the project creates value at a 10% hurdle rate. =IRR(B1:B4) returns 16.36%, the rate at which the same series breaks even. NPV and IRR are the standard go/no-go arithmetic for investments, equipment purchases, and projects — and the off-by-one-period NPV trap is probably the most common spreadsheet finance error. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Treat “npv calculation in excel” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.

Common mistakes

  • Including the year-0 investment inside the NPV range, which discounts it one year too many.
  • Feeding IRR a series with no sign change — it needs at least one negative and one positive flow.
  • Comparing projects of different lengths by IRR alone; NPV at a common rate is the safer ranking.
  • Using annual NPV/IRR on monthly flows — switch the rate to a monthly rate or use XNPV/XIRR with real dates.

Frequently asked questions

Why does Excel's NPV differ from my finance textbook?

Excel's NPV discounts every range value by at least one period. Add the year-0 flow outside the function: =NPV(rate,flows)+initial.

What does #NUM! from IRR mean?

IRR could not converge — usually the series has no sign change, or you should supply a guess: =IRR(range, 0.1).

When should I use XNPV and XIRR?

When cash flows are not evenly spaced. XNPV/XIRR take actual dates alongside the values.

Other ways people ask this

This is also commonly searched as “calculation of npv in excel” and “npv calculations in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “calculation of npv in excel”, “npv calculations in excel” all point at the one operation explained on this page, which is why they all lead here.