Free tool

CPA Calculator

Calculate your cost per acquisition. CPA = Ad Spend ÷ Conversions. Enter your campaign numbers to see CPA, break-even CPA, profit per conversion, and target CPA comparison.

Campaign Data

$

Unit Economics

$
%
$

CPA

$40.00

75 conversions

Max Affordable CPA

$39.00

Break-even CPA

Profit per Conversion

$-1.00

3.0% CVR

ROAS

1.6x

$4,875 revenue

CPA $40.00 is near break-even $39.00 — thin profit margins

Profitability

Revenue (75 orders)$4,875.00
Gross Profit$2,925.00
Ad Spend-$3,000.00

Net Profit$-75.00

Target CPA Analysis ($30)

Current CPA vs target+33%
Conversions at target CPA100 (same budget)
Budget for 75 at target$2,250.00

CVR needed for target CPA4.0% (current: 3.0%)

How to Calculate CPA

Cost per acquisition (CPA) is the average amount you spend on advertising to get one conversion. To calculate CPA, divide your total ad spend by the number of conversions:

CPA = Total Ad Spend ÷ Total Conversions

For example, if you spend $2,400 on ads and get 80 purchases, your CPA is $2,400 ÷ 80 = $30 per acquisition.

A low CPA is not automatically profitable — it depends on order value and gross margin. Compare CPA with the gross profit per order, then account for shipping, payment fees, and returns before deciding whether to scale.

CPA Formulas

Cost per acquisition

CPA = Total Ad Spend ÷ Total Conversions

Conversion rate

Conversion Rate = (Conversions ÷ Clicks) × 100

Break-even CPA (using gross margin)

Break-even CPA = Average Order Value × Gross Margin

Profit per conversion after ad spend

Profit per Conversion = (Average Order Value × Gross Margin) − CPA

Gross margin is entered as a decimal in the formulas: for example, 55% becomes 0.55. Break-even CPA is a pre-overhead limit; it does not include costs that are not reflected in gross margin.

How to Use This Calculator

  1. Enter Ad Spend for the campaign or period you are analyzing. Use the same currency and date range as your conversion data.
  2. Enter Conversions, such as purchases or completed signups. Count the same conversion type used in your advertising platform’s reporting.
  3. Enter Clicks to calculate the conversion rate. Use clicks from the same campaign and period as your spend and conversions.
  4. Enter Average Order Value to estimate how much revenue each purchase generates on average.
  5. Enter Gross Margin as a percentage. Use the margin remaining after product costs, not net profit after advertising.
  6. Enter Target CPA, the maximum amount you aim to pay for each acquisition. Compare the target with your actual CPA and break-even CPA.

The calculator uses ad spend and conversions for actual CPA, while average order value and gross margin estimate the maximum affordable CPA. For a wider view of campaign profitability, compare this result with the ROAS Calculator.

Step-by-Step Example

A Shopify store spends $2,400 promoting a skincare set and records 80 purchases from 3,200 clicks. Its average order value is $72, gross margin is 55%, and target CPA is $28.

Measure Calculation Result
Actual CPA $2,400 ÷ 80 $30.00
Conversion rate (80 ÷ 3,200) × 100 2.5%
Gross profit per order before ads $72 × 0.55 $39.60
Break-even CPA $72 × 0.55 $39.60
Profit per conversion after ads $39.60 − $30.00 $9.60

The campaign is $2 above its target CPA but remains below its estimated break-even CPA. Across 80 purchases, its estimated contribution after ad spend is $768 ($9.60 × 80), before other operating costs. The store can decide whether to keep the campaign running, test changes to bring CPA toward target, or pause it if other costs erase that contribution.

How to Interpret CPA and Break-Even CPA

Break-even CPA is a ceiling based on gross profit, not a recommended bidding target. If you set your target at break-even, there is no gross profit left from the order to cover fulfillment, payment fees, discounts, returns, or overhead. Set a lower target when those costs are material or when you need profit from the first order.

CPA also depends on what counts as a conversion. A purchase campaign’s CPA measures cost per purchase, while a lead campaign’s CPA measures cost per lead; a lead is not necessarily a paying customer. Compare like with like across channels, and use a Customer Acquisition Cost (CAC) Calculator when you need to include broader marketing and sales costs per new customer.

