# ROI Calculator

> Free ROI calculator: return on investment from what you put in and got back, extra costs, and annualized ROI over any period. Formula and steps shown.

- URL: https://www.calcutils.dev/tools/roi-calculator/
- Published: 2026-11-26
- Updated: 2026-11-27

---

Return on investment and annualized ROI, with the working written out. Your numbers are worked out in this tab and aren’t sent to our servers. Free on calcutils.dev, no account needed.

## 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.

## 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.

## Specs

- Runs: in the 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
- Category: [SaaS and ops](https://www.calcutils.dev/categories/saas-ops/)

## 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%.
