To determine the cash flow for NPV, forecast only the incremental, after-tax cash the project actually changes, place each amount on the date it occurs, and discount at a rate that matches that cash flow's risk. Include the initial outlay, operating cash flow, working-capital changes, capital spending, and terminal recovery; exclude sunk costs and financing costs such as interest. If you cannot state what the company would look like without the project, you cannot yet separate incremental cash flow from accounting profit.

Net present value is only as good as the numbers you feed it. A polished discount rate applied to inflated savings or forgotten working capital produces a confident, wrong answer. This guide walks through what belongs in the cash flow stream, the order to build it, how taxes and timing distort first drafts, and the checks that catch the errors NPV is least forgiving about.

What NPV actually discounts, and what it ignores

NPV answers one question: after accounting for the time value of money, does this project make the owners better off than the alternative? The formula is a sum, not a single number:

NPV = CF0 + CF1/(1+r)^1 + CF2/(1+r)^2 + … + CFn/(1+r)^n

CF0 is usually negative and occurs today, so it is not discounted. Each later CF is the net cash amount for that period. The discount rate r reflects the risk of the cash flows and the return available elsewhere on comparable investments.

Two distinctions do most of the work. First, cash flow is not profit. Revenue collected is cash; a sale on 60-day terms is a receivable until it is collected. A machine bought for cash is a large outflow today even though depreciation spreads the accounting expense over years. Second, NPV cares about incremental cash, meaning the difference between the company's cash flows with the project and without it. An expense that happens either way is not part of the decision.

On the reference category: this is a financing and capital-budgeting question, not a bank-account or payments question, even though it sits in a finance category. The mechanics below apply to a small business evaluating equipment, a team evaluating a software purchase, or an analyst building a model in a spreadsheet. Actual tax rules and discount-rate conventions depend on your jurisdiction and company policy and must be checked separately.

The incremental principle: compare two futures, not one project

The cleanest way to determine cash flow for NPV is to build two columns: the base case (no project) and the with-project case, for the same periods. The cash flow you discount is the difference, row by row. This forces you to confront cannibalization, shared overhead, and timing that a single-project spreadsheet hides.

Consider a bakery weighing a second delivery van. The naive list includes the van price, fuel, insurance, and new deliveries. The incremental view also asks what happens to existing routes: if the new van lets the bakery serve a suburb it currently reaches through a costly courier, the courier savings are incremental. If the van mostly shifts sales from the existing van, the new revenue is partly cannibalized and only the net gain counts.

Incremental cash flow = cash flow with the project − cash flow without the project

The without-project column is not zero. It is the status quo, including maintenance the old equipment would have needed and revenue that would have continued anyway. Projects often look better than they are because the base case is left blank. A replacement decision is the classic trap: buying a new machine does not generate the old machine's output as new value; only the change in output, cost, and salvage counts.

Allocation follows from this. A share of existing rent, a salaried manager's time, or an existing software license is not incremental unless the project genuinely changes the amount paid. If the manager must be replaced or the license tier upgraded, the added cost is real. If not, assigning a charge for "use" simply moves existing costs around and understates NPV.

Step 1: Fix scope, horizon, and the discount rate

Before touching numbers, write down three things: what decision the NPV supports, over what period, and at what rate.

The decision statement keeps the model honest: "Buy a second van in January 2027 and operate it for five years" is testable. "Improve delivery" is not. Define the horizon from the project's economics, not from habit. If the van's useful life is seven years but the delivery contract runs three, model three years plus whatever salvage or redeployment is realistic, and say so.

Choose the discount rate before you see the results. A common approach is the company's weighted average cost of capital for projects of average risk, adjusted upward for riskier ventures or specific financing. Another is the return on a comparable alternative. The rate must match the cash flow: nominal cash flows with projected price inflation need a nominal rate; real cash flows need a real rate. Mixing them is a quiet but large error. Do not use the interest rate on a specific loan unless the project's risk genuinely matches the lender's claim on the business.

