CPA Calculator
Find cost per acquisition, lead or order from ad spend and conversions, or plan a budget, then compare it with the break-even CPA your margin allows.
CPA Calculator
Background.
A paid-social campaign spends $12,000 over a quarter and the platform reports 240 purchases. Each purchase cost $12,000 ÷ 240 = $50 in media: that is the cost per acquisition. Whether $50 is good cannot be read from the number itself. If the average order is $180 and 45 % of it is gross margin, each sale brings in $81 of gross profit, so paying $50 for it leaves $31. Sell a $40 product at the same margin and the same $50 loses $32 on every order.
That comparison is what this calculator is built around. It works out CPA from spend and conversions — or, when you are planning, the budget a target CPA implies, or the conversions a budget should buy — and sets it against the break-even CPA: average order value times gross margin, the most one conversion can cost before the campaign stops adding gross profit.
The names vary; the arithmetic does not. The IAB's glossary expands CPA as cost per action, Google Ads reports it as cost per conversion, and Microsoft's Xandr glossary notes that an acquisition is the same as a conversion. Cost per lead, cost per sale and cost per order are the same division with the action narrowed, so if you are working out cost per lead, your lead count goes in the conversions field.
Two limits shape how to act on the result. The break-even figure is gross, covering only the cost of the goods, so fulfilment, payment fees, returns and overhead all push the CPA you can really afford lower. And the conversion count comes from your platform's attribution settings, so a CPA can only be compared with another measured the same way.
What is cpa calculator?
Cost per acquisition is the average advertising cost of one completed conversion. The IAB defines cost per action as what an advertiser pays for each visitor who takes a specifically defined action in response to an ad beyond simply clicking on it — a purchase, a signup, a lead form. As a measurement it is total cost divided by the number of actions, which the Universal Marketing Dictionary states for orders as cost per order = advertising cost ÷ orders placed, following Farris and colleagues' Marketing Metrics. Because it is a ratio of totals, it can be worked out for any campaign however the media was bought: a display line priced per thousand impressions still has an effective CPA once you divide its cost by its conversions. Break-even CPA is a second, separate figure built from your own economics rather than from the campaign: average order value multiplied by gross margin, the gross profit one conversion generates. When the CPA sits below it, each conversion adds gross profit; above it, each conversion costs more than it brings in before a single overhead cost is counted.
How to use this calculator.
- Choose what to solve for. Cost per acquisition measures a campaign that has run. Total cost gives the budget needed for a number of conversions at an expected CPA; Conversions gives what a budget should buy. Fill in the two fields the mode needs.
- Enter ad spend for the period. Decide once whether it is media only or fully loaded with agency and creative fees, and keep to that choice so periods stay comparable.
- Enter the conversions counted over exactly the same period and under the same attribution settings — orders for cost per order, leads for cost per lead.
- Enter the average order value, excluding sales tax and any shipping you charge. For a lead, use the eventual deal value multiplied by your lead-to-close rate.
- Enter gross margin: revenue minus cost of goods, as a percentage of revenue. It is not net margin and not markup.
- Compare the CPA with the break-even CPA, then read gross profit per conversion and for the campaign. A negative figure means each conversion costs more than it earns.
The formula.
One identity links the three planning quantities: CPA = spend ÷ conversions, which rearranges to spend = CPA × conversions and conversions = spend ÷ CPA. Whichever mode you choose, the other two figures are filled in from it, so $12,000 over 240 conversions, $50 across 240 conversions and $12,000 at $50 each are the same campaign.
The profitability side uses your order economics. Break-even CPA = average order value × gross margin ÷ 100; at $180 and 45 % that is $81. Gross profit per conversion = break-even CPA − CPA, and campaign gross profit = that difference × conversions. The last figure is the same as conversions × order value × margin − spend, which makes a useful check on any set of inputs.
Money is shown to the cent and conversions to whole numbers, but the profit figures are worked from the unrounded values. A $1,000 spend over 300 conversions is a CPA of $3.3333…, displayed as $3.33; against a $10 break-even the campaign's gross profit is exactly $2,000, not the $2,001 you would get by multiplying the rounded CPA. Likewise a $10,000 budget at a $45 CPA buys 222.22 conversions, shown as 222, and the gross profit uses the full 222.22.
A few combinations have no answer and are refused: dividing by zero conversions when solving for CPA, a zero CPA when solving for conversions, and a gross margin below 0 % or above 100 %. A margin of exactly 0 % is allowed and gives a break-even CPA of $0, because a product sold at cost cannot fund any acquisition spend.
Margin and markup are easy to confuse. Margin is profit as a share of the selling price; markup is profit as a share of cost. Convert with margin = markup ÷ (100 + markup) × 100, so a 100 % markup is a 50 % margin, and an 80 % markup is a 44.44 % margin.
A worked example.
A direct-to-consumer brand spent $12,000 on paid social in a quarter and the platform credited 240 purchases. With Solve For on cost per acquisition, the calculation is $12,000 ÷ 240 = $50.00 per purchase. The brand's average order is $180 at a 45 % gross margin, so one order produces $180 × 0.45 = $81.00 of gross profit; that is the break-even CPA. Paying $50.00 for something worth $81.00 leaves $81.00 − $50.00 = $31.00 of gross profit per conversion, and across 240 conversions the campaign contributed $31.00 × 240 = $7,440.00 after media. The same figure falls out by a route that never computes a CPA: 240 orders × $180 = $43,200 of revenue, 45 % of which is $19,440 of gross profit, and $19,440 − $12,000 of media = $7,440. When the two routes disagree, one of the inputs is inconsistent, often a margin that quietly includes shipping revenue. Here they agree, and the campaign spent $50 on each order against a ceiling of $81, leaving room for the costs that sit below gross margin.
Frequently asked questions.
How do I calculate cost per lead and value a lead?
What is a good cost per acquisition?
How do I include fulfilment, payment fees and returns?
My supplier quotes a markup, not a margin. What do I enter?
What is the difference between CPA and customer acquisition cost?
Why did my CPA change when I changed attribution settings?
How do CPM, CPC and CPA connect?
Should a target CPA be treated as a cap on every conversion?
Why does CPA rise when I increase the budget?
What if customers come back and buy again?
References& sources.
- [1]Interactive Advertising Bureau (IAB) — Glossary of Interactive Advertising Terms (Buyer's Certification Study Guide), p. 6. "Cost Per Action (CPA): What an advertiser pays for each visitor that takes some specifically defined action in response to an ad beyond simply clicking on it." Also "Cost Per Lead" ("a more specific form of Cost Per Action"), "Cost Per Sale (CPS)" and "CPx pricing". Retrieved 2026-07-29.
- [2]MASB / Common Language in Marketing Project — Universal Marketing Dictionary, entry "Cost Per Order": "the cost of Internet advertising divided by the number of orders placed"; "Cost per order ($) = Advertising cost ($) ÷ Orders placed (#)", citing Farris, Bendle, Pfeifer & Reibstein (2010). Retrieved 2026-07-29.
- [3]Farris, Paul W.; Bendle, Neil T.; Pfeifer, Phillip E.; Reibstein, David J. — Marketing Metrics: The Definitive Guide to Measuring Marketing Performance, 3rd ed., Pearson Education (ISBN 978-0-13-705829-7). Chapter 9, "Advertising Media and Web Metrics", §9.11 Cost per Click / Cost per Order / Cost per Customer Acquired. Print reference — no free full text; edition, ISBN and section numbering verified against the publisher's sample-pages PDF.
- [4]Google Ads Help — "Target CPA bidding: Definition": "Some conversions may cost more than your target and some may cost less, but altogether, Google Ads will try to keep your cost per conversion equal to the target CPA you set." Retrieved 2026-07-29.
- [5]Google Ads Help — "Conversion rate: Definition": conversion rate is "the average number of conversions per ad interaction, shown as a percentage", worked as 50 conversions from 1,000 interactions = 5%. Retrieved 2026-07-29.
- [6]Google Ads Help — "How to estimate conversion value": margin-adjusted conversion value worked as "Average deal revenue: $3,000, Profit margin: 45%, Leads that convert to a deal: 20%, Value-per-conversion (short-term): $270". Retrieved 2026-07-29.
- [7]Microsoft Learn / Xandr — Online Advertising and Ad Tech Glossary (document date 2025-10-22). Entry "CPA": "Cost per action/acquisition… Note that an 'acquisition' is the same as a 'conversion'." Entry "eCPA": "Effective Cost Per Acquisition. This is calculated by dividing your cost (or revenue) by the number of conversion events. Shows how much is spent in CPA when payouts are measured using another pricing model." Retrieved 2026-07-29.
- [8]Google Ads Help — "About return on investment (ROI)": worked campaign of a $200 product costing $100 to produce, six units sold on $200 of ad spend, giving ($1200 − $800) / $800 = 50% ROI. The $100 gross contribution per unit is that example's break-even CPA. Retrieved 2026-07-29.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 8 cited below
- Method
- CPA = S ⁄ N ; CPA(be) = V × (m⁄100)
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled