CPA Calculator
Free CPA calculator. Work out cost per acquisition, lead, or order from ad spend, then check it against the break-even CPA your gross margin supports.
CPA Calculator
Background.
Cost per acquisition is what one outcome costs you. Divide ad spend by conversions and you have it — and this calculator will run that division in whichever direction you need, then answer the question that always follows: is that number small enough?
First, a terminology knot worth untying, because it sends a lot of people to the wrong page. The IAB expands CPA as cost per action. Google Ads calls the same quantity cost per acquisition and reports it as cost per conversion. Microsoft's Xandr glossary writes "cost per action/acquisition" and settles it outright: "an 'acquisition' is the same as a 'conversion'." They are one metric. This page also computes cost per lead, cost per sale and cost per order, because those are the same division with the action narrowed — IAB's own glossary defines cost per lead as "a more specific form of Cost Per Action in which a visitor provides enough information at the advertiser's site to be used as a sales lead," and adds that you can estimate it regardless of how you paid for the ad. If you came here searching for a CPL calculator, this is it: enter your leads in the conversions field.
The second half of the page is the part that matters. A CPA in isolation is meaningless — $50 is superb for a mortgage lead and catastrophic for a $12 phone case. What makes it meaningful is comparing it to what a conversion is actually worth in gross profit, which is order value multiplied by gross margin. That figure is the break-even CPA: the most a conversion can cost before the campaign starts eating into gross profit rather than adding to it. Google's own guidance on estimating conversion value performs exactly this margin adjustment, taking $3,000 of average deal revenue down to a working value by multiplying it by a 45% profit margin before anything else happens.
Read the break-even figure with two limits in mind, because both change how you should act on it. It is gross, not net: it covers cost of goods and nothing else. Fulfilment, payment processing, returns, customer support, agency fees and overhead all sit underneath it, so the CPA your business can genuinely sustain is meaningfully lower than the ceiling shown. And it is a portfolio average, not a per-conversion cap — Google Ads is explicit that with target CPA bidding "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." A single conversion above the line is not a failure; a month's average above the line is.
One more limit belongs here rather than buried in an accordion: the conversion count is entirely a product of your attribution model. Switch from last-click to data-driven, widen the lookback window from 7 days to 30, or turn on view-through conversions, and the conversion count moves without anything about the campaign changing — and the CPA moves inversely with it. Compare CPAs only across periods measured the same way.
Here is the worked example the page ships, computed by the same code that runs the widget. A campaign spent $12,000 and produced 240 conversions, so the cost per acquisition is $50.00. Average order value is $180 at a 45% gross margin, so each conversion contributes $81.00 of gross profit — that is the break-even CPA. You are paying $50 for something worth $81, which leaves $31.00 of gross profit per conversion and $7,440 across the campaign. Check it by a completely different route: 240 orders at $180 is $43,200 of revenue, 45% of that is $19,440 of gross profit, and subtracting the $12,000 of media leaves $7,440. The two agree, which is the sanity check worth running before anyone acts on the number.
CPA is the last of the three canonical media pricing models — the IAB's "CPx" family, where the x is M for a thousand impressions, C for a click, or A for an action. It is also the one where the publisher carries the most performance risk, which is why CPA inventory is priced at a premium over the equivalent CPM. Quanta publishes a calculator for each of the three, and a ROAS calculator for the revenue side.
What is cpa calculator?
Cost per acquisition (CPA), also written cost per action, is the average amount of advertising spend required to produce one completed conversion. The IAB defines cost per action as "what an advertiser pays for each visitor that takes some specifically defined action in response to an ad beyond simply clicking on it," giving newsletter subscription as an example, and defines cost per lead as a more specific form of the same thing. As a measurement, the identity is total advertising cost divided by the number of actions: the MASB Universal Marketing Dictionary states it for the order case as cost per order ($) = advertising cost ($) ÷ orders placed (#), citing Farris, Bendle, Pfeifer and Reibstein's Marketing Metrics, where cost per order and cost per customer acquired appear in chapter 9, section 9.11. Microsoft's Xandr glossary gives the generalised version under effective CPA: "calculated by dividing your cost (or revenue) by the number of conversion events" — which is what makes CPA computable for a campaign bought on any pricing model, not just one billed per action. The break-even CPA is a separate quantity that this page derives from your own unit economics: average order value multiplied by gross margin gives the gross contribution one conversion produces, and any CPA above that figure means the campaign is buying revenue at a loss before a single operating expense has been counted.
How to use this calculator.
- Choose what to solve for. Leave it on Cost per acquisition to measure a campaign that already ran. Switch to Total cost when you know your CPA and the conversion volume you want. Switch to Conversions when you have a fixed budget and an expected CPA.
- Enter the ad spend for the period. Decide once whether you are computing a media-only CPA or a fully-loaded one that includes agency and creative fees, and stay consistent — the two differ by 15–30% for most advertisers and are not comparable.
- Enter the conversions recorded over exactly the same period. If you are calculating cost per lead, put your lead count here; if cost per sale, your order count. The maths does not change.
- Enter the cost per acquisition if you are planning rather than measuring. Leave it alone if you selected Cost per acquisition.
- Enter the average order value — average revenue from one conversion, excluding tax and any shipping you charge the customer. If your conversion is a lead rather than a sale, multiply the eventual deal value by your lead-to-close rate first, so the number represents what a lead is worth rather than what a customer is worth.
- Enter your gross margin: revenue minus cost of goods, as a percentage of revenue. This is the accountant's gross margin, not your net margin and not your markup.
- Read the CPA against the break-even CPA. If CPA is below it, gross profit per conversion is positive and the campaign contributes; if above, every conversion is losing money before overhead. Then subtract your real per-order costs — fulfilment, payment fees, support, refunds — from the gross profit figure to see whether it survives contact with the rest of the business.
The formula.
The core identity is cost per acquisition = ad spend ÷ conversions, rearranged two ways: ad spend = CPA × conversions, and conversions = ad spend ÷ CPA. All three modes are the same statement and round-trip exactly: $12,000 over 240 conversions is $50.00; $50.00 across 240 conversions gives back $12,000; and $12,000 at $50.00 gives back 240. The profitability branch uses your own unit economics. Break-even CPA is average order value multiplied by gross margin — $180 × 45% = $81.00 — which is the gross contribution a single conversion generates. Gross profit per conversion is that contribution minus what you actually paid: $81.00 − $50.00 = $31.00. Campaign gross profit scales it to the whole volume: $31.00 × 240 = $7,440.00. That last figure is algebraically identical to conversions × order value × margin − ad spend, which is how the test suite cross-checks it: 240 × $180 × 0.45 − $12,000 = $19,440 − $12,000 = $7,440. Rounding stage is part of the contract. Every intermediate value is carried at full decimal precision and rounding happens only once, at the return boundary — currency to two decimal places, conversion counts to whole conversions. Nothing is rounded in between, which matters most for the campaign-level figure because multiplying by the conversion count amplifies any premature rounding. A $1,000 spend over 300 conversions has a true CPA of 3.33̅, displayed as $3.33; against a $10.00 break-even the true campaign gross profit is exactly $2,000.00, while an implementation that rounded the CPA first would print $2,001.00. The test suite asserts $2,000.00 specifically to catch that. Guards reject the cases with no answer: conversions must be above zero whenever they sit in the denominator, the CPA must be above zero when solving for conversions, and gross margin must be between 0% and 100% — gross profit cannot exceed the revenue it comes from, and a 0% margin correctly returns a $0.00 break-even CPA rather than an error, because a zero-margin product genuinely cannot support any acquisition cost.
A worked example.
A direct-to-consumer brand ran a quarter of paid social. Media cost was $12,000 and the platform reported 240 purchases. Leave Solve For on Cost per acquisition, enter 12000 and 240, and the calculator runs 12,000 ÷ 240 = $50.00. That is the headline CPA. On its own it means nothing, so give the calculator your unit economics: average order value $180, gross margin 45%. Break-even CPA comes back as $180 × 0.45 = $81.00 — the gross profit a single order generates, and therefore the most an order can cost to acquire before the campaign is buying revenue at a loss. You paid $50 for something worth $81, so gross profit per conversion is $31.00, and across 240 conversions the campaign contributed $7,440.00 of gross profit after media. Verify that by an entirely separate route before you take it to a budget meeting. 240 orders at $180 each is $43,200 of revenue. At a 45% gross margin that is $19,440 of gross profit. Subtract the $12,000 of media and you have $7,440 — the same number, arrived at without ever computing a CPA. When those two routes disagree, something in your inputs is inconsistent, usually a margin that quietly includes shipping. Now apply the caveat that decides whether this campaign is actually good. The $7,440 is gross. If fulfilment, payment processing, returns and support cost this brand another $18 per order, that is 240 × $18 = $4,320, leaving $3,120 of true contribution — still positive, but less than half what the gross figure suggested, and the effective break-even CPA is $81 − $18 = $63, not $81. Finally, run the other two modes to plan the next quarter. Solve for Conversions with a $12,000 budget at a $50 CPA and you get 240 back. Solve for Total cost with a 300-conversion target at $50 and you get $15,000. And check the failure mode: had the same 240 conversions cost $24,000 instead, the CPA would be $100 against an $81 ceiling — minus $19 per conversion and minus $4,560 across the campaign, which is a campaign to pause rather than scale.
Frequently asked questions.
How do I calculate cost per acquisition?
Is cost per lead the same as cost per acquisition?
What is a good cost per acquisition?
What is break-even CPA and how do I calculate it?
What is the difference between CPA and CAC?
Why does my CPA change when I change my attribution window?
How do CPA, CPC and CPM relate to each other?
Should target CPA be a hard cap on every conversion?
Can I calculate CPA for a campaign I bought on a CPM basis?
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.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 762 calculators remain free
- No billing is enabled