ROI Calculator

Work out the return on investment after fees and income, and the annualised ROI (CAGR) that lets you compare investments held for different lengths of time — or put two side by side.

Calculator Finance Updated Oct 4, 2026
Learn how this works
How to Use
  1. Choose One investment, or Compare two to put two investments side by side.
  2. Enter the amount invested, any fees and costs (buying, selling, closing costs), and how long you held it.
  3. Enter the final value (sale price or what it is worth now) and any income received along the way, such as dividends or rent.
  4. Read the total ROI, the annualised ROI and the net profit. The chart shows the money growing at the annualised rate.
  5. When comparing, judge by the annualised figure: a bigger total ROI over more years can be the slower investment.
Input
Investment A
$
$
$
$
years
Investment B
$
$
$
$
years
Presets
Growth at the Annualised Rate
ROI
—
Annualised ROI
—
Net profit
—
Money multiple
—

Worked Example

ROI after fees and income. You buy $10,000 of shares and pay $20 in fees, so $10,020 goes in. Three years later you sell for $15,000, having received $600 of dividends, so $15,600 comes back.

Net profit = 15,600 − 10,020 = $5,580. ROI = 5,580 ÷ 10,020 = 55.6886%. Annualised ROI = (15,600 ÷ 10,020)1/3 − 1 = 1.55691/3 − 1 = 15.9006% a year.

Comparing. A turns $10,000 into $16,000 over 5 years: 60% total, 9.8561% a year. B turns $10,000 into $13,000 over 2 years: 30% total, 14.0175% a year. B grows faster even though A’s total is twice as big.

The common mistake: dividing the total ROI by the years. 60% ÷ 5 = 12% a year for A, but money growing at 12% for 5 years would reach $17,623.42, not $16,000. The compound rate is 9.8561%.

Show Work

Enter values and calculate to see the step-by-step breakdown.

Formulas

ROI
ROI = (returned − invested) / invested
invested = cost + fees; returned = final value + income
Annualised ROI (CAGR)
r = (returned / invested)1/t − 1
t = years held; the steady yearly rate that gives the same result
Money multiple
MOIC = returned / invested
1.5× means every dollar came back as $1.50
From ROI to annualised
r = (1 + ROI)1/t − 1
50% over 3 years → 1.51/3 − 1 = 14.4714%

Where ROI Comes From

Return on investment as a management yardstick dates from DuPont. In 1912 Donaldson Brown, a DuPont finance man, split return on investment into two parts — profit margin times asset turnover — so managers could see which one was dragging a business down. The “DuPont formula” spread to General Motors in the 1920s and from there into business schools.

Plain ROI ignores time: 50% in one year and 50% in ten years look the same. Annualising with a compound growth rate fixes that, which is why fund returns are quoted as yearly rates. When money goes in and out more than once, the internal rate of return generalises the same idea.

About This Calculator

This calculator works out ROI after counting fees as money invested and income as money returned, then annualises it as a compound rate. Compare mode runs two investments through the same steps and charts $100 growing at each one’s yearly rate, so different sizes and holding periods line up.

All calculations run in your browser; nothing you enter is sent to a server. Taxes and inflation are not deducted; enter after-tax figures if you want an after-tax ROI.

Estimates for planning and education — not financial, tax or legal advice.

Related calculators: IRR Calculator, Investment Calculator, and Compound Interest Calculator.

Frequently Asked Questions

What is the difference between ROI and annualised ROI?

ROI is the total gain over the whole holding period: $10,000 growing to $15,000 is 50%. Annualised ROI (the compound annual growth rate) spreads that over the years: 50% over 3 years is 14.4714% a year, because each year’s growth builds on the last. Use the annualised figure to compare investments held for different lengths of time.

Why not just divide the ROI by the number of years?

Because returns compound. 50% ÷ 3 = 16.6667% a year overstates it: $10,000 growing 16.6667% a year for 3 years would reach $15,879.63, not $15,000. Doubling your money in 10 years is 7.1773% a year, not 10%.

Should I include fees and dividends?

Yes. Fees add to what you put in and income adds to what you got back. With $20 of trading fees and $600 of dividends, the $10,000 stock that rose to $15,000 returns 55.6886% (15.9006% a year) instead of 50%.

How do I show a loss?

Enter a final value below the amount invested. $50,000 that is worth $42,000 two years later is a −16% ROI and −8.3485% a year. If nothing comes back the ROI is −100%.

What about investments with many cash flows?

ROI here assumes one amount in at the start and one amount out at the end, with any income simply added. For regular contributions, withdrawals or uneven timing, use the IRR calculator, which finds the rate that ties every cash flow together.

How do I use the ROI Calculator?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Selling a stock

Bought for $10,000 with $20 of fees, sold for $15,000 after $600 of dividends over 3 years: 55.6886% total, 15.9006% a year.

Rental property

$250,000 plus $25,000 of costs, $70,000 of net rent over 7 years and a $400,000 sale: 70.9091% total, but 7.9573% a year.

Comparing two deals

A turns $10,000 into $16,000 in 5 years (9.8561% a year); B turns $10,000 into $13,000 in 2 years (14.0175% a year). B is the faster grower.

A short trade

$2,000 plus $30 of fees sold for $2,600 after six months is a 28.0788% ROI, which annualises to 64.0418% — only if it could be repeated.

Your home

A house bought for $300,000 and sold for $450,000 ten years later is a 50% ROI, or 4.1380% a year before costs.

Last updated: