Clearer numbers. Better SEO decisions.Independent tools. Open methodology.

Methodology

ROAS formula: how return on ad spend is calculated

Return on ad spend is the revenue your ads bring in divided by what they cost. The formula, a worked 5.0× example, and the margin test that decides whether that ROAS actually profits.

ROAS formula: how return on ad spend is calculated — planning illustration

Return on ad spend (ROAS) is the revenue your ads bring in divided by what they cost. Spend $5,000 on ads and attribute $25,000 of revenue to them, and your ROAS is 5.0× — five dollars back for every dollar spent. The formula is simple. The judgement is in what counts as revenue, and whether the margin behind it leaves a profit.

Run your own numbers first: the SEO vs PPC Crossover Calculator models the PPC side of this exact comparison — $5,000 a month of spend, the revenue it produces, and the month SEO overtakes it on cumulative profit.

The ROAS formula

ROAS = revenue attributed to ads ÷ ad spend

Revenue is the sales revenue attributed to the ads in the period you are measuring, and ad spend is what you paid the advertising platform in the same period. Both numbers come from the same campaigns and the same date range. Divide the first by the second and the result is ROAS, usually written as a multiple (5.0×) or a percentage (500%).

The same formula rearranges two useful ways. To find the revenue a ROAS implies, multiply the spend by the rate: revenue = ROAS × ad spend. To find the spend a revenue target needs at a given ROAS, divide the revenue by the rate: ad spend = revenue ÷ ROAS. And one conversion is worth memorising: profit per dollar spent is (ROAS × gross margin) − 1. That single line is the difference between a ROAS that profits and one that only looks good.

A worked micro-example makes the arithmetic concrete. A campaign spends $1,000 and brings in $5,000 of attributed revenue: $5,000 ÷ $1,000 = 5.0× ROAS. A second campaign spends the same $1,000 and brings in $3,000: $3,000 ÷ $1,000 = 3.0×. The first campaign returns two more dollars per dollar spent — but whether either of them profits depends on the margin, which the ROAS number alone does not show.

What each variable means

VariableWhat it isWhere it comes from
Ad spendWhat you paid the ad platform in the periodGoogle Ads, cost column, for the campaigns measured
Attributed revenueSales revenue credited to those ads in the same periodYour analytics or CRM, under the attribution model you use
ROASRevenue per dollar of ad spendCalculated, never measured directly

Three measurement notes matter before you trust the numbers. First, attributed revenue depends on the attribution model. Last-click gives all the credit to the final ad, data-driven models spread it across the journey, and the same sales can produce a different ROAS under each. Fix the model before you optimise the number. Second, the spend in the formula is platform spend only, before agency fees, tool costs and your own time — a campaign reporting 5.0× on platform spend reports less once the fees are counted. Third, ROAS is a revenue ratio, not a profit ratio. Two campaigns can report the same 5.0× while one is scaling and the other is quietly losing money, because the margin behind the revenue decides what the number means.

Worked example: $5,000 of PPC spend

Take a B2B software company spending $5,000 a month on PPC, the defaults in the SEO vs PPC Crossover Calculator. At a $3.00 average CPC that buys 1,667 clicks; at a 3% conversion rate those clicks become 50 customers; at $500 of customer value that is 50 × $500 = $25,000 of revenue. ROAS is $25,000 ÷ $5,000 = 5.0×.

Now apply the margin. At 70% gross margin the $25,000 of revenue carries $25,000 × 70% = $17,500 of gross profit, so the gross-profit ROAS is $17,500 ÷ $5,000 = 3.5×, and the net is $17,500 − $5,000 = $12,500 a month — $300,000 over 24 months. Profit per dollar spent is (5.0 × 70%) − 1 = 3.5 − 1 = $2.50: every dollar of ads returns $2.50 of profit after the cost of goods and the ad spend itself.

The margin test decides whether 5.0× is good. At 70% margin the breakeven ROAS is 1 ÷ 0.70 = 1.43×, so 5.0× is comfortably profitable — the full margin table is on the breakeven ROAS formula page. At a 25% margin the breakeven is 1 ÷ 0.25 = 4.0×, and 5.0× still profits, thinly: (5.0 × 25%) − 1 = $0.25 per dollar. At a 15% margin the breakeven is 1 ÷ 0.15 = 6.67×, and 5.0× loses money: (5.0 × 15%) − 1 = −$0.25 per dollar. Same ROAS, three different businesses — profitable, marginal, and losing — decided entirely by the margin.

The reverse calculation: from ROAS to budget or revenue

The formula runs backwards to size a budget or a target before you spend. Want $50,000 of revenue at a 5.0× ROAS? The spend is $50,000 ÷ 5.0 = $10,000. Have a $5,000 budget and a 5.0× ROAS? The revenue is $5,000 × 5.0 = $25,000. And if the goal is $30,000 of revenue on a $5,000 budget, the ROAS required is $30,000 ÷ $5,000 = 6.0× — a target you can now judge against your margin before committing the spend.

