Skip to content
Aipiter, homeCreate my account

Practical guide

ROI calculator with formula and a worked example

To calculate ROI, subtract the initial investment from the amount recovered, divide the result by the initial investment and multiply by 100. Compare options using the same period and cost basis. For a campaign, start with the contribution attributable to it after variable costs and record how you estimated it.

Calculate ROI

The Aipiter teamPublished

Enter the two amounts

Use euros for the investment and the amount recovered. The calculator returns the total for the period you chose.

Calculate ROI

Work out the amount recovered

Start with sales attributable to the campaign and deduct refunds, fees and product costs. Enter the campaign budget once, as the initial investment.

Keep the period consistent

A quarter and a full year can produce the same return. Record the start and end dates and when you took the measurement.

Test your attribution

When all you have is sales during the campaign, estimate sales that would have happened anyway. Recalculate with a lower assumption for the additional sales.

Worked example

A campaign recovers €1,300

The shop has already removed refunds and product costs from the figure.

Worked example
ItemAmount or criterion
Campaign cost€1,000
Amount recovered€1,300
Gain€300
ROI30%

Check how much margin the campaign must generate

The campaign needs €1,000 of additional margin to break even. If €220 of the margin would have come in anyway, enter €1,080 instead of €1,300. ROI drops to 8%.

If returns then reduce margin by another €120, enter €960. ROI turns negative at −4%. If returns of that size are plausible, wait until the returns window closes before repeating the campaign.

Frequently asked questions

Can ROI be negative?

Yes. A return below the original cost produces a negative result.

How does ROI differ from ROAS?

ROAS usually divides attributed revenue by ad spend. ROI accounts for the costs you include when measuring the return.

Test a more cautious estimate

Recalculate using fewer attributed sales or a higher unit cost.

Create my account