Ecommerce growth math
Stop guessing your ad budget: calculate your max cost per click.
Most ecommerce operators set Google and Meta bids by feel: start somewhere, watch ROAS, tweak. There is a cleaner way — work backwards from what a customer is worth in gross profit to the exact maximum you can afford to pay for a single click. This page walks through the math, then lets you run your own numbers.
The gut-feel approach works until it doesn't — usually the month CPCs spike and you can't tell whether to keep bidding or pull back. Once you know your ceiling, every bidding decision gets easier. The same discipline sits behind our e-commerce finance partnership: growth decisions become arithmetic, not hope.
Step 1: Know your numbers
You need six inputs. Pull them from your store analytics — don't guess.
| Input | Example | What it means |
|---|---|---|
| Average order value (AOV) | $80 | Revenue from a typical first order |
| Gross margin | 60% | Revenue left after product, freight, and fulfillment costs |
| Repeat purchase rate | 40% | Share of first-time buyers who order again |
| Repeat customer value | $320 | Average lifetime revenue from a repeat customer, beyond order #1 |
| Purchase conversion rate | 2.5% | Share of ad clicks that become orders |
| Target cost of sales | 25% | Max share of gross profit you'll spend to acquire a customer |
Two of these inputs sink most brands:
Gross margin. This is the one that separates ecommerce from services. A consultant's revenue is nearly all margin; yours isn't. Every dollar of ad spend comes out of gross profit, not revenue — so if you run this math on revenue, you'll overbid by whatever your COGS ratio is. At 60% margin, that's overbidding by 40%. If you haven't built your margin machine — true cost of a sale, channel by channel, SKU by SKU — start there.
Repeat customer value. If you only count the first order, you'll systematically underbid — and lose auctions to competitors who understand their full customer lifetime value. The brands that win paid auctions aren't reckless; they just know a number you don't.
Step 2: Work backwards to your max CPC
Four calculations, in order:
Customer lifetime value (LTV, revenue)
AOV + (repeat rate × repeat value) = $80 + (40% × $320)
$208
Gross profit LTV
LTV × gross margin = $208 × 60%
$124.80
Max acquisition cost per customer
Target cost of sales × gross profit LTV = 25% × $124.80
$31.20
Max cost per click
Purchase conversion rate × max acquisition cost = 2.5% × $31.20
$0.78
That's it. $0.78 is your ceiling. Bid below it and you're profitably acquiring customers. Bid above it and you're buying revenue at a loss — no matter how good the top-line ROAS looks in the dashboard.
Notice what gross margin did to the number: the revenue-based version of this math would have said $1.30. That 52-cent gap is the difference between a channel that compounds and one that quietly bleeds.
Interactive
Run your own numbers.
Plug in your AOV, margin, repeat behavior, and conversion rate from your store dashboard. Your max CPC, clicks needed, and monthly budget update as you move the sliders — including the plan for however many new customers you want this month.
Your numbers
Working backwards
- 1
Customer lifetime value (revenue)
$80 + (40% × $320)
$208.00
- 2
Gross profit LTV
$208.00 × 60% margin
$124.80
- 3
Max acquisition cost per customer
25% of $124.80
$31.20
Your maximum cost per click
$0.78
Bid below this and you acquire customers profitably. Bid above it and you are buying revenue at a loss — whatever the ROAS dashboard says.
Run this math on revenue instead of gross profit and it says $1.30 — a ceiling that is 40% too high. That gap is where ad accounts quietly bleed.
Clicks needed
4,000
Monthly ad budget
$3,120
Sanity check: $3,120 ÷ (100 × $124.80 gross profit LTV) = 25% — matches your target cost of sales. ✓
Illustrative planning math, not a bid-strategy setting. For sharper answers, run it per campaign or per product line — a high-margin hero SKU with strong repeat behavior can justify several times the CPC of a thin-margin, one-and-done SKU.
Step 3: Set your acquisition goals
Flip the same math around to plan volume. At a 2.5% conversion rate you need 40 clicks per customer; at $0.78 a click, that's $31.20 of budget per new customer — exactly 25% of gross profit LTV, which is your target cost of sales. Want 100 new customers this month? 4,000 clicks and a $3,120 budget. Now your media plan is arithmetic, not hope — and your working capital plan knows the cash requirement before the month starts.
Why this beats chasing ROAS
ROAS tells you what happened. Max CPC tells you what to do next. Three practical payoffs:
You bid with conviction. When CPCs rise in Q4, you know instantly whether the auction is still profitable for your unit economics — not the industry average.
You see which lever to pull. If your max CPC is too low to compete, the fix isn't a bigger budget. It's raising AOV (bundles, thresholds), improving gross margin (pricing, freight, packaging), lifting conversion rate (landing pages, checkout), or increasing repeat rate (email, subscriptions). Each one directly raises the ceiling.
You stop subsidizing bad keywords. Run the math per campaign or per product line. We've watched this play out with partners like a DTC skincare brand and a motorsports e-commerce company: once the unit economics were explicit, the ad account stopped being a faith-based line item.
The bottom line
Your maximum cost per click isn't a bid-strategy setting — it's a property of your business model. Know your AOV, your gross margin, your repeat rate, and your conversion rate, and the number falls out in four steps. Everything upstream of that click is just execution.
Take it with you
Want a second set of eyes on your numbers?
Leave your email and Duncan will send the worksheet version of this calculator — plus a short note on the one lever most likely to raise your ceiling fastest.
Keep going
The rest of the operating math.
Want this level of clarity across your whole P&L?
The max CPC is one number. An embedded finance partner keeps margin, cash, inventory, and channel economics current every week — so the next expensive decision is arithmetic too.