Skip to content

ROI Calculator

Return on investment and annualized ROI, with the working written out.

ROI
45%
Net gain
4,500.00
Annualized ROI
13.19%per year over 3 years
Total cost
10,000.00
  1. Net gain14,500.00 − 10,000.00= 4,500.00
  2. ROI4,500.00 ÷ 10,000.00= 45%
  3. Annualized ROI(14,500.00 ÷ 10,000.00)^(1 ÷ 3) − 1= 13.19%
Formula
ROI = (returned − total cost) ÷ total cost
annualized ROI = (returned ÷ total cost)^(1 ÷ years) − 1
The link fills in these numbers for whoever opens it.

Your numbers are worked out in this tab and aren’t sent to our servers.

Need a quick percent change? Use the Percentage Calculator on browserutils

How to use ROI Calculator

  1. Enter what you invested: a purchase price, a project budget or a campaign’s spend.
  2. Enter what came back: the value today, or the revenue or savings it produced.
  3. Add other costs you want to count, such as fees, upkeep or staff time.
  4. Enter how many years it took to get the annualized ROI, which makes investments of different lengths comparable.
  5. Read ROI, net gain and annualized ROI, check the working, and copy the link for the business case.

ROI Calculator formula

ROI = (returned − total cost) ÷ total cost
annualized ROI = (returned ÷ total cost)^(1 ÷ years) − 1

Features

  • Plain ROI as a percentage, plus the net gain in money.
  • Annualized ROI (compound annual growth rate) for any period, including fractions of a year.
  • An "other costs" field, so fees and running costs don’t inflate the return.
  • Handles losses: a negative ROI is shown as one, not hidden.
  • Each division and power is written out with your numbers for a spreadsheet or a slide.

About ROI Calculator

Return on investment is the gain as a share of what it cost: ROI = (returned − cost) ÷ cost. Spend 10,000 and get 14,500 back and the ROI is 45%. It’s the simplest way to compare uses of money, but it ignores time: 45% over one year is excellent, and 45% over ten years is about 3.8% a year.

That’s what annualized ROI fixes: (returned ÷ cost)^(1 ÷ years) − 1, the same compound annual growth rate used for investments. 10,000 to 14,500 over three years is 13.2% a year. Use it whenever you compare projects or investments that run for different lengths of time.

ROI is only as honest as the costs you count. For software or a marketing campaign, include staff time, onboarding and running costs, not just the price. It also ignores risk and the timing of cash in between; for a series of cash flows, net present value or IRR in a spreadsheet is the better tool.

ROI Calculator specs

Runs
In this browser tab
Built on
Plain JavaScript arithmetic in the page; money is rounded to the cent only where the steps say so
Cost
Free, no account needed
Browsers
Current Chrome, Edge, Firefox and Safari
Last updated
November 27, 2026
Part of
18 free tools on calcutils.dev

Questions

How do I calculate ROI?
Subtract the cost from what you got back, divide by the cost and multiply by 100. Invest 2,000, get 2,600 back: (2,600 − 2,000) ÷ 2,000 = 30%.
What is annualized ROI?
The yearly rate that would turn your cost into your return over the same period: (returned ÷ cost)^(1 ÷ years) − 1. A 50% total return over two years is 22.5% a year, not 25%, because of compounding.
What is a good ROI?
It depends on risk and time. A useful test is whether it beats what the money could earn elsewhere with similar risk, over the same period, which is why the annualized figure matters.
How do I calculate the ROI of a software tool?
Put the yearly cost of the tool, including setup and staff time to run it, as the amount invested. For the amount returned, estimate the yearly value: hours saved × loaded hourly cost, plus any revenue it brings in. Be conservative about the second number.
Can ROI be negative?
Yes. If you got back less than it cost, ROI is negative. Spending 1,000 and getting 800 back is −20%.

More in SaaS and ops

All 7 in SaaS and ops