ROI Calculator: Return on Investment, Net Profit and Annualized ROI

This ROI calculator tells you how much an investment really earned, in money and in percent, and what that is worth per year. Enter what you put in, what it is worth now (or what you sold it for), any dividends, interest or rent you collected and the fees you paid, plus how long you held it in years or as start and end dates. You get the net profit, the ROI, the annualized ROI (CAGR) and a plain-language verdict. Switch to Compare two investments to put two side by side and see which one really did better once the time each took is taken into account. It works for shares, funds, crypto, property or a business, in any currency, and uses no market data: only the numbers you enter.

How the calculator works

ROI (return on investment) compares what you got back with what you put in. The calculator counts costs as part of the money you put in and income as part of the money you got back:

  • Money in = amount invested + costs (buying and selling fees, custody, maintenance).
  • Money back = final value + income received (dividends, interest, rent, staking rewards you did not reinvest).
  • Net profit = money back − money in. ROI = net profit / money in.
  • Annualized ROI (CAGR) = (money back / money in)1/years − 1: the steady yearly rate that turns the money in into the money back over the period. With dates, the period is counted in months (March 2023 to September 2025 is 2.5 years).

Total ROI hides time: 40% in eight years is worse than 25% in two. That is why the verdict leads with the annualized figure and why the comparison mode ranks investments by CAGR, not by total ROI. It also tells you how many points a year your costs take off and how long your money takes to double at that pace.

The formula assumes one amount invested at the start. If you added money several times, or the income arrived at very different moments, a money-weighted return (IRR or XIRR) is more precise; for regular contributions, the compound interest calculator is a better fit. If you include taxes you paid in the costs, you get an after-tax ROI.

Under the result you get a chart of your money growing at the annualized rate and a breakdown table (or a side-by-side table when comparing), which you can share as a link, export to CSV, Excel or PDF, or embed on your own site.

Worked examples

One investment. You bought shares for $10,000, paid $150 in fees, collected $600 in dividends and four years later they are worth $14,000. Money in is $10,150 and money back $14,600, so the net profit is $4,450 and the ROI is 43.84%. Annualized: (14,600 / 10,150)1/4 − 1 = 9.51% a year. Dividends made up 13% of the gross gain, the fees cost you 0.41 points a year, and at 9.51% your money doubles about every 7.6 years.

Two investments. Investment B also took $10,000 plus $100 of costs, paid $300 of income and was worth $12,000 after two years: ROI 21.78%, half of A’s. But per year B earned 10.35% against A’s 9.51%, so B is the better performer. On $10,150 over four years that gap adds up to about $453.

A loss. $5,000 invested with $40 of fees that is worth $3,800 after 18 months: a loss of $1,240, an ROI of −24.60% and −17.16% a year.

Key takeaway: always include costs and income, and compare investments by annualized ROI when the holding periods differ. A big total ROI over many years can be a mediocre yearly return. Past returns do not predict future ones, so weigh risk and liquidity as well. For income investments, check the yield with the dividend calculator or the rental yield calculator.

Frequently asked questions

How do you calculate ROI?

ROI = (final value + income − amount invested − costs) / (amount invested + costs). For $10,000 invested with $150 of fees, $600 of dividends and a final value of $14,000: (14,600 − 10,150) / 10,150 = 43.84%.

What is the difference between ROI and annualized ROI?

ROI is the total return over the whole period. Annualized ROI (CAGR) spreads it into an equivalent yearly rate: (money back / money in)^(1/years) − 1. 43.84% over four years is 9.51% a year; 21.78% over two years is 10.35% a year, which is the better result.

What is a good ROI?

There is no single figure: it depends on the risk, the time and what else you could have earned. Compare the annualized ROI with a safe alternative for the same period, such as a savings account or a government bill, and with a broad index fund, and remember that inflation reduces the real return.

Should I include dividends, fees and taxes in ROI?

Yes. Dividends, interest or rent you received are part of the return, and fees reduce it. Adding taxes paid to the costs gives an after-tax ROI, which is what you actually keep.

Related calculators and guides

More calculators

For information only: this is not financial or tax advice. Results depend on the figures you enter and use a simplified formula; past returns do not guarantee future results. For the tax treatment of your gains, consult a qualified tax adviser.