Skip to content

Return on Investment (ROI) Calculator

✦ Finance & Money

Use this free return on investment calculator to see your ROI as a percentage, with ongoing costs, an annualised rate over the years you held it, and a marketing mode that counts gross profit.

  • ✓ Calculated in your browser
  • ✓ Nothing you type is stored
  • ✓ No sign-up required
  • ✓ Formula and sources shown

The formula

ROI, annualised ROI and marketing ROI

\text{ROI} = \frac{\text{Total return} - \text{Total cost}}{\text{Total cost}} \quad \vert \quad \text{Annualised ROI} = (1 + \text{ROI})^{1/n} - 1 \quad \vert \quad \text{Marketing ROI} = \frac{\text{Revenue} \times \text{Margin} - \text{Spend}}{\text{Spend}}

Total return is everything you received back, including the original amount. Total cost is the one-off amount plus ongoing costs over the period. Annualised ROI is the compound yearly rate that produces the same ROI over n years. Marketing ROI uses gross profit, not revenue, as the gain. Tax, financing and the timing of cash flows are not modelled.

Calculating it by hand

  1. Add up the total cost: the one-off amount invested plus any ongoing cost per year multiplied by the number of years.
  2. Add up the total return you received back, before tax, including the original amount.
  3. Subtract the total cost from the total return to get the net gain or loss.
  4. Divide the net gain or loss by the total cost and multiply by 100 to get ROI as a percentage.
  5. To compare periods of different length, raise 1 + ROI to the power of 1 divided by the years, then subtract 1.
  6. For a campaign, multiply revenue by the gross margin first, so the gain is profit, then divide the net profit by the spend.

Worked examples

A $10,000 investment that returned $12,500 over three years

  1. Total cost = $10,000 (no ongoing cost).
  2. Net gain = $12,500 - $10,000 = $2,500.
  3. ROI = $2,500 / $10,000 = 25.00%.
  4. Annualised ROI = 1.25^(1/3) - 1 = 7.72% a year.

ROI 25.00%; annualised ROI 7.72% over 3 years.

A project with ongoing costs: $8,000 up front plus $1,000 a year

  1. Ongoing costs = $1,000 x 3 years = $3,000.
  2. Total cost = $8,000 + $3,000 = $11,000.
  3. Net gain = $15,000 - $11,000 = $4,000.
  4. ROI = $4,000 / $11,000 = 36.36%.
  5. Annualised ROI = ($15,000 / $11,000)^(1/3) - 1 = 10.89% a year.

ROI 36.36%; annualised ROI 10.89% over 3 years.

A marketing campaign: $10,000 revenue, 40% margin, $2,000 spend

  1. Gross profit = $10,000 x 40% = $4,000.
  2. Net profit = $4,000 - $2,000 = $2,000.
  3. ROI = $2,000 / $2,000 = 100.00%.
  4. ROAS = $10,000 / $2,000 = 5.00x; break-even ROAS = 1 / 0.40 = 2.50x.

ROI 100.00%; ROAS 5.00x; break-even ROAS 2.50x.

Methodology

How ROI is actually calculated

ROI is one ratio: net gain divided by cost. Most wrong answers come from what is counted on each side, and from comparing ROI figures that cover different lengths of time.

Read sources and limits

What does return on investment measure?

A return on investment calculator divides the net gain from an investment, project or campaign by what it cost and shows the result as a percentage, then converts it to an annualised rate so periods of different length compare fairly, and, for marketing, measures the gain as gross profit rather than revenue.

Return on investment is the net gain from a project or asset divided by what it cost, shown as a percentage. If you spend $10,000 and get $12,500 back, the net gain is $2,500 and the ROI is 25.00%. The ratio answers one question: for every dollar put in, how many dollars of profit came out. A negative ROI means you got back less than you spent, and an ROI of exactly 0% means you broke even.

Because it is a ratio, ROI lets you compare a $500 purchase with a $50,000 one on the same footing. It does not tell you how large the gain was in dollars, how long it took, or how risky the outcome was. Those are separate questions, and the sections below say where to look for each.

Which costs belong in an ROI calculation?

The denominator should hold every cost the return depended on, not only the purchase price. That means the one-off amount, plus anything you had to keep paying: maintenance, subscriptions, staff time, platform fees. This calculator takes the one-off amount and a yearly ongoing cost, and multiplies the second by the period.

A project that costs $8,000 up front and $1,000 a year for three years has a total cost of $11,000, and returning $15,000 gives an ROI of 36.36%, not the 87.50% you would get by ignoring the running costs.

On the return side, count what you actually received and keep the original amount in it. If you enter only the profit as the return, the ratio comes out too low by exactly one hundred percentage points.

What is annualised ROI, and why does the holding period matter?

A 25% ROI over three years and a 25% ROI over one year are very different results, and plain ROI cannot tell them apart. Annualised ROI fixes this by finding the compound yearly rate that would grow the cost into the return over the same period. For 25% over three years that is 7.72% a year.