This reverse form is also how you test a ROAS someone quotes you. A dashboard reports 8.0× on $2,000 of spend: $2,000 × 8.0 = $16,000 of attributed revenue. Ask which attribution model produced that revenue figure and what the margin is. At 70% margin the profit per dollar is (8.0 × 70%) − 1 = $4.60; at 15% margin it is (8.0 × 15%) − 1 = $0.20. The ROAS number alone cannot tell you which business you are looking at.

How SEOMathLab uses the ROAS formula

The SEO vs PPC Crossover Calculator is a ROAS calculation in full, even though it reports net profit rather than the ratio: its PPC side turns $5,000 of spend into $25,000 of revenue, a 5.0× ROAS, and $12,500 a month of net profit after margin and spend. Its SEO side, at full ramp, turns $3,000 a month of SEO cost into 2,000 clicks, 60 customers and $30,000 of revenue — $21,000 of gross profit at 70% margin, $18,000 net, a 7.0× return multiple on the SEO spend.

That 7.0× is deliberately not called a ROAS. ROAS is an advertising metric: revenue divided by ad spend. SEO has no ad spend, so the equivalent figure is return on SEO investment, and calling it ROAS would let a reader compare it with a PPC ROAS as if the two ratios measured the same thing. They do not — SEO spend buys work that compounds, PPC spend buys clicks that stop when the budget stops — and the crossover calculator's job is to compare the two channels on cumulative profit, month by month, where the difference shows up honestly. The SEO vs PPC Crossover Calculator finds that crossover at month 16, with SEO finishing the 24 months $48,000 ahead.

Two conventions apply everywhere. First, ROAS is always reported on revenue; if a figure is computed on profit, it is labelled a profit ROAS so nobody compares it with a revenue ROAS. Second, every ROAS on the site is judged against its breakeven, 1 ÷ gross margin, published on the breakeven ROAS formula page. A ROAS quoted without a margin is a guess.

What the formula does not tell you

ROAS measures the revenue a period of ads produced, not the profit, and not the business the ads built. A campaign can show 5.0× in month one and fade as the audience saturates, and the formula has no memory — it reports the period you feed it and nothing else. It also ignores everything outside platform spend: agency fees, creative costs, tool subscriptions and your team's time all sit outside the denominator, so the ROAS that reaches a dashboard is always flattered relative to the true cost.

ROAS is also not ROI. ROI subtracts the spend and the other costs from the return and divides by the total cost, so a 5.0× ROAS is a 400% return on ad spend before other costs, while the ROI of the same campaign after margin and fees is far lower. The full ROI treatment, including the time an investment takes to pay back, is documented in how SEO ROI is calculated. And a high ROAS can still be a small business: 10.0× on $100 of spend is $1,000 of revenue. Scale matters as much as the ratio.

What is a good ROAS?

There is no universal good ROAS, because the answer depends on margin. At 70% margin the breakeven is 1.43×, so 5.0× is strong. At 25% margin the breakeven is 4.0×, so 5.0× is thin. At 15% margin the breakeven is 6.67×, so 5.0× loses money. Judge a ROAS against your own breakeven — 1 divided by your gross margin — not against a round number someone else quotes.

How is ROAS different from ROI?

ROAS is revenue divided by ad spend; ROI is profit minus cost, divided by cost, across all costs. A 5.0× ROAS sounds like a 400% return, but after a 70% margin and the spend itself, the profit is $2.50 per dollar — and after agency fees it is less again. ROAS answers whether the ads paid for themselves in revenue; ROI answers whether the whole investment made money.

Can ROAS be below 1?

Yes. Below 1.0× means the ads returned less revenue than they cost, before margin is even considered. Below the breakeven — 1 divided by gross margin — means they lose money after margin. A campaign at 0.8× ROAS is not a branding investment unless you have deliberately decided to pay for awareness and measured it as such; by default it is a loss.

Should I use revenue or profit in ROAS?

Convention is revenue, and you should follow it so your numbers compare with everyone else's. If you compute ROAS on profit, say so explicitly — a 3.5× profit ROAS and a 5.0× revenue ROAS describe the same campaign at 70% margin, and mixing the two without labelling them makes one campaign look far better than the other for no reason.

Why does my ROAS change when I change attribution?

Because the attributed revenue changes. Same spend, same sales, different model — last-click credits the final ad with everything, data-driven models spread the credit across the journey — and the ROAS moves with the revenue figure. Fix the attribution model first, use it consistently, and only then optimise the number; otherwise you are tuning the ruler, not the campaign.

Still have a question?Start a discussion ↗More methodology →