Audited 29 Jul 2026·Last updated 29 Jul 2026·8 citations·Tier 1·0 uses

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

Solve For
Total media cost over the period you are measuring. Add agency and creative fees only if you want a fully-loaded CPA — be consistent about it. Required unless solving for total cost.
$
Actions completed — sales, signups, leads, form fills. Whatever your attribution model counts, over the same period as the spend. Required unless solving for conversions.
The per-conversion cost you expect to pay. Required unless solving for cost per acquisition.
$
Average revenue from one conversion, excluding tax and shipping charged to the customer. For a lead, use the revenue of the deal it eventually becomes multiplied by your close rate.
$
Gross margin on that order value — revenue minus cost of goods, as a percentage of revenue. Not your net margin: fulfilment, payment fees and overhead are not in this number.
%
Cost per acquisition
$50.00
Total ad spend divided by conversions. The same arithmetic answers cost per lead, cost per sale and cost per order — only the definition of the action changes. This figure inherits whatever your attribution model counts as a conversion.
Break-even CPA
$81.00
Gross profit per conversion
$31.00
Campaign gross profit
$7,440.00
Total cost
$12,000.00
Conversions
240

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.

  1. 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.
  2. 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.
  3. 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.
  4. Enter the cost per acquisition if you are planning rather than measuring. Leave it alone if you selected Cost per acquisition.
  5. 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.
  6. 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.
  7. 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.

CPA = S ⁄ N ; CPA(be) = V × (m⁄100)

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.

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.

conversions240
average Order Value180
gross Margin Percent45
ad Spend12,000
solve Forcpa

Frequently asked questions.

