AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I calculate return on investment (ROI)?

In AnyTool ROI Calculator, type how much you invested and what it returned. It works out the net profit (final value − total invested, where total invested is the initial amount plus any additional costs), the total ROI as a share of the money invested (ROI = net profit ÷ total invested × 100), and the investment multiple (final value ÷ total invested, e.g. 2.5x). Add a holding period and it also gives the annualised ROI, or CAGR — ((final value ÷ total invested)^(1 ÷ years) − 1) × 100 — which is the smoothed yearly rate you should use to compare investments held for different lengths, because total ROI on its own ignores time. Everything updates live, entirely in your browser.

  • Net profit = final value − total invested (initial + extra costs)
  • Total ROI % = net profit ÷ total invested × 100
  • Investment multiple = final value ÷ total invested (e.g. 2.5x)
  • Annualised ROI (CAGR) = (final ÷ invested)^(1 ÷ years) − 1, for fair comparison
  • 100% in your browser — no upload, no signup, works offline

What is

Return on investment (ROI)

Return on investment (ROI) is the profit or loss generated by an investment expressed as a percentage of the amount invested: ROI = (final value − total invested) ÷ total invested × 100. It measures total return but ignores how long the money was held, so a 50% return over one year and over ten years read the same. To compare holdings of different lengths, ROI is annualised into the compound annual growth rate (CAGR) = ((final value ÷ total invested)^(1 ÷ years) − 1) × 100, the constant yearly rate that produces the same final value. ROI also ignores risk, the timing of cash flows, fees, taxes and inflation.

Calculators

Related terms

CAGRAnnualised returnNet profitInvestment multipleIRRCompound annual growth rate

Frequently Asked Questions

Total ROI is the lifetime return as a percentage and ignores time; annualised ROI (CAGR) is the smoothed yearly rate, so it lets you compare investments held for different lengths.

Total ROI is net profit divided by the amount invested, so a 50% return looks identical whether you earned it in one year or ten. Annualised ROI, or CAGR, fixes that by spreading the return evenly across the holding period: CAGR = ((final value ÷ total invested)^(1 ÷ years) − 1) × 100. A $10,000 investment growing to $15,000 is a 50% total ROI either way, but that is a 50% CAGR over one year and only about 8.45% over five. AnyTool ROI Calculator shows both, so you compare on an equal footing.

Add the extra costs to the initial investment to get the total invested, then ROI = (final value − total invested) ÷ total invested × 100.

Fees, repairs, marketing spend and other outlays are part of what you put in, so they belong in the cost basis. Total invested = initial investment + additional costs, the net profit is final value − total invested, and ROI is that net profit divided by the total invested, times 100. For example, $10,000 invested plus $500 of costs that returns $15,000 is a net profit of $4,500 and an ROI of $4,500 ÷ $10,500 × 100 = 42.9%, lower than the 50% you would get if you ignored the costs. AnyTool adds the costs for you and updates the result live.

It depends on the risk and time horizon, but many investors treat a 7–10% annualised return as a reasonable long-run benchmark for diversified stocks.

There is no universal "good" ROI because it must be judged against risk and how long you held the investment — which is why the annualised figure matters more than total ROI. As a rough benchmark, the long-run average annualised return of broad stock markets has historically been in the high single digits after inflation, so a CAGR comfortably above that for similar risk is strong, while a high total ROI earned over many years can annualise to very little. AnyTool reports the annualised ROI so you can judge any investment against your own benchmark rather than be misled by a big-looking total.

Yes, it is free with no signup, and nothing is uploaded — every calculation runs in your browser and the page works offline.

AnyTool ROI Calculator is completely free with no account or limits, and all math runs on a small, unit-tested engine entirely in your browser, so the amounts you type are never sent to a server. Keep in mind the figures are gross: ROI ignores risk, the timing of cash flows, taxes, fees and inflation, and past returns are not a guarantee of future ones, so treat the result as one input into a decision rather than the decision itself.

Detailed Explanation

Methodology

How the ROI Calculator Works

