# ROI calculator

Updated 2026-11-28

Calculate return on investment from revenue and cost. ROI = (revenue − cost) ÷ cost, shown as a percentage of what you put in.

The interactive tool runs in the browser at /tools/roi-calculator.

Return on investment (ROI) is the profit as a share of the cost: subtract the cost from the revenue, then divide by the cost. $8,000 back on a $2,000 cost is a 300% ROI.

## How do you calculate ROI?

```
ROI = (revenue − cost) ÷ cost × 100
```

A negative result means the revenue did not cover the cost. ROI is not ROAS: [return on ad spend](/tools/roas-calculator) divides revenue by spend and does not subtract the cost first.

## A worked example

A campaign returned $8,000 and cost $2,000. Profit is $6,000. 6,000 ÷ 2,000 is 3, which is a 300% return on the money put in.

The revenue side, by channel and campaign, is what [revenue attribution](/features/revenue-attribution) reports. The cost stays in your ad or finance records: this calculator joins the two numbers.

## Frequently asked questions

### What is the formula for ROI?

Subtract the cost from the revenue, divide by the cost, and multiply by 100 to read it as a percentage.

### How is ROI different from ROAS?

ROAS is revenue divided by spend. ROI subtracts the cost first, so it is the profit relative to the cost.

### Can ROI be negative?

Yes. If the revenue is below the cost, the result is negative and the campaign lost money.

### Is this calculator free?

Yes. It runs in your browser and sends nothing you type to a server.
