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

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

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
Cost per acquisition in dollars: spend divided by conversions, whether the conversion is a sale, a lead or an order.
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.

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Enter gross margin: revenue minus cost of goods, as a percentage of revenue. It is not net margin and not markup.
  6. 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.

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

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.

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.

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

Frequently asked questions.

How do I calculate cost per lead and value a lead?
The division is the same: spend ÷ leads. What changes is the value side, because a lead is not yet a sale. Multiply the eventual deal value by your lead-to-close rate and enter that as the order value. Google's own guide to estimating conversion value works through a $3,000 deal at a 45 % margin with 20 % of leads closing, giving $270 per lead; here that means an order value of $600 and a margin of 45 %.
What is a good cost per acquisition?
One below your own break-even CPA, with room to spare for the costs beneath gross margin. Cross-industry averages mix subscription software, insurance leads and cheap consumer goods, so they say little about your business. Google's ROI help page gives a tidy case: a $200 product that costs $100 to make, six sold on $200 of ad spend. The CPA is $33.33 against a $100 break-even, and Google reports the campaign's return as 50 %.
How do I include fulfilment, payment fees and returns?
Subtract them per order from the break-even CPA, or fold them into the margin. If the $180 order also costs $18 to pick, ship, process and refund on average, the affordable ceiling falls from $81 to $63 — the same as entering a 35 % margin instead of 45 %. In the worked example that takes 240 × $18 = $4,320 off the $7,440, leaving $3,120 of contribution: still positive, but under half the gross figure.
My supplier quotes a markup, not a margin. What do I enter?
Convert it first, because the two describe the same profit against different bases. Margin = markup ÷ (100 + markup) × 100. A 100 % markup, doubling the cost, is a 50 % margin; an 80 % markup is a 44.44 % margin. Entering a markup where a margin belongs overstates the break-even CPA, sometimes badly: a 100 % markup typed as a 100 % margin would treat the entire order value as profit.
What is the difference between CPA and customer acquisition cost?
CPA is a media metric: advertising spend divided by conversions, where a conversion may be a lead, a trial or a first purchase. Customer acquisition cost is a company metric: all sales and marketing cost — media, salaries, tools, commissions, agency retainers — divided by new customers. CAC is usually the larger figure, much larger where a sales team closes the deals. The two converge only when the conversion is a first purchase and advertising is essentially the whole acquisition effort.
Why did my CPA change when I changed attribution settings?
Because the conversion count changed while the spend did not. A longer click-through window, view-through conversions or a switch from last-click to data-driven attribution can each credit more or different conversions to the same campaign, moving CPA in the opposite direction. None of it changes how many sales the business actually made. Compare CPAs only across periods measured with identical settings, and treat a step change that coincides with a settings change as a measurement effect first.
How do CPM, CPC and CPA connect?
The IAB groups them as CPx pricing: cost per thousand impressions, per click, per action. They chain through two rates: CPC = CPM ÷ (1,000 × click-through rate) and CPA = CPC ÷ conversion rate. A $6.00 CPM at a 0.4 % click-through rate is a $1.50 cost per click, and at a 5 % conversion rate a $30.00 CPA. The chain shows where a poor CPA comes from: expensive impressions, weak creative or a landing page that does not convert.
Should a target CPA be treated as a cap on every conversion?
No. Google Ads describes its target CPA bidding as an average: some conversions may cost more than the target and some less, while the system tries to keep the overall cost per conversion at the target. Judge it over enough conversions to average out the noise. One $200 conversion inside a campaign averaging $50 is expected; a month whose average sits above the break-even CPA is the signal that matters.
Why does CPA rise when I increase the budget?
Extra spend usually buys less responsive audiences and pricier placements, so the last conversions cost more than the average. Suppose raising spend from $12,000 to $15,000 adds 30 conversions. The blended CPA is only $15,000 ÷ 270 = $55.56, but the extra 30 cost $3,000 ÷ 30 = $100 each — above the $81 break-even, losing $570 of gross profit between them. Judge budget increases on that incremental figure, not on the blend.
What if customers come back and buy again?
Then the single-order break-even understates what a customer is worth, because only the first order is counted here. If a typical customer places two orders of $180 at 45 % margin, the gross profit per customer is $162, and a first-order CPA above $81 could still pay back over time. That calculation needs a lifetime-value estimate built on your own repeat rates, and repaying acquisition cost later ties up cash in the meantime.

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.

How this page was produced

Published by
Quanta Calculator
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.

Embed

Quanta Pro

Paid features are coming later.

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