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.

Max allowable CPA

The contribution profit on an average order: revenue minus every direct cost of delivering it. Not revenue, and not net profit.

The formula

Maximum allowable CPA

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

LinePer 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.

Break-even CPA
$35.38
Target at 25% profit
$26.54
Profit per customer
$8.84

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.

Be conservative with repeat rates

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.

Model it with your own numbers
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

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.

Frequently asked questions

Is max allowable CPA the same as break-even CPA?
Yes, they are two names for the same figure: the contribution profit on an average order, which is the point where acquisition cost exactly consumes the profit.
Should I include shipping in the calculation?
Include whatever you pay. If the customer pays shipping in full, it is neutral. If you offer free shipping over a threshold, the cost you absorb belongs in the calculation.
How do I handle varying order values?
Use the average for the product group you are advertising, not the whole catalogue. A single site-wide average hides the products where the ceiling is far lower than the average suggests.
Can I use lifetime value instead of order value?
Yes, if you have cohort data to support the repeat rate. Multiply contribution per order by expected orders per customer. Be conservative, because the money is spent today and the repeat revenue is a forecast.
What profit share should I keep?
Commonly 20 to 30% of contribution, which leaves room for conversions that land above target. The right figure depends on what your fixed costs require from each sale.
Why is my target CPA an odd number?
Because a properly calculated ceiling usually is. Round numbers are a sign the target was chosen rather than worked out.