Return on Investment Calculator

Mode

Final value includes the principal — how much you get back in total. Periods under a year can be decimals, e.g. 0.5 for six months.
—
—
——
——
——
——

The same gain across holding periods

Years held Annualized return

Key features

Total and annualized together

One dataset yields both the total holding-period ROI and the annualized figure, so a big-but-slow project cannot masquerade as a good one

XIRR for staggered money

Enter tranches, top-ups and partial exits line by line and get a money-weighted annual rate discounted by actual dates, closer to reality than simple ROI

ROI and ROAS kept apart

Shows revenue ÷ spend and (gross profit − spend) ÷ spend side by side, so a flattering ROAS of 5 no longer misleads

Break-even ROAS computed

Derives the threshold from your margin (1 ÷ margin) and lists it across 20%–60%, so you know the minimum revenue a campaign must return

Payback in years and months

Whether you enter monthly, quarterly or yearly figures, periods are converted to years and months so 12 quarters cannot be read as 12 months

A comparison table per mode

Holding-period annualized, per-flow present values, margin bands and inflow scenarios — four tables that all follow your inputs live

How to use it

1

Pick the right mode first

One outlay and one return is Single; staggered money is Cash flows; judging ad performance is Ad spend; knowing how fast you get your money back is Payback.

2

Type and watch it recalculate

Every change recalculates instantly with no button to press. Amounts accept thousands separators, and percentages are entered as written — 30 means 30%.

3

Read the trend off the table

The row matching your inputs is highlighted. To see what a longer hold or a thinner margin does, just read the rows above and below.

4

Check the note for the convention

The note under the results states what the denominator is and whether costs were deducted. Different conventions can flip a conclusion, so read it before quoting a number.

Common scenarios

Comparing two investments

Level projects with different horizons onto an annualized basis before comparing, instead of trusting total return

Verifying fund performance

Enter purchases, top-ups and redemptions to get XIRR, then compare it with the advertised annualized figure

Deciding whether to keep spending

Compute ROI against break-even ROAS: stop below the threshold, scale up above it

Sizing a shop's payback

With fit-out as a one-off outlay and monthly profit known, see the payback in months directly

Sensitivity-testing a plan

Move the inflow up and down 25% and watch the payback shift to judge how fragile the plan is

Teaching ROI versus ROAS

Demonstrate the gap between the two metrics with one dataset — far stickier than reciting definitions

Background

The definition and the limits of ROI

ROI is net profit divided by cost invested — simple enough that almost anyone can use it: 100k in, 50k profit out, ROI is 50%. It has two inherent weaknesses. First, it says nothing about time: 50% earned in one year and in three years are entirely different. Second, it assumes the money went in all at once; with staggered investment, using total invested as the denominator treats later tranches as if they were tied up for the whole period, understating capital efficiency. That is why proper comparisons convert to annualized, and staggered money uses XIRR.

Why annualized return is a geometric mean

The formula is (1 + total return)^(1/years) − 1, which spreads the total return across years at compound rates. You cannot simply divide total return by years, because under compounding each year's growth multiplies the previous balance: doubling in two years is 2^(1/2) − 1 = 41.4% annualized, not 50%; in three years it is 26.0%, and in five years 14.9%. The same formula explains why long holding periods dilute annualized return so quickly — the longer the time, the thinner the same total return is spread.

How XIRR relates to IRR

IRR is the discount rate that drives net present value to zero, traditionally computed per period and requiring equal periods. XIRR is the irregular version: cash flows may fall on any date, and the discount exponent uses actual days ÷ 365. Real purchases, redemptions and staged project spending are never evenly spaced, which is why XIRR is more common in practice. It has no closed-form solution, so it is solved numerically — this tool bisects between -99.99% and 1000% for 300 iterations, driving NPV below 1e-10.

Why ROAS always looks better than ROI

ROAS is ad revenue divided by ad spend — revenue in the numerator, not profit — so it runs high by construction. Spend 10k, bring in 50k, ROAS is 5, which reads like a 4x profit; but at a 30% margin gross profit is only 15k, leaving 5k after the spend, so true ROI is 50%. The e-commerce rule of thumb that "a ROAS of 4 is profitable" is really reverse-engineered: it assumes a 25% margin, because break-even ROAS equals 1 ÷ 0.25 = 4. Change the margin and the threshold moves with it.

Payback period versus real cash flow

Payback equals initial outlay divided by net inflow per period, a linear estimate that assumes stable inflow. In reality revenue usually starts low and climbs, so the formula tends to be optimistic. The rigorous approach is to lay out each period's actual cash flow and run XIRR, or at minimum to run a sensitivity check: recalculate with inflow at 70% and 50% and see whether payback stays acceptable. That is what the payback scenario table is for — if halving the inflow stretches payback from 12 months to 24, the project has very little tolerance for a bad stretch.

Total return versus annualized (quick reference)

Total return 1 year 3 years 5 years 10 years
+20%20.00%6.27%3.71%1.84%
+50%50.00%14.47%8.45%4.14%
+100%100.00%25.99%14.87%7.18%
+200%200.00%44.22%24.57%11.61%
+500%500.00%81.71%43.10%19.62%
Annualized figures use the compound geometric mean. The same 100% gain stretched over 10 years is only 7.18% a year — that is time diluting return.

FAQ

Q: What is the difference between ROI and annualized return?
A: ROI is the total return over the holding period; annualized converts it to a per-year figure. The same 50% is 50% annualized over one year but 14.47% over three. Comparing different horizons has to use annualized, or slow projects look better than they are.
Q: Why use XIRR instead of simple ROI when money goes in over time?
A: Simple ROI divides net profit by total invested, assuming all the money went in on day one. A tranche added in year two was only at work for one year, so simple ROI understates efficiency. XIRR discounts each flow by its actual date and reflects the real cost of capital.
Q: Why are ROAS and ROI so far apart?
A: Because ROAS counts revenue and ignores cost. Spend 10k for 50k revenue and ROAS is 5; but at a 30% margin gross profit is 15k, leaving 5k net after the spend, so ROI is 50%. Judge profitability by ROI and use ROAS only to gauge scale.
Q: What does break-even ROAS mean?
A: It is the ROAS at which gross profit exactly covers ad spend, equal to 1 ÷ gross margin. At a 30% margin it is 3.33, so every 10k spent must return at least 33.3k in revenue. Below that you are buying a loss.
Q: How is payback calculated, and why does quarterly differ so much from yearly?
A: Payback periods equal initial outlay divided by net inflow per period. The gap comes from period length: 120k invested with 10k per period is 12 months when monthly, but 36 months when quarterly. The tool converts periods to months so 12 quarters cannot be read as 12 months.
Q: Why does annualized return show a dash when the whole principal is lost?
A: The formula is (1 + ROI)^(1/years) − 1, and at ROI of -100% the term 1 + ROI is zero; zero to any positive power is zero, so no geometric-mean annual decline exists. Losing more than the principal is even less defined, so the tool shows a dash rather than inventing a figure.
Q: Can this annualized return be compared with savings products?
A: Yes, the convention matches — this is the compound geometric mean, the same basis banks and funds quote. It does not deduct fees, taxes or inflation: 8% annualized with 3% inflation and 1% fees leaves about 4% real growth, so subtract those first for a true comparison.