Clearer numbers. Better SEO decisions.Independent tools. Open methodology.

Methodology

NPV & IRR formula: how to calculate SEO return

NPV is discounted cashflows minus the investment; IRR is the discount rate that makes NPV zero. The formulas, a worked $30,000 SEO example, and which measure to trust.

NPV & IRR formula: how to calculate SEO return — planning illustration

Net present value (NPV) tells you whether an SEO investment is worth more than it costs, in today's money. An investment of $30,000 that returns $18,000 a year for 3 years is worth $44,763.34 after discounting at 10% — an NPV of $14,763.34. The internal rate of return (IRR) is the discount rate that would make that NPV exactly zero: 36.3% here. NPV answers in dollars; IRR answers in percent.

Run your own numbers first: the SEO NPV & IRR Calculator takes your investment, annual cashflow, years and discount rate, and returns NPV, IRR and payback for your own figures.

The NPV formula

NPV = (cashflow year 1 ÷ (1 + r)) + (cashflow year 2 ÷ (1 + r)²) + ... − initial investment

Each future cashflow is divided by a discount factor, (1 + r) raised to the year, where r is the discount rate. A dollar next year is worth less than a dollar today, because you could have invested today's dollar instead — that is the time value of money. At a 10% discount rate, $18,000 in year 1 is worth $18,000 ÷ 1.1 = $16,363.64 today; the same $18,000 in year 3 is worth $18,000 ÷ 1.331 = $13,523.67. The further away the cashflow, the smaller its present value.

Subtract the initial investment from the sum of the discounted cashflows. A positive NPV means the investment creates value at that discount rate; a negative NPV means it destroys value; zero means it exactly earns the discount rate. NPV is an absolute measure — it tells you how many dollars of value the project adds, which is why boards prefer it for comparing projects of different sizes.

The IRR formula

IRR = the discount rate r that makes NPV = 0

IRR has no closed-form formula for cashflows longer than a couple of years. It is found by trial: try a discount rate, compute the NPV, and adjust until the NPV is zero. The calculator on this site does it by bisection, narrowing the range until the rate is pinned down. At the worked defaults, a 10% rate gives an NPV of $14,763.34, so the rate must rise — and it rises to 36.3% before the discounted cashflows shrink to exactly the $30,000 invested.

IRR is a rate of return, so it reads like an interest rate and is easy to compare against a hurdle: if your cost of capital is 10% and the IRR is 36.3%, the project clears the bar by a wide margin. But IRR says nothing about scale. A $1,000 project with a 100% IRR adds far less value than a $100,000 project with a 20% IRR, and NPV is the measure that captures that difference.

What each variable means

VariableWhat it isWhere it comes from
Initial investmentEverything the programme costs up frontRetainer, content, links and tools, summed over the programme
Annual cashflowNet cash the programme generates each yearRevenue attributed to SEO, minus delivery costs, per year
YearsHow many years of cashflow to includeYour planning horizon; 3 years is the calculator default
Discount rateYour cost of capital, the return you could earn elsewhereA planning assumption — 10% is the calculator default

Two measurement notes matter before you trust the numbers. First, the cashflow must be net — revenue minus the cost of delivering it. Gross revenue flatters both NPV and IRR, sometimes enough to turn a bad project good on paper. Second, the discount rate is an assumption, not a measurement, and it moves the answer more than any other input except the cashflow itself. Run the calculation at 5% and 15% as well as 10% and see how far the NPV moves before you commit to a figure.

Worked example: a $30,000 SEO investment

Take an SEO programme costing $30,000 that generates $18,000 of net cashflow a year for 3 years, discounted at 10% — the defaults in the SEO NPV & IRR Calculator. Each year's cashflow is worth less the further away it is, so the discount factor shrinks year by year.

YearCashflowDiscount factorPresent value
1$18,0001 ÷ 1.10 = 0.9091$16,363.64
2$18,0001 ÷ 1.21 = 0.8264$14,876.03
3$18,0001 ÷ 1.331 = 0.7513$13,523.67
Total$54,000$44,763.34

The discounted cashflows total $44,763.34. Subtract the $30,000 investment and the NPV is $14,763.34 — the programme adds that much value in today's money at a 10% discount rate. The IRR is 36.3%: discount the same three cashflows at 36.3% and they sum to exactly $30,000. The simple payback is $30,000 ÷ $18,000 = 1.7 years (20 months), and the undiscounted profit over the three years is $54,000 − $30,000 = $24,000.

The discount rate is doing real work here. At 5% the NPV rises to $19,018.46; at 15% it falls to $11,098.05; at 20% it is $7,916.67 — still positive, because the cashflows are large relative to the investment. The NPV stays positive until the discount rate reaches the IRR of 36.3%, which is the definition of IRR. And the horizon matters too: extend the same $18,000 a year to 5 years and the NPV at 10% rises to $38,234.16, because years 4 and 5 add $12,294.24 and $11,176.58 of present value.

The reverse calculation: from NPV target to annual cashflow