The formula is (1 + ROI) raised to the power of 1 divided by the years, minus 1: 1.25^(1/3) − 1 = 0.0772.

The result is a compound rate, not a simple average of ROI divided by years. It assumes the gain arrives as a single lump at the end and that the whole amount is invested for the whole period. Where money goes in or out at several points in time, an internal rate of return or net present value is the better tool, and the payback period answers a different question again: how long until the cost is recovered.

How is marketing ROI different from ROAS?

Marketing teams usually report ROAS, return on ad spend, which is revenue divided by ad spend. A ROAS of 5.00 means $5 of revenue for every $1 spent. It is not ROI, because revenue is not profit. The margin-adjusted form of ROI replaces revenue with gross profit: revenue times gross margin, less the spend, divided by the spend.

With $10,000 of revenue at a 40% margin and $2,000 of spend, gross profit is $4,000 and ROI is 100%, even though the ROAS is 5.00.

This also gives a break-even ROAS, which is 1 divided by the margin. At a 40% margin it is 2.50, so any campaign returning less than $2.50 of revenue per $1 of spend loses money. Add agency fees, creative and tools to the cost side if you want the whole campaign, as the Advanced option does.

What can't ROI tell you?

ROI ignores timing, risk and the alternative use of the money. It also depends on how the figures were measured: a gain that is partly estimated, or revenue that would have arrived anyway, inflates the result. Tax and financing costs are left out here, so compare like with like before comparing two ROI figures.

There is no universal level at which an ROI is good or bad; it depends on the period, the risk taken and what else the money could have done.

Return on Investment (ROI) questions

How do you calculate return on investment?

Subtract the total cost from the total return to get the net gain, divide by the total cost, and multiply by 100. For a cost of $10,000 and a return of $12,500, the net gain is $2,500 and the ROI is 25.00%. Count every cost the return depended on, and keep the original amount inside the total return, otherwise the percentage comes out 100 points too low.

What is a good ROI?

There is no figure that is good everywhere. A good ROI depends on the length of the period, the risk you took and what the money could have earned elsewhere. A 30% ROI over ten years is a weaker result than 30% over one. Convert to an annualised rate first, then compare it with the alternatives open to you at the same level of risk.

How do you calculate annualised ROI?

Add 1 to the ROI written as a decimal, raise it to the power of 1 divided by the number of years, and subtract 1. An ROI of 50% over five years gives 1.5^(1/5) - 1, which is 8.45% a year. For a period shorter than a year the same formula applies: 20% over six months annualises to 44.00%, because the rate is compounded up.

Can ROI be negative?

Yes. If you get back less than you spent, the net gain is negative and so is the ROI. Spending $5,000 and receiving $4,000 gives an ROI of -20.00%. The lowest possible ROI is -100%, which is a total loss, where nothing at all comes back. There is no upper limit, so an ROI above 100% simply means the gain was larger than the cost.

Which costs should be included in ROI?

Include the purchase price or project cost, plus every cost needed to earn the return: maintenance, subscriptions, labour, fees and platform charges. Leaving out running costs overstates ROI, as the project with $8,000 up front and $1,000 a year shows: $15,000 back is a 36.36% ROI on $11,000, not 87.50% on $8,000. Tax and financing costs are normally treated separately.

What is the difference between ROI and ROAS?

ROAS, return on ad spend, divides revenue by ad spend. ROI divides net profit by cost. Revenue is not profit, so a ROAS of 5.00 can sit beside an ROI of 100% or of -50%, depending on margin. Break-even ROAS is 1 divided by the gross margin: at a 40% margin, a campaign needs at least $2.50 of revenue per $1 of spend to avoid a loss.

How do you calculate marketing ROI?

Multiply the revenue attributed to the campaign by your gross margin to get gross profit, subtract the total campaign cost, then divide by that cost. Revenue of $10,000 at a 40% margin with $2,000 of spend gives a gross profit of $4,000 and an ROI of 100.00%. Include agency fees, creative and tools in the cost if you want a full-campaign figure.

Why is ROI not enough to compare investments?

ROI ignores when the money moved. Two projects can share the same ROI while one pays back in a year and the other in ten, and plain ROI is blind to the difference. It also ignores risk. Net present value, internal rate of return and payback period add the timing that ROI leaves out, so use them when cash flows arrive in several instalments.

How much do I need to return to hit a target ROI?

Multiply the total cost by 1 plus the target ROI as a decimal. To reach a 20% ROI on a cost of $10,000 you need a total return of $12,000. For a marketing campaign, divide that by the gross margin to get the revenue required. This calculator shows both under Advanced when you enter a target ROI.

Source notes

Method, sources & limitations

Every figure on this page comes from the formula above applied to the values you enter. Nothing is estimated from market data, and no result is a forecast. These are the sources behind the method and any fixed figures it uses:

Educational information only. Results are estimates produced from the assumptions you enter, and are not financial, tax, legal or medical advice. Check anything that matters against a qualified professional and the cited sources.