CPA calculator: cost per acquisition formula
CPA (cost per acquisition) = ad spend ÷ conversions. $1,000 of ads and 25 conversions is a $40 CPA, below a $54 break-even at $120 value and 45% margin.
A CPA only means something next to what a conversion is worth. The calculator below takes your spend and conversions, then compares the result with your break-even CPA, which comes from gross margin.
Updated Sources last verified
Inputs
Total spend over the same period as the conversions.
Leads, purchases, signups, booked calls, or another real outcome.
Average revenue or expected lead value for one conversion.
Margin before ad cost. Used to calculate break-even CPA.
Results
Your CPA is $14.00 below break-even, leaving $14.00 profit per conversion after ad cost.
CPA
$40.00
Ad spend divided by conversions.
Break-even CPA
$54.00
Max CPA before ad spend eats gross profit.
Estimated ROAS
3.00x
Revenue
$3,000.00
Net profit
$350.00
Margin
45.0%
The CPA formula
CPA = ad spend ÷ conversions
Ad spend is what you paid the ad platform. Conversions are the actions you decided to count, such as purchases, leads or booked calls. Take both from the same dates. If you know your cost per click and conversion rate instead, the same number is:
CPA = CPC ÷ conversion rate (rate as a decimal)
A $2.00 CPC at a 5% conversion rate is $2.00 ÷ 0.05 = $40. To plan a budget, flip the formula: ad spend = CPA × conversions, so 25 conversions at a $40 CPA needs $1,000.
How to calculate CPA
These steps use the calculator's default inputs: $1,000 of spend, 25 conversions, $120 per conversion and a 45% gross margin.
- 01
Add up ad spend for a set of dates.
The default is $1,000. Use the platform's cost figure for the same dates as your conversions.
- 02
Count conversions for the same dates.
The default is 25. Count one kind of conversion, such as leads or purchases, not a mix.
- 03
Divide spend by conversions.
$1,000 ÷ 25 = $40. That is your CPA.
- 04
Work out break-even CPA from margin.
$120 per conversion × 45% gross margin = $54. That is the most you can pay for a conversion before you lose money.
- 05
Compare the two.
$54 - $40 = $14 left per conversion. Across 25 conversions that is $350 of profit after ads, and revenue of $3,000 on $1,000 of spend is a 3.00x ROAS.
Break-even CPA: use margin, not revenue
Break-even CPA = value per conversion × gross margin
Revenue is what the customer pays. Gross margin is the part left after the cost of the product or service. Your ads have to be paid out of that part. If you set your limit at revenue, a $120 CPA looks fine against a $120 sale. At a 45% margin the sale leaves $54, so every conversion at $120 loses $66.
The same $40 CPA and $120 conversion, at three margins:
| Gross margin | Break-even CPA | Left per conversion at a $40 CPA | Profit after ads on 25 conversions |
|---|---|---|---|
| 30% | $36 | -$4 | -$100 |
| 45% | $54 | $14 | $350 |
| 60% | $72 | $32 | $800 |
At a 30% margin a $40 CPA is above the $36 limit, so the campaign loses money even though it brings in $3,000 of revenue. For the revenue-side version of this check, see the ROAS calculator.
From cost per lead to cost per customer
Cost per lead is the CPA formula with a lead as the conversion. It stops short of the number that pays the bills, because not every lead buys.
Cost per customer = cost per lead ÷ close rate
Say your leads cost $40 each and 1 in 4 becomes a customer, a 25% close rate. Cost per customer is $40 ÷ 0.25 = $160. Compare that with gross profit per customer, not with the lead. If a customer is worth $400 and your margin is 45%, break-even is $180, so $160 clears it by $20. At a 15% close rate the same leads cost $266.67 per customer and fail.
Google and Meta can only count conversions they record, so a deal closed by phone or in a CRM does not change their CPA unless you send it back to them. Cost per customer over a longer life is a different calculation; use the LTV calculator or the CAC and LTV calculator for that.
Google Target CPA vs Meta cost per result
The two platforms use the words differently. Google's Target CPA is something you set. Meta's cost per result is something it reports.
| Google Ads | Meta | |
|---|---|---|
| Name | Target CPA (a bid strategy). Reported as Cost / conv. | Cost per result (a reported metric) |
| What it is | The average cost per conversion you want. Google sets bids to try to reach it. | Amount spent divided by results. |
| What counts | Cost / conv. is total cost divided by your Conversions column. | A result is the outcome your objective and settings count, so it can be a purchase in one campaign and a lead in another. |
| Caveat | Actual CPA can land above or below the target. A target set too low can cut conversions. | Meta says it is affected by bid, audience, optimization type, creative and schedule. |
Two things follow. First, Google's suggested Target CPA is not a profit limit. When you have history, the recommendation is the average CPA from the last 30 days, adjusted for conversion delays. That is what you have been paying, not what you can afford. Set the target below your break-even CPA. Second, a Meta cost per result is only your CPA when the result is the conversion you care about. A campaign that counts landing page views as results reports a cost per view.
Google has also been relabelling its strategies. From June 2026 it calls “Maximize conversions with a Target CPA” just “Target CPA”, with the same bidding behavior. For a comparison of the related Meta term, see cost per result vs CPA, and for Google's other bid goal, Maximize clicks vs Target CPA.
CPA questions
What is the CPA formula?
CPA = ad spend ÷ conversions. Spend $1,000 and get 25 conversions and your CPA is $1,000 ÷ 25 = $40. A conversion is whatever you decided to count: a sale, a lead, a signup or a booked call. Use the same dates and the same definition for both numbers.
How do I calculate break-even CPA?
Break-even CPA = value per conversion × gross margin. If a conversion is worth $120 and your gross margin is 45%, break-even CPA is $120 × 0.45 = $54. Use margin, not revenue: a $120 CPA would look fine against $120 of revenue, but it loses $66 on every conversion at a 45% margin.
What is a good CPA?
Any CPA below your break-even CPA. At $120 per conversion and a 45% margin that is $54, so a $40 CPA earns $14 per conversion and a $60 CPA loses $6. We found no Google or Meta source that gives a universal good CPA, so this page prints no industry benchmark.
How do you calculate cost per lead?
Cost per lead = ad spend ÷ leads, which is the CPA formula with a lead as the conversion. $1,000 of ads that bring 25 leads is $40 per lead. To get cost per customer, divide by your close rate: if 1 lead in 4 becomes a customer, $40 ÷ 0.25 = $160 per customer.
What is the difference between CPA and cost per result on Meta?
They use the same arithmetic. Meta's cost per result is amount spent divided by results, and a result is the outcome your campaign objective and settings count. If the result is a purchase or a lead, cost per result is your CPA. If it is a landing page view or a click, it is not.
How do you calculate CPA from CPC and conversion rate?
CPA = CPC ÷ conversion rate, with the rate as a decimal. A $2.00 cost per click and a 5% conversion rate (0.05) gives $2.00 ÷ 0.05 = $40, the same CPA as $1,000 of spend over 25 conversions.
Sources
Every page below was read on . The formulas and worked examples on this page are arithmetic and need no source.
Google Ads Help
“you set your desired average cost per conversion.”
Accessed 2026-10-29.
Google Ads Help
About Target CPA bidding (recommended target)
“the average CPA from the last 30 days, adjusted for any conversion delays”
Accessed 2026-10-29.
Google Ads Help
“calculated by dividing your total cost by the number in your ‘Conversions’ column.”
Accessed 2026-10-29.
Meta Business Help Center
“calculated as amount spent divided by results.”
Accessed 2026-10-29.
Meta Business Help Center
“based on the objective and settings you selected.”
Accessed 2026-10-29.
What we could not confirm
- A universal good CPA. We found no Google, Meta or government source that gives a benchmark CPA overall or by industry, so the page prints none. Your break-even CPA is the only line we can defend.
- How Meta's Cost per result relates to its separate bid controls. We read only the Cost per result and Results help pages. We did not cover how Meta sets bids.
- Meta's current default attribution window for Results. Meta's Results page names a default (7-day click, 1-day view, 1-day engagement), but we did not re-check it against Meta's 2026 attribution changes. Check the setting on your own ad set.
- Whether Google's Cost / conv. and Meta's Cost per result count the same conversions for the same ad. Their attribution settings and conversion windows differ, so the two numbers can disagree.
Running ads on Google or Meta?
AdFlint builds and runs Google Ads (Search campaigns) and Meta campaigns inside ad accounts you own. On self-serve plans, nothing goes live until you click Launch or turn on Full Autopilot, and spend stops at the budget cap you set. Self-serve plans start at $40/mo, with a 7-day free trial on monthly plans.