Work out your return on investment as a percentage and, with the time held, the annualized ROI that lets you compare investments fairly.
ROI = (amount returned − amount invested) ÷ amount invested. Annualized ROI = (amount returned ÷ amount invested)1/years − 1. The length is optional; without it, only the total ROI is shown.
An ROI calculator works out the return on investment: how much you gained or lost compared with what you put in, as a percentage. Add how long the money was invested and it also shows the annualized ROI, the yearly compound return that lets you compare investments held for different lengths of time.
For example, investing 10,000 and getting back 13,500 is a gain of 3,500 and an ROI of 35%. If that took three years, the annualized ROI is 10.52% a year. Getting back 6,000 from 5,000 between January 15, 2024 and July 15, 2026 is a 20% ROI, or 7.58% a year.
ROI = (amount returned − amount invested) ÷ amount invested × 100
Or, more simply, ROI = net gain ÷ cost. For the example, (13,500 − 10,000) ÷ 10,000 = 0.35, or 35%. A negative ROI means a loss: getting back 8,000 from 10,000 is an ROI of −20%.
Annualized ROI = (amount returned ÷ amount invested)1 ÷ years − 1
Total ROI doesn’t tell you how long it took to earn. A 35% ROI over three years is very different from 35% over ten. Annualizing converts the result into a steady yearly rate: 1.351/3 − 1 = 10.52%. The simple alternative, dividing 35% by three years, gives 11.67%, which overstates the return because it ignores compounding.
Annualizing very short periods can make returns look dramatic. A 10% gain in six months annualizes to 21% a year, which assumes you could repeat that performance, something that rarely happens.
| Investment | Invested | Returned | Time | ROI | Annualized |
|---|---|---|---|---|---|
| A | 10,000 | 13,500 | 3 years | 35% | 10.52% |
| B | 5,000 | 6,000 | 2.5 years | 20% | 7.58% |
| C | 1,000 | 1,100 | 6 months | 10% | 21% |
A has the highest total ROI, but C has the highest yearly rate. Which is better depends on whether you could reinvest C’s money at a similar rate for the rest of the period, and on the risk of each. Annualized ROI lets you compare like with like; total gain shows how much money you actually made.
The accuracy of ROI depends on counting every cost and every benefit:
Leaving out costs inflates ROI, as the two examples below show.
You buy 100 shares at 50 each with a 10 commission, a total cost of 5,010. Over two years you receive 300 in dividends, then sell at 62 a share and pay another 10 commission, receiving 6,190. The amount returned is 6,190 + 300 = 6,490, so the gain is 1,480 and the ROI is 29.54%. Over two years, that’s an annualized return of 13.82%. Ignoring the dividends would understate the return; ignoring the commissions would overstate it.
A property bought for 200,000 and sold for 240,000 looks like a 20% ROI. But add 6,000 of purchase costs and 10,000 of repairs, and the total cost is 216,000. Deduct 6% selling costs of 14,400 from the sale price, and you receive 225,600. The real ROI is only 4.44%, before counting any rent received or mortgage interest paid. Including every cost turns an apparently strong result into a modest one.
Real return = (1 + nominal return) ÷ (1 + inflation) − 1
The 10.52% annualized return in the first example, with inflation at 3% a year, is a real return of about 7.30% a year. That’s the increase in what your money can actually buy, and it’s the fairest way to compare returns across countries with different inflation rates, such as the US, the UK, India or Pakistan.
Businesses use ROI to decide where to spend money. A new machine that costs 50,000 and saves 15,000 a year in labour has paid for itself in a little over three years; over five years it returns 75,000, an ROI of 50%. Marketers use ROI to compare campaigns: if a campaign costs 2,000 and generates 7,000 of extra gross profit, its ROI is 250%. A related measure, return on ad spend (ROAS), divides revenue by ad cost, but because it uses revenue rather than profit, it can look good even when a campaign loses money.
Other common variations include:
ROI thinking isn’t only for investors. You can use it to judge home improvements (a 10,000 kitchen that adds 8,000 to your home’s value has an ROI of −20% on resale, though you also enjoy using it), energy upgrades (solar panels that cost 8,000 and save 1,200 a year pay back in under seven years), or education and training (a course that raises your salary). For these decisions, include non-financial benefits too, and be honest about the costs, including your time.
For investments with regular contributions or withdrawals, an IRR or money-weighted return gives a truer picture. For comparing projects of very different sizes, net present value shows the actual value created.
There’s no single answer. A good ROI is one that beats your alternatives after allowing for risk. Over long periods, broad stock markets have returned roughly 7% to 10% a year in many developed countries before inflation, so many investors use that as a benchmark for riskier investments. Savings accounts and government bonds offer lower but safer returns. Inflation matters too: an annualized ROI of 4% when inflation is 3% only increases your purchasing power by about 1% a year.
The calculator uses a single amount invested and a single amount returned. It doesn’t separate income from capital growth, adjust for taxes or inflation, or handle multiple cash flows. Include all relevant costs and income in your figures for an accurate result.
You may also find the payback period calculator useful to find how long an investment takes to pay for itself, while the investment calculator lets you project how an investment grows.
Subtract the amount invested from the amount returned, divide by the amount invested and multiply by 100. Investing 10,000 and getting back 13,500 is a 35% ROI.
The steady yearly return that produces the same total ROI over the investment period. A 35% ROI over three years is 10.52% a year.
One that beats your alternatives after allowing for risk. Many investors compare with long-run stock market returns of roughly 7% to 10% a year.
Yes. A negative ROI means you lost money. Getting back 8,000 from 10,000 is an ROI of −20%.
ROI compares total gain with cost and ignores timing. IRR is a yearly rate that accounts for when every cash flow happens, so it's better for investments with several cash flows.
Yes. Include all costs of buying, holding and selling, or your ROI will be overstated.
Divide the extra gross profit a campaign produced, minus its cost, by its cost. A 2,000 campaign that brings in 7,000 of gross profit has an ROI of 250%.
Because annualized ROI accounts for compounding: each year's gain builds on the previous ones, so a lower yearly rate produces the same total.
Yes. Add all income received to the final value, or the ROI will understate your real return. Subtract any ongoing costs that the income didn't cover.
Choose start and end dates in the calculator. It counts the days between them and converts them to years for the annualized ROI.
Not on its own. Subtract the inflation rate from the annualized ROI for a rough real return.