The calculator works from what you put in and what you got back. Total invested = initial investment + any additional costs (fees, repairs, marketing spend). Net profit = final value − total invested. Total ROI = net profit ÷ total invested × 100, the lifetime return as a percentage of the money invested. The investment multiple (MOIC) = final value ÷ total invested, so 2.5x means the money grew two-and-a-half-fold. When a holding period is supplied, it also computes the annualised ROI, or compound annual growth rate: CAGR = ((final value ÷ total invested)^(1 ÷ years) − 1) × 100. Every result is produced by a pure function in a small, unit-tested engine, with the worked formula shown live as you type.

  • Total invested = initial investment + additional costs
  • Net profit = final value − total invested
  • Total ROI % = net profit ÷ total invested × 100
  • Investment multiple = final value ÷ total invested (e.g. 2.5x)
  • Annualised ROI (CAGR) = (final ÷ invested)^(1 ÷ years) − 1
How It Works

Total ROI Ignores Time — Annualised ROI (CAGR) Fixes That

The biggest limitation of total ROI is that it says nothing about how long the money was invested. A 50% return is excellent in one year and mediocre over ten, yet both report the same total ROI. Annualised ROI — the compound annual growth rate (CAGR) — solves this by expressing the return as a constant yearly rate that compounds the total invested up to the final value over the holding period: CAGR = ((final value ÷ total invested)^(1 ÷ years) − 1) × 100. Using the standard example, $10,000 growing to $15,000 is a 50% total ROI regardless of time, but that is a 50% CAGR over one year and only about 8.45% over five. This is why professional investors and financial planners default to CAGR when comparing investments held for different periods, and why the tool always shows it alongside the total figure.

  • Total ROI ignores the holding period entirely
  • A 50% return over 1 year ≫ a 50% return over 10 years
  • CAGR is the smoothed constant yearly rate over the period
  • $10k → $15k is 50% total ROI but ~8.45% CAGR over 5 years
  • Use CAGR, not total ROI, to compare different time horizons
Limitations

What ROI Cannot Tell You — Risk, Cash-Flow Timing, Fees and Taxes

ROI and CAGR are useful summaries, not complete decision tools. They ignore risk and volatility, so two investments with an identical ROI can carry very different chances of loss. They ignore the timing of cash flows — exactly when money went in or came out within the period — for which internal rate of return (IRR) or net present value (NPV) is the right tool. The figures here are gross: they do not deduct taxes on gains, transaction or management fees, or the effect of inflation on what your money will buy, so the real, after-tax, real-terms return is lower. An initial investment of zero or less is rejected because there is no cost basis to divide by, and a final value below the total invested is correctly reported as a loss with a negative ROI rather than an error. Figures are rounded for display while full precision is used in the math, and past returns are never a guarantee of future ones.

  • ROI ignores risk — same ROI can mean very different risk
  • It ignores the timing of cash flows (use IRR/NPV for that)
  • Gross only — excludes taxes, fees and inflation
  • A loss is shown as a negative ROI, not an error
  • An estimator for comparison — not investment advice
Privacy & Security

Privacy and Offline Use

Because all computation runs in the browser, the amounts you enter are never sent to a server, there is no account or tracking, and the page works offline after first load. The calculator is built on a shared, unit-tested ROI engine so its behaviour is consistent and verifiable, and the full breakdown — net profit, total ROI, investment multiple, annualised ROI and the worked formula — can be copied to the clipboard with one tap, across four display currencies (₹, $, €, £).

ROI calculation: in-browser (AnyTool) vs typical online ROI calculators
CapabilityAnyToolTypical online ROI calculators
ProcessingRuns in your browserOften server-side
Annualised ROI (CAGR)Always shown with total ROIOften missing or hidden
Additional costs in basisYes (fees, repairs, spend)Often initial amount only
Investment multiple (x)Shown (e.g. 2.5x)Rarely shown
Worked formulaShown for every resultUsually result only
Handles lossesNegative ROI, not an errorSometimes errors out
CurrenciesFour (₹ $ € £)Often one
Works offlineYes (PWA)No
Cost / signupFree, no signupOften ad-heavy or gated

AnyTool computes ROI locally and uploads nothing. Comparison as of June 2026.