State the rate and its source in the model. If the rate is contested, run a sensitivity range rather than arguing for one decimal place.

Step 2: Build the initial outlay at time zero

Time zero is the decision date. The initial outlay includes every cash consequence of starting, not just the invoice.

Include the purchase price, delivery, installation, commissioning, and any site preparation. Include the increase in net working capital the project requires: extra inventory, receivables from new sales, and any cash buffer. Include training that would not happen otherwise, and any one-time costs such as permits. If an existing asset is sold or redeployed, include the after-tax proceeds and any tax on the gain or loss.

Exclude sunk costs. Feasibility studies, deposits already paid, and consulting fees already incurred are gone regardless of the decision and must not be charged to the project. They may explain why the project reached this stage, but they cannot improve its NPV.

A worked check: a $120,000 machine plus $8,000 installation plus $15,000 of added inventory and receivables, net of $5,000 of added payables, gives an initial outlay of $120,000 + $8,000 + ($15,000 − $5,000) = $138,000 at time zero. If an old machine is sold for $10,000 cash and its tax basis is zero at a 25% rate, the after-tax proceeds are $10,000 − $2,500 = $7,500, reducing the outlay to $130,500. That arithmetic should be visible in the model, not buried in a single cell.

Step 3: Derive operating cash flow and get taxes right

Operating cash flow is the recurring cash the project generates. The most reliable route starts from accounting profit and removes non-cash items, then adjusts for working capital:

Operating cash flow = net income + depreciation and other non-cash charges − increase in net working capital

Net income here is the project's incremental after-tax profit, including the tax effect of depreciation. A more direct version works when you have revenue and cash costs but not a full income statement. For a project with revenue R, cash operating costs C, and depreciation D, taxed at rate T:

Operating cash flow = (R − C − D) × (1 − T) + D

The algebra matters because depreciation is not a cash outflow, but it reduces taxable income. The tax saving, D × T, is real cash. Write the formula once and check one year by hand: R = $200,000, C = $120,000, D = $24,000, T = 25%. Taxable income is $56,000; tax is $14,000; net income is $42,000; adding back depreciation gives $66,000. The shortcut gives ($200,000 − $120,000 − $24,000) × 0.75 + $24,000 = $42,000 + $24,000 = $66,000. Same answer, and you now know the model is wired correctly.

Watch for three recurring distortions. Interest expense does not belong in operating cash flow when the discount rate already reflects the cost of capital; including it double-counts financing. Depreciation schedules, tax credits, and loss carryforward rules vary by jurisdiction and asset class, so use the schedule that actually applies rather than a straight-line default. And working capital changes are cash: growth ties up cash in inventory and receivables, while winding down releases it. A project that shows steady profit but steadily rising receivables may be consuming cash for years.

Step 4: Handle capital spending, working capital, and the terminal year

Between time zero and the horizon, there may be more outflows: replacement equipment, major overhauls, or expansion capital. Model each in the year it is paid, not spread evenly. Also track net working capital year by year as a percentage of incremental revenue or as an explicit build, and make sure the cumulative change reconciles to the balance you assumed.

At the end of the horizon, decide what happens. If the project ends, the terminal cash flow may include salvage value after tax, recovery of remaining working capital, and any shutdown or restoration costs. If the business continues beyond the horizon, the terminal value must represent the cash flows after year n, and how you estimate it needs to be stated plainly: a multiple of final-year cash flow, a perpetuity with a stated growth rate, or a liquidation assumption. A perpetuity growing at g with first post-horizon cash flow CF(n+1) is worth CF(n+1)/(r − g), and g must be below r and defensible against long-run growth. Do not pick g to make the NPV positive.

Line up timing. A cash flow received throughout a year is often treated as occurring at year-end, which slightly understates value; monthly or mid-year conventions fix this but must be applied consistently. If revenue starts in month seven, a full-year cash flow in year one overstates the result. Pick a convention, write it down, and apply it everywhere.

