Most advertisers set a target CPA by taking last month’s CPA and subtracting a bit. That is a habit, not a calculation. There is an actual ceiling — the most you can pay to acquire a customer before the sale stops making money — and it is straightforward to work out.
The ceiling nobody calculates
Maximum allowable CPA is the gross profit on a sale. Spend less than that acquiring the customer and you keep the difference. Spend more and the sale costs you money, regardless of how good the CPA looks against last month.
The contribution profit on an average order: revenue minus every direct cost of delivering it. Not revenue, and not net profit.
The formula
Max CPA = average order value × gross margin
An $80 average order at a 45% gross margin gives a max allowable CPA of $36. At $36 you break even. At $25 you keep $11 per customer. At $45 you lose $9 on every sale you win.
A worked example
| Line | Per order |
|---|---|
| Average order value | $80.00 |
| Product cost | −$30.00 |
| Shipping and packaging | −$8.00 |
| Payment processing (2.9% + $0.30) | −$2.62 |
| Average discount applied | −$4.00 |
| Contribution profit | $35.38 |
| Max allowable CPA | $35.38 |
Notice how much of the gap between $80 and $35 is made of small items. Payment fees and discounts together take $6.62 — nearly 19% of the contribution. Leave them out and you will set a ceiling you cannot actually afford.
Where returns and repeat purchases change it
Returns lower the ceiling
If 12% of orders come back and you recover the product cost but not the shipping, your effective contribution per order falls. Apply the return rate to contribution before setting the ceiling, rather than treating returns as a separate problem later.
Repeat purchases raise it
If the average customer orders 2.4 times before lapsing, the acquisition cost is spread across all of those orders. The ceiling becomes contribution per order multiplied by expected orders — which is how businesses with thin first-order margins can still buy traffic profitably.
Lifetime value is the easiest number in marketing to talk yourself into. Use a repeat rate you can evidence from cohort data, not an aspiration. A ceiling built on an optimistic LTV spends real money today against revenue that may not arrive.
The profitability calculator handles fees, discounts, returns and repeat purchases, and returns break-even CPA alongside break-even ROAS. For the simple version, the CPA calculator covers spend and conversions.
Setting a target below the ceiling
The ceiling is not the target. Bid strategies optimise toward an average, so a target set at the ceiling means roughly half your conversions cost more than the sale is worth.
Target CPA = max allowable CPA × (1 − desired profit share)
Keeping 25% of contribution as profit on a $35.38 ceiling gives a target CPA of $26.54. That leaves $8.84 per customer and room for the conversions that land above target.
Why your current target is probably arbitrary
Three signs the number was inherited rather than calculated:
- It is a round number. Real ceilings are rarely $25 or $50. They are $35.38.
- It is the same across every product. If AOV and margin vary by product, so does the ceiling.
- Nobody can say where it came from. If the answer is “that is what we have always used”, it predates at least one price change.
Related reading: how to calculate CPA and break-even ROAS, which is the same logic expressed as a ratio instead of a currency amount.