CPA benchmarks vary with product economics, targeting, geography, and attribution settings. The table below shows maximum affordable CPA examples, not industry averages; the amounts are calculated from the stated order value and gross margin.

Example order economics Calculation Break-even CPA
Lower-priced product: $32 AOV, 45% gross margin $32 × 0.45 $14.40
Mid-priced product: $88 AOV, 58% gross margin $88 × 0.58 $51.04
Higher-priced product: $150 AOV, 62% gross margin $150 × 0.62 $93.00

Industry CPA averages are often reported in broad ranges, such as $10–$50, but an average cannot show whether a specific campaign is profitable. Use your own margin and order value to set a ceiling, then compare campaigns using consistent attribution windows. The U.S. Small Business Administration recommends researching customers and competitors when planning marketing; use its market research guidance to add business context to campaign metrics.

6 Experiments to Lower CPA

  1. Raise landing-page conversion rate: Change one page element, such as the headline or product offer, and compare conversion rate before and after. Keep traffic source and date range consistent.
  2. Test a new audience: Split a portion of budget between your current audience and a narrower or broader segment. Keep the creative and offer consistent so the audience is the main variable.
  3. Refresh one ad creative: Test a new product image or video against the existing ad. Pause the weaker version only after each has enough conversions to make the comparison useful.
  4. Try a bundle to lift order value: Compare a single product offer with a bundle that adds a complementary item. A higher order value can raise affordable CPA, but only if the bundle’s added costs do not erase the margin gain.
  5. Separate prospecting from retargeting: Track warm visitors and new audiences in separate campaigns. Retargeting may produce a lower CPA, but it does not show how efficiently you are acquiring new customers.
  6. Check conversion tracking before changing bids: Compare ad-platform purchases with Shopify orders for the same dates. Investigate differences in attribution windows, duplicate events, or consent-related tracking gaps before judging a campaign.

Use the Meta Ads Budget Calculator or Google Ads Budget Calculator to test how budget, click costs, and conversion assumptions affect campaign planning. When you change ads or landing pages, make sure performance claims remain accurate; the FTC explains the basics of truthful advertising and substantiation.

Frequently Asked Questions

How do you calculate CPA?

CPA = Total Ad Spend / Total Conversions. If you spent $3,000 and got 75 conversions, your CPA is $40. This is your average cost to acquire one customer or conversion through paid advertising.

What is a good CPA for ecommerce?

A good CPA depends on your margins. Your CPA must be below your max affordable CPA (AOV × Gross Margin) to be profitable. For example, with $65 AOV and 60% margin, your break-even CPA is $39; any CPA below that generates gross profit before other expenses. Industry averages range from $10–$50 depending on product category, so use your own unit economics rather than treating a market average as a target.

What is the difference between CPA and CAC?

CPA (Cost Per Acquisition) typically measures the cost per conversion from a specific campaign or channel. CAC (Customer Acquisition Cost) is broader—it includes all marketing and sales costs divided by total new customers. CPA is campaign-level, CAC is business-level; a customer might convert multiple times, so CPA per order differs from CAC per new customer.

How do I lower my CPA?

Lower CPA by improving conversion rate with better landing pages, offers, and targeting; reducing CPC through stronger ad relevance; testing new audiences and creatives; using retargeting for warm traffic; and reducing funnel drop-offs. Improving conversion rate can lower CPA without reducing clicks, but discounts or higher ad spend can also change margin and should be measured alongside CPA.

What is break-even CPA?

Break-even CPA (or max affordable CPA) is the highest CPA where the gross profit from an order still covers the advertising cost. Formula: AOV × Gross Margin; with $65 AOV and 60% margin, $65 × 0.60 = $39 break-even CPA. Any CPA above $39 means the ad cost exceeds gross profit per acquisition, and this calculator shows break-even CPA and profit per conversion.

About This Calculator

The CPA Calculator was built by Luis Dev Studio for Shopify merchants who want to compare advertising cost with order economics. For help applying these calculations to your store, contact us or explore our Shopify services.

Updated by Luis Gonzalez · Apr 21, 2026

Need help optimizing your Shopify store's ad performance?

We set up conversion tracking, landing pages, and analytics for Shopify merchants running paid ads. Let us help you lower your CPA.

Explore next

Related Tools