A complete, checkable example

Suppose a small logistics company is deciding on a $90,000 delivery van in January 2027, held for four years, with a 10% discount rate and a 25% tax rate. Assume for illustration that the van is depreciated straight-line to zero over four years, that incremental revenue is $80,000 per year with $30,000 of cash operating costs, and that net working capital of $6,000 is needed from year one and recovered at the end. Salvage is expected to be $10,000 at the end of year four, taxable at 25%.

Operating cash flow each year = ($80,000 − $30,000 − $22,500) × 0.75 + $22,500 = $20,625 + $22,500 = $43,125. Here $22,500 is annual depreciation ($90,000 / 4).

Time zero is −$90,000. Year one is $43,125 − $6,000 = $37,125 because the working-capital build occurs then. Years two and three are $43,125. Year four is $43,125 + $6,000 of recovered working capital + $7,500 of after-tax salvage ($10,000 × 0.75) = $56,625.

Discounted at 10%: −$90,000 + $37,125/1.1 + $43,125/1.21 + $43,125/1.331 + $56,625/1.4641. The four discounted amounts are approximately $33,750, $35,640, $32,400, and $38,675. Summing gives about $140,465, so NPV is roughly $50,465. The arithmetic is reproducible, every input is labeled, and the conclusion is conditional on the assumptions rather than on a hidden cell.

If the van instead merely replaced an existing van with identical output, the incremental revenue and cost savings would be near zero, and the decision would turn on maintenance savings, reliability, and salvage — a very different, and probably much smaller, NPV. That is the incremental principle doing its job.

The errors that most often wreck cash-flow estimates

Most bad NPVs are not caused by the discount rate. They come from the cash flow stream.

Double counting is the most common. Charging interest while discounting at a rate that already reflects the cost of capital inflates the cost of the project twice. Charging depreciation as a cash outflow while also adding it back as a tax shield double-counts the same item. Count each cash consequence once, in the period it occurs.

Ignoring working capital flatters growth projects. A business that must stock inventory and wait for customers to pay has real cash tied up. Recover it at the end if the project winds down, and do not assume it returns if operations continue.

Mixing inflation conventions creates drift. Project salaries rising 3% and prices flat while discounting at a nominal 9% overstates early cash and understates later cash in ways that are hard to spot. Choose real or nominal and stay consistent.

Treating the base case as zero hides cannibalization and shared costs. Treating the base case as everything hides the project's real contribution. Build both columns.

Finally, resist the temptation to tune assumptions after seeing a negative NPV. If the project needs a 14% growth rate and a 20-year horizon to break even, that is the finding, not a parameter to adjust.

How to check the model before you trust it

Run a small set of tests, in order, and fix what fails.

Recompute one year by hand using the full formula and compare it to the spreadsheet. Any mismatch is a wiring error, not a rounding issue.

Check that the undiscounted sum of all cash flows equals total cash in minus total cash out, and that the working-capital balance returns to zero (or to the continuing level you assume) at the horizon. If the balance does not reconcile, you have a plug.

Verify the discount rate's convention matches the cash flow's: nominal with nominal, after-tax with after-tax, and the same period length throughout. A monthly model discounted with an annual rate is wrong.

Run sensitivity on the two or three assumptions that actually move the answer, typically revenue growth, gross margin, and the discount rate. Report the range, not just the point estimate. If NPV flips sign within a plausible range, say so.

For a replacement or expansion decision, confirm you can articulate the without-project case in one sentence. If you cannot, the incremental stream is not yet defined.

If the model feeds a real capital commitment, loan covenant, or tax filing, stop at the point where jurisdiction-specific rules — depreciation schedules, tax credits, transfer pricing, or regulated-entity capital rules — determine the answer. Those need a qualified accountant or tax adviser who can see the actual facts; a general model cannot substitute. This article is general education, not individual financial, tax, or investment advice, and projected outcomes are not guaranteed.