Updated 2026-11-25
Sheet layout
Use one row per campaign, ad set or day, with these columns:
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Campaign | Channel | Spend | Revenue | Margin | ROAS | Break-even | Profit | Status |
| 2 | Prospecting | Meta | 4,000 | 11,200 | 40% | 2.80 | 2.50 | 480 | Profitable |
| 3 | Retargeting | Meta | 1,000 | 6,000 | 40% | 6.00 | 2.50 | 1,400 | Profitable |
| 4 | Brand + generic search | 3,000 | 13,500 | 40% | 4.50 | 2.50 | 2,400 | Profitable | |
| 5 | Performance Max | 2,500 | 6,000 | 40% | 2.40 | 2.50 | −100 | Losing |
The formulas
ROAS (ratio)
F2: =IFERROR(D2/C2, 0)
IFERROR returns 0 instead of #DIV/0! for rows with no spend. Format as Number with 2 decimals, or use a custom format 0.00"x" to show values like 2.80x.
ROAS as a percentage
Use the same formula and apply Percentage format: 2.8 displays as 280%. Don't multiply by 100 and apply % format, or you'll get 28000%.
Break-even ROAS, profit and ACoS
G2: =IFERROR(1/E2, "") | H2: =D2*E2-C2 | ACoS: =IFERROR(C2/D2, "")
E2 must hold the margin as a percentage (40%) or a decimal (0.4). Both work, because Excel stores 40% as 0.4.
Status
I2: =IF(C2=0, "", IF(F2>=G2*1.1, "Profitable", IF(F2>=G2, "Watch", "Losing")))
This uses the same zones as our ROAS calculator: 10% or more above break-even is profitable, between break-even and 10% above is "watch", and below break-even is losing.
Totals: don't average ROAS
The most common spreadsheet error is =AVERAGE(F2:F5). In the example, that gives (2.8 + 6.0 + 4.5 + 2.4) ÷ 4 = 3.93, but the real total ROAS is much lower, because the big-spend rows have the weakest returns:
Total ROAS: =SUM(D2:D5)/SUM(C2:C5) → 36,700 ÷ 10,500 = 3.50
Total profit is =SUM(H2:H5) = 4,180, which matches 36,700 × 40% − 10,500. If you need a ROAS per channel, use SUMIFS:
=SUMIFS(D:D, B:B, "Meta") / SUMIFS(C:C, B:B, "Meta") → 17,200 ÷ 5,000 = 3.44
Google comes out at 19,500 ÷ 5,500 = 3.55.
Conditional formatting
- Select F2:F100, then go to Home → Conditional Formatting → New Rule → Use a formula.
- For red:
=$F2<$G2. For amber:=AND($F2>=$G2, $F2<$G2*1.1). For green:=$F2>=$G2*1.1. - In Google Sheets, use Format → Conditional formatting → Custom formula is with the same formulas.
Comparing against each row's own break-even means low-margin products turn red at the right point, which a fixed threshold like "ROAS < 3" can't do.
Pivot table by campaign or channel
- Select the data and choose Insert → PivotTable.
- Put Channel (or Campaign) in Rows, and Sum of Spend and Sum of Revenue in Values.
- Add a calculated field: PivotTable Analyze → Fields, Items & Sets → Calculated Field, named ROAS, with formula
=Revenue/Spend.
The calculated field divides the sums, so pivot ROAS is correct at every level. Never put "Average of ROAS" in a pivot.
Google Sheets extras
To fill a whole column with one formula, use ARRAYFORMULA:
=ARRAYFORMULA(IF(C2:C="", "", IFERROR(D2:D/C2:C, 0)))
To make a ROAS summary by channel with QUERY:
=QUERY(A1:E100, "select B, sum(C), sum(D), sum(D)/sum(C) where C > 0 group by B label sum(D)/sum(C) 'ROAS'", 1)Ready-made template
Don't want to build it yourself? Download the free ROAS calculator Excel template, with these formulas, formatting and a channel summary already set up. For the theory behind each formula, see the ROAS formula guide, and for break-even math per product, use the break-even ROAS calculator.
More useful formulas
Target ROAS for a profit goal
=IFERROR(1/(E2-10%), "")
With a 40% margin and a 10% profit goal, this returns 1 ÷ 0.30 = 3.33. If the margin is at or below the goal, the result is meaningless, so wrap it in IF(E2>10%, …, "n/a").
Removing VAT or GST from revenue
=D2/(1+20%)
Use 20% for UK VAT or 10% for Australian GST, and base ROAS on the net figure if your revenue export includes tax.
Rolling 7-day ROAS
If you log daily rows with the date in column J:
=SUMIFS(D:D, J:J, ">="&TODAY()-7) / SUMIFS(C:C, J:J, ">="&TODAY()-7)
This divides seven days of revenue by seven days of spend, which smooths out day-to-day noise without averaging ratios.
Frequently asked questions
What is the ROAS formula in Excel?
Use =IFERROR(Revenue/Spend, 0), for example =IFERROR(D2/C2,0). Format the cell as a number for a ratio, or as a percentage to show 280% instead of 2.8.
How do I calculate total ROAS in Excel?
Divide total revenue by total spend: =SUM(D2:D50)/SUM(C2:C50). Averaging a ROAS column gives the wrong answer when spend differs between rows.
How do I calculate break-even ROAS in Excel?
Enter =1/E2, where E2 is your contribution margin as a percentage or decimal. A 40% margin returns 2.5.
How do I calculate ROAS in Google Sheets?
Use the same formulas as Excel, such as =IFERROR(D2/C2,0). For a whole column use =ARRAYFORMULA(IFERROR(D2:D/C2:C,0)), and for summaries use QUERY with sum(D)/sum(C).
How do I add ROAS to a pivot table?
Create a calculated field with the formula =Revenue/Spend. It divides the summed values, so the ROAS is correct for each row and for the grand total.