How do I calculate cost per acquisition?
Divide total ad spend by the number of conversions over the same period: CPA = spend ÷ conversions. A $12,000 campaign that produced 240 conversions has a CPA of $50.00. The MASB Universal Marketing Dictionary states the identity for the order case as cost per order ($) = advertising cost ($) ÷ orders placed (#), citing Farris, Bendle, Pfeifer and Reibstein's Marketing Metrics, chapter 9 section 9.11. Microsoft's Xandr glossary gives the general version as "dividing your cost (or revenue) by the number of conversion events". Two decisions change the answer and should be made deliberately: whether ad spend includes agency and creative fees, and which attribution model produced the conversion count.
Is cost per lead the same as cost per acquisition?
Cost per lead is a special case of cost per acquisition, not a different metric. The IAB's glossary is explicit: cost per lead is "a more specific form of Cost Per Action in which a visitor provides enough information at the advertiser's site (or in an interaction with a rich media ad) to be used as a sales lead," adding that "you can estimate cost per lead regardless of how you pay for the ad." The arithmetic is identical — spend divided by the count — so to calculate CPL on this page, put your lead count in the conversions field. The one thing that does change is the value side: a lead is worth the eventual deal value multiplied by your lead-to-close rate, not the full deal value. If a $3,000 deal closes on 20% of leads, enter $600 as the average order value, not $3,000.
What is a good cost per acquisition?
There is no universal number, and any page that gives you one is guessing. The only defensible benchmark is your own break-even CPA — average order value multiplied by gross margin. A $50 CPA against an $81 break-even is excellent; the same $50 CPA on a $60 order at 30% margin, where break-even is $18, is a business-ending disaster. That is why this page asks for order value and margin rather than comparing you to an industry average that mixes together subscription software, insurance leads and phone cases. If you want a rule of thumb beyond break-even, most operators target a CPA somewhere between a third and two-thirds of gross contribution, leaving room for fulfilment, overhead and profit — but the ratio that works depends entirely on how much of your cost structure sits below the gross line.
What is break-even CPA and how do I calculate it?
Break-even CPA is the acquisition cost at which a conversion contributes exactly zero gross profit: order value × gross margin. An $180 order at 45% gross margin contributes $81.00, so $81.00 is the break-even CPA. Google's guidance on estimating conversion value performs the same margin adjustment as its first step, taking $3,000 of average deal revenue and multiplying by a 45% profit margin before applying any funnel rates. Two adjustments make the figure realistic. Subtract per-order costs that sit below the gross line — fulfilment, payment processing, expected returns, support — because they reduce the ceiling one-for-one. And if customers repeat, the ceiling based on a single order understates what you can afford; that calculation belongs in a lifetime-value model, not here, and this page deliberately counts the first order only.
What is the difference between CPA and CAC?
They overlap but are not interchangeable. CPA is a media metric: advertising spend divided by conversions, where a conversion might be a signup, a trial, a lead or a first purchase. Customer acquisition cost is a company metric: total sales and marketing cost — media, salaries, tooling, commissions, agency retainers — divided by the number of new customers acquired. CAC is therefore almost always the larger number, often by a wide margin for businesses with a sales team, and it is the figure investors ask about because it is the one that reconciles to the income statement. CPA is what you optimise campaign by campaign; CAC is what determines whether the business model works. If your conversion is a first purchase and you run no sales team, the two converge.
Why does my CPA change when I change my attribution window?
Because the denominator changes. CPA is spend divided by conversions, and the conversion count is entirely determined by what your attribution model chooses to credit. Widening a click-through window from 7 days to 30 credits more conversions to the same spend and lowers the reported CPA; enabling view-through conversions does the same, often dramatically for display and video. Switching from last-click to data-driven redistributes credit between channels, so upper-funnel campaigns look better and branded search looks worse, with no change in behaviour anywhere. None of this affects how many sales the business actually made — total revenue is unmoved. The practical rule is to compare CPA only across periods measured on identical settings, and to treat any step change that coincides with a measurement change as a measurement artefact until proven otherwise.
How do CPA, CPC and CPM relate to each other?
They are the three canonical media pricing models, framed by the IAB as one family: "CPx pricing refers to how media is bought on a cost per basis. The x is replaced by M (CPM) to refer to Cost Per Thousand, or C (CPC) to refer to Cost Per Click, or any variant of A (CPA) Cost Per Action." Arithmetically they chain: CPC = CPM ÷ (1,000 × click-through rate), and CPA = CPC ÷ conversion rate. So a $6.00 CPM at a 0.4% click-through rate is a $1.50 effective CPC, and at a 5% conversion rate that is a $30.00 effective CPA. The chain also shows where a bad CPA comes from — it can be an expensive CPM, a weak creative depressing click-through, or a landing page depressing conversion, and the three fixes are entirely different. Risk shifts down the chain too: on CPM the advertiser carries all the performance risk, on CPA the publisher carries most of it, which is why CPA inventory is priced at a premium.
Should target CPA be a hard cap on every conversion?
No, and treating it as one leads to over-correcting on noise. Google Ads is explicit about how target CPA behaves: "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." It is a portfolio average. Google further recommends judging performance against the traffic-weighted average target rather than the static number you typed, because device adjustments, ad group variation and mid-period edits all move the effective target. Practically: look at the distribution over a window large enough to contain a meaningful number of conversions, and expect the mean rather than the maximum to land on target. A single $200 conversion inside a $50 average is normal, not a failure.
Can I calculate CPA for a campaign I bought on a CPM basis?
Yes — that is exactly what the industry calls effective CPA. Microsoft's Xandr glossary defines eCPA as being "calculated by dividing your cost (or revenue) by the number of conversion events" and describes it as showing "how much is spent in CPA when payouts are measured using another pricing model." The point of the translation is comparability: a display line bought at a $6.00 CPM and a search campaign bought on clicks cannot be compared on their native prices, but both can be reduced to a cost per conversion and ranked. The IAB makes the same point for leads, noting you can estimate cost per lead regardless of how you paid for the ad. So enter the spend and the conversions from any campaign, however it was billed, and the output is that campaign's effective CPA.

References& sources.

  1. [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. [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. [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. [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. [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. [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. [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. [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.

Embed

Quanta Pro

Paid features are coming later.

  • All 762 calculators remain free
  • No billing is enabled
Coming soon