---
title: "ROI calculator: NPV, IRR and payback period (free)"
url: "https://www.datafuji.com/en/tools/roi-calculator"
lang: en
translations:
  fr: "https://www.datafuji.com/outils/calcul-roi"
  pt-BR: "https://www.datafuji.com/pt-br/ferramentas/calculadora-de-roi"
  es: "https://www.datafuji.com/es/herramientas/calculadora-roi-van-tir"
  de: "https://www.datafuji.com/de/tools/roi-rechner"
  it: "https://www.datafuji.com/it/strumenti/calcolo-roi"
updated: 2026-12-01
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://www.datafuji.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

- [Home](https://www.datafuji.com/en)

- [Tools](https://www.datafuji.com/en/tools)

- ROI calculator

# ROI calculator: ROI, NPV, IRR and payback period of an investment

Published December 1, 2026 · Updated December 1, 2026 · 16 min read

[Dylan Arnaud](https://www.datafuji.com/en/about#dylan-arnaud), founder of Datafuji

Return on investment (ROI) measures what an investment earns beyond its cost: ROI = (gains − investment) ÷ investment, over the whole life of the project, without regard to time. Net present value (NPV) and the internal rate of return (IRR) fix that flaw by bringing each cash flow back to its value today.

Example: €600k invested for €900k of cash flows over 5 years gives an ROI of 50%, an NPV of €76.6k at 10% and an IRR of 14.7%.

## Calculate the ROI, NPV and IRR of your project

The calculator gives the ROI, NPV, IRR, simple and discounted payback period, and profitability index of one project. Enter the investment, your discount rate and each year’s net cash flow, after tax. Nothing leaves your browser.

Calculator · your numbers stay in your browser

Initial investment, in year 0 (€k)

Discount rate (%)

Project life

Net cash flow for each year, after tax (€k)

Year 1

Year 2

Year 3

Year 4

Year 5

ROI

50.0%

net gain ÷ investment, over the project life

NPV

€76.6k

at a rate of 10.0%

IRR

14.7%

rate at which NPV is zero

Payback period

3.38 years

3 years and 5 months

Discounted payback

4.31 years

4 years and 4 months

Profitability index

1.13

discounted cash flows ÷ investment

Over 5 years, the cash flows return €900k for €600k invested: an ROI of 50.0%, ignoring timing. Discounted at 10.0%, they are worth €676.6k today: the project creates €76.6k of value (positive NPV) and earns more than the required rate. The IRR, 14.7%, is the rate at which NPV would be zero. The investment is paid back in 3 years and 5 months, or 4 years and 4 months on a discounted basis.

Cash flows year by year, in €k

| Year | Cash flow | Discount factor | Discounted cash flow | Cumulative | Cumulative discounted |
| --- | --- | --- | --- | --- | --- |
| 0 | −600.0 | 1.0000 | −600.0 | −600.0 | −600.0 |
| 1 | 150.0 | 0.9091 | 136.4 | −450.0 | −463.6 |
| 2 | 180.0 | 0.8264 | 148.8 | −270.0 | −314.9 |
| 3 | 195.0 | 0.7513 | 146.5 | −75.0 | −168.4 |
| 4 | 195.0 | 0.6830 | 133.2 | 120.0 | −35.2 |
| 5 | 180.0 | 0.6209 | 111.8 | 300.0 | 76.6 |

The default values are those of the warehouse project below. As with Excel’s NPV function, the investment is paid today and each cash flow arrives at year-end; the payback period assumes cash flows spread evenly over the year. Amounts are in thousands of euros, but the results hold in any currency.

## What is the ROI of an investment?

ROI compares the net gain from an investment with the amount put in: how much does each euro invested bring back? It says neither when the money comes back nor what a euro received in five years is worth.

Our fictitious example company, a distribution and services business, has €23,500k of revenue, €870k of net income and €2,400k of cash. Its full balance sheet is in the [financial ratios calculator](https://www.datafuji.com/en/tools/financial-ratios#example).

It is considering a semi-automated warehouse (conveyors, warehouse management software, assisted picking) for €600k of capex, expecting fewer picking errors and handling hours. Its five-year gains are assumptions, not results.

### ROI vs. IRR vs. NPV vs. payback: four questions about the same project

The four metrics use the same cash flows, but each answers a different question.

| Metric | The question | Accounts for time? | Warehouse project |
| --- | --- | --- | --- |
| ROI (return on investment) | How much does each euro invested bring back, in total? | No | 50% over 5 years |
| NPV (net present value) | How much value does the project create, in today’s euros? | Yes, at the chosen rate | €76.6k at 10% |
| IRR (internal rate of return) | What annual return does the project offer? | Yes | 14.7% a year |
| Payback period | How long until the investment is recovered? | Simple version no, discounted version yes | 3.38 years, or 4.31 years discounted |

ROI vs. IRR comes down to time: ROI is a total over the life of the project, IRR a yearly rate that accounts for when each dollar or euro arrives. For an ad campaign, see [ROAS (return on ad spend) and marketing ROI](https://www.datafuji.com/en/marketing-dashboard#roas-roi).

### From expected gain to cash flow

All four calculations work on cash flows, not accounting profit: the extra money the project brings in each year, after tax. Depreciation is not a cash outflow, but it reduces tax.

| €k | Year 1 | Year 2 | Year 3 | Year 4 | Year 5 |
| --- | --- | --- | --- | --- | --- |
| Assumed [EBITDA](https://www.datafuji.com/en/tools/ebitda-calculator) gain | 160 | 200 | 220 | 220 | 200 |
| − Depreciation (600 ÷ 5, straight-line) | 120 | 120 | 120 | 120 | 120 |
| = Taxable gain | 40 | 80 | 100 | 100 | 80 |
| Income tax at 25% | 10 | 20 | 25 | 25 | 20 |
| Net cash flow = EBITDA gain − tax | 150 | 180 | 195 | 195 | 180 |

The 25% rate is close to a typical US rate: the federal corporate income tax rate is 21%, and the combined federal and state rate averaged 25.57% in 2025 (Tax Foundation). The first year is lower while teams ramp up. The total comes to €900k.

US tax depreciation usually front-loads deductions. Most business property falls under MACRS, and IRS Publication 946 notes that 100% bonus depreciation was reinstated for certain qualified property acquired and placed in service after January 19, 2025. Faster deductions pull tax savings forward and raise NPV; the example keeps straight-line depreciation for readability.

If the project ties up inventory or receivables, subtract the increase in [working capital requirement (WCR)](https://www.datafuji.com/en/tools/working-capital-calculator) from the cash flow; the warehouse changes neither, so none is counted. The method is detailed in the [cash flow calculator](https://www.datafuji.com/en/tools/cash-flow-calculator).

## What are the ROI, NPV and IRR formulas?

ROI divides the net gain by the investment; NPV adds up the cash flows divided by (1 + rate) to the power of the year, minus the investment; IRR is the rate that makes NPV zero.

ROI = (sum of cash flows − I0) ÷ I0 NPV = − I0 + CF1 ÷ (1 + r) + CF2 ÷ (1 + r)² + … + CFn ÷ (1 + r)ⁿ IRR = the rate r such that NPV = 0 Profitability index = (NPV + I0) ÷ I0 I0 : initial investment CFt : net cash flow in year t r : discount rate

### What is the ROI formula?

ROI = (gains − cost of the investment) ÷ cost of the investment. For the warehouse, (900 − 600) ÷ 600 = 50%: each euro invested brings back €1.50, of which €0.50 is net gain.

### Annualized ROI

That 50% covers five years, not one. Annualized, it is 10% as a simple average, or 8.4% a year compounded (the CAGR, 1.5 to the power 1/5, minus 1) if all the money came back at the end. The project’s true annual return is its IRR, 14.7%, because the money starts coming back in the first year.

### How do you calculate NPV? The warehouse project at 10%

The company requires 10% a year from a project of this risk: its discount rate, or hurdle rate (how to choose it is explained below). Each cash flow is multiplied by a discount factor, 1 ÷ (1.10)ᵗ.

| Year | Cash flow (€k) | Factor at 10% | Discounted cash flow (€k) | Cumulative discounted (€k) |
| --- | --- | --- | --- | --- |
| 0 | −600 | 1.0000 | −600.0 | −600.0 |
| 1 | 150 | 0.9091 | 136.4 | −463.6 |
| 2 | 180 | 0.8264 | 148.8 | −314.9 |
| 3 | 195 | 0.7513 | 146.5 | −168.4 |
| 4 | 195 | 0.6830 | 133.2 | −35.2 |
| 5 | 180 | 0.6209 | 111.8 | +76.6 |

The discounted cash flows add up to €676.6k: NPV is 676.6 − 600 = €76.6k, and the profitability index 676.6 ÷ 600 = 1.13. Side by side, raw and discounted cash flows show the cost of waiting.

![ROI calculator example: bars by year. Year 0: investment of €600k. Years 1 to 5: cash flows of €150k, €180k, €195k, €195k and €180k, each shown next to the same cash flow discounted at 10%: 136.4, 148.8, 146.5, 133.2 and 111.8 (€k). The gap grows with time: €13.6k in year 1, €68.2k in year 5. The €900k of cash flows are worth €676.6k today, an NPV of €76.6k after the €600k invested.](https://www.datafuji.com/img/en/outils-calcul-roi/outils-calcul-roi-01.svg)

*Discounted at 10%, the €900k of cash flows are worth only €676.6k today: NPV is €76.6k.*

A euro in year 5 is worth only €0.62 today. A positive NPV says the project earns more than the required 10%, and by how much in euros: it is the main decision criterion.

### How do you calculate IRR?

IRR has no direct formula: you search, by trial and error, for the rate that brings NPV to zero. At 14%, the warehouse NPV is still +€10.6k; at 15%, it falls to −€4.3k. The IRR lies between the two.

Linear interpolation IRR ≈ 14% + 1 point × 10.64 ÷ (10.64 + 4.26) = 14% + 0.71 point = 14.71%

Excel, the calculator and Power BI run the same search more finely. The NPV curve shows what IRR represents.

![NPV profile of the warehouse project by discount rate: €300k at 0%, €176k at 5%, €76.6k at 10%, €10.6k at 14%, then −€70.8k at 20% and −€126.1k at 25%. The curve crosses the axis at 14.7%: that is the IRR. At the 10% required rate of return, NPV is positive; above 14.7%, the project would destroy value.](https://www.datafuji.com/img/en/outils-calcul-roi/outils-calcul-roi-02.svg)

*NPV falls as the required rate rises and reaches zero at 14.7%: that is the project’s IRR.*

Decision rule: an IRR above the required rate is equivalent to a positive NPV, for a conventional project (one outflow, then inflows). The safety margin is the gap between the two, 4.7 points here.

### How do you calculate the payback period of an investment?

The payback period is the time it takes for cumulative cash flows to repay the investment. At the end of year 3, the warehouse has returned €525k; €75k is still missing, out of €195k expected in year 4.

Simple payback = 3 + 75 ÷ 195 = 3.38 years (3 years 5 months) Discounted payback = 4 + 35.2 ÷ 111.8 = 4.31 years (4 years 4 months)

The discounted payback runs the same calculation on discounted cash flows, as the two cumulative curves show.

![Two curves of cumulative cash flow, from −€600k in year 0 to the end of year 5. The simple cumulative passes through −450, −270, −75, +120 and +300 (€k) and crosses zero at 3.38 years. The cumulative discounted at 10% passes through −463.6, −314.9, −168.4, −35.2 and +76.6 (€k) and crosses zero at 4.31 years, eleven months later and less than nine months before the end of the project.](https://www.datafuji.com/img/en/outils-calcul-roi/outils-calcul-roi-03.svg)

*Without discounting, the investment comes back in 3.38 years; in today’s euros, in 4.31 years, almost at the end of the five years.*

Payback measures risk, not profitability: it ignores everything that happens after the investment is repaid.

## How do you calculate ROI, NPV and IRR in Excel?

Excel calculates NPV with NPV, IRR with IRR, and their exact-date versions with XNPV and XIRR. ROI and the payback period are built with SUM and COUNTIF.

Put the rate in B1 (10%), years 0 to 5 in A3:A8, the cash flows in B3:B8 (−600 in B3) and their dates in C3:C8. The running total goes in D3:D8: =B3 in D3, then =D3+B4 copied down.

| Calculation | Excel formula | Result |
| --- | --- | --- |
| ROI | =(SUM(B4:B8)+B3)/-B3 | 50% |
| NPV | =NPV(B1,B4:B8)+B3 | 76.6 |
| IRR | =IRR(B3:B8) | 14.7% |
| NPV with exact dates | =XNPV(B1,B3:B8,C3:C8) | 76.4 (dates from 12/31/2026 to 12/31/2031) |
| IRR with exact dates | =XIRR(B3:B8,C3:C8) | 14.7% |
| Modified IRR | =MIRR(B3:B8,4%,10%) | 12.7% |
| Payback period | =COUNTIF(D4:D8,"<0")+-INDEX(D4:D8,COUNTIF(D4:D8,"<0"))/INDEX(B4:B8,COUNTIF(D4:D8,"<0")+1) | 3.38 years |

The payback formula assumes a running total that never dips back below zero and an investment repaid before the last year. For the discounted payback period, build the running total on a column of discounted cash flows, =B4/(1+$B$1)^A4.

### The return on investment (ROI) formula in Excel

Excel has no ROI function: with the investment entered as a negative number in B3, write =(SUM(B4:B8)+B3)/-B3 and format it as a percentage.

### The NPV function trap

Excel’s NPV function discounts every argument, the first one included, as if it arrived at the end of year 1. Microsoft says a cash flow at the start of the first period must be added to the result, not included in the arguments.

Writing =NPV(B1,B3:B8), investment included, gives €69.6k instead of €76.6k: the correct NPV divided by 1.10. The error is 9%, always in the same direction, and the result looks plausible.

### Cash flows on exact dates: XNPV and XIRR

When cash flows do not fall at regular intervals (quarterly rent, a large receipt in March), XNPV and XIRR take a column of dates. They discount each cash flow over the number of days elapsed since the first one, divided by 365.

With cash flows on December 31 of each year from 2026 to 2031, NPV moves from €76.6k to €76.4k: 2028 has 366 days, and the following cash flows are discounted slightly more. The gap is small on annual cash flows, real on monthly ones.

### Modified IRR (MIRR)

IRR assumes cash flows are reinvested at 14.7%, the IRR itself. MIRR reinvests them at a chosen rate (10% here) and finances outflows at a finance rate (4%): it gives 12.7%, a more conservative return. The 4% plays no part here, since the only outflow falls in year 0.

## How do you calculate NPV and IRR in Power BI?

In Power BI, DAX calculates NPV with XNPV and IRR with XIRR, on a table of dated cash flows: the same formulas as Excel’s XNPV and XIRR, on a 365-day basis.

You need a CashFlows table with Date and Amount columns, the investment as a negative number. The four measures:

NPV = XNPV ( CashFlows, CashFlows[Amount], CashFlows[Date], 0.10 ) IRR = XIRR ( CashFlows, CashFlows[Amount], CashFlows[Date], 0.1, BLANK () ) ROI = VAR Outflows = CALCULATE ( SUM ( CashFlows[Amount] ), CashFlows[Amount] < 0 ) VAR Inflows = CALCULATE ( SUM ( CashFlows[Amount] ), CashFlows[Amount] > 0 ) RETURN DIVIDE ( Inflows + Outflows, - Outflows ) Cumulative = VAR D = MAX ( CashFlows[Date] ) RETURN CALCULATE ( SUM ( CashFlows[Amount] ), REMOVEFILTERS ( CashFlows ), CashFlows[Date] <= D )

On the warehouse cash flows dated from 12/31/2026 to 12/31/2031, XNPV gives €76.4k and XIRR 14.7%, as in Excel. The fifth argument of XIRR, BLANK(), replaces the error when no rate works: Microsoft recommends it over IFERROR.

On a chart by year, the Cumulative measure draws the payback curve. The 0.10 rate can come from a parameter, so leadership can vary it in the report. The basics of the language are in the [DAX guide](https://www.datafuji.com/en/dax).

Two documented limits: XNPV and XIRR require at least one positive and one negative cash flow, and they are not supported in calculated columns or row-level security rules in DirectQuery mode. These measures have not been tested on a client model.

## What is the difference between ROI, ROE and ROCE?

ROI judges a project over its life; ROE (return on equity) and ROCE (return on capital employed) judge the whole company over a fiscal year. The three can only be compared with care.

| Metric | Formula | What it judges | Example company |
| --- | --- | --- | --- |
| ROI | (sum of cash flows − investment) ÷ investment | One project, over its whole life | Warehouse: 50% over 5 years, IRR 14.7% |
| ROE (return on equity) | Net income ÷ shareholders’ equity | What the year earns for the shareholders | 870 ÷ 6,900 = 12.6% |
| ROCE (return on capital employed) | Operating income after tax ÷ (equity + net debt) | What the business’s operating assets earn, however they are financed | 975 ÷ 7,900 = 12.3% |

The warehouse IRR, 14.7%, beats the 12.3% the company’s operating assets already earn: the project pulls its return upward. A project with a 9% IRR would be profitable in absolute terms, but would dilute it.

ROE depends on debt: borrowing to finance the warehouse can raise it without changing the project. That is financial leverage, covered with the other ratios in the [financial ratios calculator](https://www.datafuji.com/en/tools/financial-ratios#profitability).

### How do you calculate ROIC?

ROIC (return on invested capital) divides operating income after tax by invested capital: fixed assets plus working capital requirement, or equity plus net debt. For the example company, €1,300k of operating income × 75% (after tax), or 975, ÷ 7,900 (6,900 of equity + 1,000 of net debt) = 12.3%.

ROIC and ROCE are often calculated the same way in smaller companies. Analysts tell them apart by their adjustments (cash, goodwill, leases), which vary by author: always say which ones you make.

## Which discount rate should you use?

The discount rate, also called the hurdle rate or required rate of return, is the minimum return the company requires from a project. It sits above the risk-free rate and the cost of debt, and rises with risk. No rule sets it for a small or mid-sized company; larger ones often start from their cost of capital.

Three US public benchmarks set the floor:

| Benchmark | Value | Date | Source |
| --- | --- | --- | --- |
| 10-year Treasury yield | 4.94% | November 27, 2026 | U.S. Department of the Treasury, daily par yield curve rates |
| 10-year Treasury yield, monthly average | 5.13% | October 2026 | Federal Reserve Bank of St. Louis, FRED (GS10) |
| Median rate on variable-rate small-business term loans | 6.7% (rural banks) to 7% (urban banks) | Q2 2026 | Federal Reserve Bank of Kansas City, Small Business Lending Survey |

The first two say what a risk-free investment earns; the third, what borrowing costs. A project that earns less than the Treasury is not worth its risk.

The example company uses 10%, about 5 points above the 10-year Treasury yield, for the risk of an operating project: an assumption, not a standard. A more uncertain project (a new market) justifies a higher rate.

- Do not use the loan rate. At 7%, the warehouse NPV rises to €133.7k, and at the Treasury’s 4.94% to €177.4k: almost any project looks profitable, yet shareholders, who carry the risk, expect more than the bank.

- One rate per level of risk. Replacing an identical machine is judged at a lower rate than a new product.

- Test several rates. The warehouse stays profitable as long as the required rate does not exceed its IRR, 14.7%.

### What is a good ROI?

No public threshold says an ROI is good: 50% over two years and 50% over ten years have nothing in common. A good project has a positive NPV at the required rate, an IRR above that rate and a payback period its cash position can live with.

For the warehouse, all three signals are green, with one reservation: a discounted payback of 4.31 years out of 5 leaves little margin if the gains arrive late. The calculator lets you test a one-year delay. The next question is whether the company can fund the outlay from its own resources: that is what its [self-financing capacity (CAF)](https://www.datafuji.com/en/tools/self-financing-capacity-calculator#uses) measures.

## Which pitfalls distort a profitability calculation?

The costliest mistakes come from forgetting time: an ROI compared without its duration, cash flows not discounted or wrongly dated, accounting profit taken for cash flow. Then come misleading IRRs.

### First pitfall: two projects, the same ROI

A project B also costs €600k and also returns €900k, but over eight years, €112.5k a year. Its ROI is the same, 50%. Its NPV is not.

![Comparison of two €600k projects that each return €900k, so the same 50% ROI. Project A, the warehouse: €900k over 5 years, NPV of €76.6k at 10%, IRR of 14.7%, payback period of 3.38 years. Project B: €112.5k a year for 8 years, NPV of €0.2k at 10%, IRR of 10.0%, payback period of 5.33 years. ROI ranks them as equal; NPV shows that only A creates value.](https://www.datafuji.com/img/en/outils-calcul-roi/outils-calcul-roi-04.svg)

*Same investment, same €900k, same 50% ROI: the warehouse creates €76.6k, project B almost nothing.*

Project B earns barely more than the required 10%. ROI does not see the three extra years of waiting; NPV does.

### Second pitfall: several IRRs, or an IRR that ranks wrongly

When cash flows change sign more than once, several rates bring NPV to zero. A project that costs 1,000, returns 2,300 the following year, then costs 1,320 to dismantle has two IRRs, 10% and 20%. Neither means anything: read the NPV.

Between two mutually exclusive projects, IRR can also rank them the wrong way round. A project C of €100k that returns €40k a year for four years has an IRR of 21.9%, higher than the warehouse. But its NPV is only €26.8k: it creates less value.

| Mistake | What it costs | The fix |
| --- | --- | --- |
| Comparing ROIs over different durations | Projects A and B tie at 50%, for NPVs of €76.6k and €0.2k | Compare NPVs at the same rate |
| Investment placed inside Excel’s NPV function | NPV understated by 9% (69.6 instead of 76.6, at 10%) | =NPV(rate,cash flows of years 1 to n)+investment |
| Accounting profit instead of cash flow | Depreciation is deducted twice, tax is miscounted | Cash flow = EBITDA gain − tax − increase in WCR |
| Pre-tax gains | ROI of 66.7% instead of 50% for the warehouse | Cash flows after income tax |
| Discount rate equal to the loan rate | Inflated NPV: €133.7k at 7%, the rate on a small-business loan, vs. €76.6k at 10% | A rate that pays for the project’s risk |
| Nominal cash flows, real rate (or the reverse) | NPV skewed one way or the other | Cash flows and rate both with inflation, or both without |
| Several sign changes | Two or more IRRs (10% and 20% in the dismantling example) | Decide on NPV, or on modified IRR |

The pre-tax ROI: (€1,000k of EBITDA gains over five years − 600) ÷ 600 = 66.7%.

## How do you calculate the ROI of a Power BI dashboard?

The ROI of a dashboard is calculated like that of a machine: an investment, annual costs, gains. Its gains are mostly hours freed up, which only count if put to other use.

The figures below are assumptions; replace them with yours. Only the prices are public: Datafuji’s Management package (6 pages, up to 4 sources) and the Power BI Pro license (Microsoft, November 29, 2026). Datafuji bills in euros, so the calculation uses the French list price; in the United States, Power BI Pro costs $14.00 per user per month, paid yearly.

| Item | Assumption or price | Amount |
| --- | --- | --- |
| Building the dashboard | Management package, list price excl. VAT | €5,000 excl. VAT, in year 0 |
| Licenses | 10 Pro users at €12.10 excl. VAT per month, at French list prices, paid yearly | €1,452 excl. VAT a year |
| Reporting time saved | Assumption: 8 hours a month of FP&A work | 96 hours a year |
| Cost of one hour | Assumption: €50 fully loaded, to take from your payroll | €4,800 a year |
| Net annual gain | 4,800 − 1,452 | €3,348 a year |

Over three years at 10%, these assumptions give an ROI of 100.9%, an NPV of €3,326 and a payback period of 1.49 years, or 18 months. Tax is left out for readability; add it as for the warehouse.

The most useful figure is the break-even point: NPV reaches zero at 5.8 hours a month. If the dashboard does not free up six hours a month, or changes no decision, it does not pay for itself in three years at 10%.

Annual gain required = 5,000 ÷ 2.4869 + 1,452 = €3,463 a year Hours per month = 3,463 ÷ (50 × 12) = 5.8 h

The 2.4869 is the sum of the discount factors at 10% over three years. Gains not counted in hours (an earlier customer reminder, a stock problem caught in time) come on top, if quantifiable. License details are in the article on [Power BI pricing](https://www.datafuji.com/en/power-bi-pricing), and package details on our [pricing page](https://www.datafuji.com/en/pricing).

## How do you track the return on an investment after the decision?

Each month, compare the project’s actual cash flows with the investment case, and recalculate NPV with the figures now known.

The warehouse’s first year is expected at €150k. If it brings in only €100k and each later gain arrives a year late (€150k, 180k, 195k, 195k), here is the result over the same five years: NPV falls to €4.4k. Better to see it in month six than at year-end close.

- A project code in the accounts. Without it, the gains dissolve into overall profit.

- Written assumptions. Hours saved, errors avoided, volumes: each one is measured, each one has its variance.

- A recalculated NPV. Actual cash flows for the past, updated forecasts for the rest, the same rate as at the start.

A few projects can be tracked in a workbook. When they multiply, a Power BI dashboard connected to the accounting system shows the variance against the investment case each month, project by project, next to the [budget](https://www.datafuji.com/en/tools/financial-forecast) and the [cash flow forecast](https://www.datafuji.com/en/tools/cash-flow-forecast).

Tracking is part of [FP&A](https://www.datafuji.com/en/fp-and-a) ; its metrics belong in the [financial dashboard](https://www.datafuji.com/en/financial-dashboard). The dashboard neither picks the rate nor improves the assumptions: it shows early the ones that do not hold.

## Frequently asked questions

### Is 20% a good ROI?

It depends on the time it takes and the return you require. Over one year, 20% beats a 10% required rate of return. Over five years, it is less than 4% a year compounded, below the 10-year Treasury yield of 4.94%. Judge a project on its NPV at your required rate, not on its ROI alone.

### Is an ROI calculator enough to decide on an investment?

No: ROI ignores when the money comes back. A good ROI calculator also gives NPV at your required rate of return, IRR and the payback period, on the same cash flows. Two projects can show the same 50% ROI, as in the example on this page, and very different NPVs: €76.6k and €0.2k.

### What is the rule of 72?

It is a mental shortcut for the time it takes a sum to double at compound interest: 72 divided by the annual rate. At 10%, money doubles in about 7.2 years (7.27 years exactly). The rule also shows the effect of discounting: at 10%, a dollar or a euro received in 7 years is worth about half as much today.

### What is the present value formula?

The present value (PV) of a cash flow received in n years is that cash flow divided by (1 + rate) to the power n. The €195k the example project brings in during year 3 is worth 195 ÷ 1.1³ = €146.5k today, at 10%. NPV is the sum of the present values of all cash flows, minus the investment.

### How do you calculate ROI in months?

ROI is not measured in months: the payback period answers that question. Divide what remains to be recovered by the monthly cash flow of the year in which the investment is paid back. For the example company, 3.38 years is 40.6 months, or 3 years and 5 months.

### Should ROI be calculated before or after tax?

After tax, to make a decision: income tax is a cash outflow like any other, and depreciation reduces it. The cash flow is the EBITDA gain minus tax on (gain − depreciation). A pre-tax ROI overstates the example project: 66.7% instead of 50%.

### What is the difference between ROI and ROAS?

ROAS (return on ad spend) divides the revenue from a campaign by its ad spend. ROI subtracts costs and compares the net gain with the investment. A €10,000 campaign that generates €40,000 of sales at a 30% margin has a ROAS of 4, but an ROI of 20%.

Sources

- Microsoft Support, [NPV function](https://support.microsoft.com/en-us/excel/functions/npv-function) (syntax, cash flows at the end of each period, a cash flow at the beginning of the first period to be added outside the arguments, difference with PV), undated, accessed November 29, 2026.

- Microsoft Support, [IRR function](https://support.microsoft.com/en-us/excel/functions/irr-function) (default guess of 10%, 20 iterations, accuracy of 0.00001%, at least one positive and one negative value), [XIRR](https://support.microsoft.com/en-us/excel/functions/xirr-function) and [XNPV](https://support.microsoft.com/en-us/excel/functions/xnpv-function) (discounting on a 365-day year from the first date), [MIRR](https://support.microsoft.com/en-us/excel/functions/mirr-function) (finance rate and reinvestment rate), undated, accessed November 29, 2026.

- Microsoft Learn, [XNPV](https://learn.microsoft.com/en-us/dax/xnpv-function-dax) and [XIRR](https://learn.microsoft.com/en-us/dax/xirr-function-dax) (DAX syntax, 365-day formula, alternateResult preferred to IFERROR, not supported in calculated columns or RLS rules in DirectQuery mode), updated April 25, 2024, accessed November 29, 2026.

- U.S. Department of the Treasury, [Daily Treasury Par Yield Curve Rates, November 2026](https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value_month=202611) (10 Yr column: 4.94% on November 27, 2026), accessed November 29, 2026.

- Federal Reserve Bank of St. Louis, [FRED, Market Yield on U.S. Treasury Securities at 10-Year Constant Maturity (GS10)](https://fred.stlouisfed.org/series/GS10) (monthly average of 5.13% in October 2026), accessed November 29, 2026.

- Federal Reserve Bank of Kansas City, [Small Business Lending Survey, Second Quarter 2026](https://www.kansascityfed.org/surveys/small-business-lending-survey/small-business-lending-q2-2026/) (median rate on variable-rate term loans: 7% at urban banks, 6.7% at rural banks), published September 24, 2026, accessed November 29, 2026.

- Legal Information Institute, Cornell Law School, [26 U.S. Code § 11, Tax imposed](https://www.law.cornell.edu/uscode/text/26/11) (federal corporate income tax rate of 21%, § 11(b)), accessed November 29, 2026.

- Tax Foundation, [Corporate Tax Rates around the World, 2025](https://taxfoundation.org/data/all/global/corporate-tax-rates-by-country-2025/) (combined federal and state rate for the United States: 25.57%), accessed November 29, 2026.

- Internal Revenue Service, [Publication 946 (2025), How To Depreciate Property](https://www.irs.gov/publications/p946) (MACRS for most property; 100% special depreciation allowance reinstated for certain qualified property acquired and placed in service after January 19, 2025), accessed November 29, 2026.

- Microsoft, [Power BI pricing](https://www.microsoft.com/en-us/power-platform/products/power-bi/pricing) (Power BI Pro at $14.00 per user per month, paid yearly) and [French pricing page](https://www.microsoft.com/fr-fr/power-platform/products/power-bi/pricing) (€12.10 excl. VAT per user per month, paid yearly), undated, accessed November 29, 2026.

- Datafuji, [Pricing](https://www.datafuji.com/en/pricing) (Management package: €5,000 excl. VAT, 6 pages, up to 4 sources), accessed November 29, 2026.

---

Datafuji knowledge base, open to agents and AI: every page is available in Markdown (add .md to its URL), in French, English (/en/), Brazilian Portuguese (/pt-br/), Spanish (/es/) and German (/de/).

- Search: https://www.datafuji.com/.well-known/search?q={query}
- Site index: https://www.datafuji.com/llms.txt