The formula runs backwards to set a target before you spend. The three-year annuity factor at 10% is 0.9091 + 0.8264 + 0.7513 = 2.48685, so the annual cashflow that makes NPV exactly zero is $30,000 ÷ 2.48685 = $12,063.44 a year. Any programme returning more than that clears the 10% bar; the worked example returns $18,000, which is $5,936.56 a year above the breakeven cashflow.

This reverse form is also how you sanity-check an NPV promise. An agency promises a $30,000 programme returns $12,000 a year for 3 years and calls it a clear win: at 10% those cashflows are worth $12,000 × 2.48685 = $29,842.20, an NPV of −$157.80 — a small loss, not a win. The promise only works if the cashflow is higher, the horizon longer, or the discount rate lower, and any of those claims should come with the numbers behind it. The formula does not care who made the promise; it only discounts.

How SEOMathLab uses NPV and IRR

Three calculators use these measures directly. The SEO NPV & IRR Calculator is the one this page documents: investment, annual cashflow, years and discount rate in, NPV, IRR, total cashflow, net profit and payback out. The SEO Campaign Payback Calculator answers the simpler timing question — the first month cumulative revenue covers the cost — and the SEO ROI & Breakeven Calculator asks the same question in profit terms with a 12-month ROI. The payback period formula page and the how ROI is calculated page cover the two measures NPV and IRR sit alongside.

Two conventions apply everywhere. First, the calculators model flat annual cashflows, because that is what most people can estimate, but real SEO cashflows ramp — the payback calculator models that ramp month by month, so use it when the first year is much smaller than the third. Second, every discount rate on the site is an input you can override. A 10% rate is a planning assumption, not a market fact, so run the calculation at 5% and 15% as well and plan around the slowest case that still clears your hurdle.

What NPV and IRR do not tell you

IRR assumes cashflows are reinvested at the IRR itself. A 36.3% IRR implicitly assumes each year's $18,000 is reinvested at 36.3%, which no bank or index fund pays — so IRR flatters projects with high rates, and NPV, which reinvests at the discount rate, is the more honest measure when the two disagree.

IRR also breaks on non-standard cashflows. If a project needs a second investment halfway through — cashflows that change sign more than once — there can be two IRRs or none at all, and the bisection that finds one will not warn you about the other. NPV has no such problem: it is a single number for any cashflow pattern, which is another reason boards rank projects by NPV first.

Finally, neither measure says anything about risk beyond the discount rate, or about what happens after the horizon ends. A three-year NPV of $14,763.34 assumes the cashflows stop at year 3; if the rankings built in those three years keep earning in years 4 and 5, the true value is higher — the five-year NPV is $38,234.16. State the horizon when you quote either number, and say which discount rate you used.

What is a good IRR for SEO?

There is no published standard for a good SEO IRR, because investments, cashflows and horizons vary too much. The practical test is whether the IRR clears your cost of capital by a margin that survives a bad case: at the worked defaults the IRR is 36.3% against a 10% discount rate, a 26-point margin. If the IRR only just clears your hurdle, a small miss in the cashflow turns the NPV negative — and the breakeven cashflow of $12,063.44 a year is the number that shows how much room you have.

Is NPV or IRR better for judging an SEO investment?

NPV, when the two disagree. NPV measures value in dollars, so it ranks projects by how much wealth they add; IRR measures a rate, so a small project can outrank a large one on IRR while adding almost nothing. Use IRR as a quick hurdle check — does it clear the cost of capital? — and NPV for the decision itself. At the worked defaults they agree: NPV $14,763.34 is positive and IRR 36.3% clears a 10% hurdle.

What discount rate should I use for SEO?

Your cost of capital — the return you could earn on the next-best use of the money. Ten percent is the calculator default and a common planning figure for a small business; a larger company with cheaper capital might use 8%, a riskier venture 15%. The honest approach is to run the calculation at more than one rate: at the worked defaults the NPV is $19,018.46 at 5%, $14,763.34 at 10% and $11,098.05 at 15%. If the decision flips between rates, the project is rate-sensitive and the rate deserves a proper discussion, not a default.

Can IRR be misleading?

Yes, in two ways. First, IRR assumes cashflows are reinvested at the IRR itself — 36.3% in the worked example — which overstates the value of high-IRR projects. Second, cashflows that change sign more than once, such as a project needing a second investment, can produce two IRRs or none, and the number the calculator returns will not warn you. NPV has neither problem, which is why it is the primary measure and IRR the supporting one.

What if NPV is negative?

Then the investment destroys value at that discount rate, and the honest answer is to change the plan before spending. The options are to lower the investment, raise the annual cashflow, extend the horizon, or accept a lower discount rate — and if none of those is realistic on your numbers, the project does not pay at that rate. At the worked defaults the breakeven cashflow is $12,063.44 a year; a programme returning less than that over 3 years at 10% has a negative NPV, whatever its payback month says.

Still have a question?Start a discussion ↗More methodology →