The CPA formula
Cost per acquisition (CPA) is what you pay, on average, to win one conversion — a sale, a lead, a sign-up or whatever action your campaign is built around. The formula is simple:
If you spend $5,000 on ads and get 125 customers, your CPA is $5,000 ÷ 125 = $40.00. Because conversions come from clicks, and clicks come from impressions, you can write the same CPA calculation in terms of your other ad metrics:
CPA = CPM ÷ (1,000 × CTR × conversion rate)
Conversions = budget ÷ CPA
Those versions are handy for forecasting: at a $1.00 cost per click and a 2.5% conversion rate, CPA = $1.00 ÷ 0.025 = $40.00 before you spend a dollar. Use the “Forecast” mode in the calculator to run that kind of what-if.
Decide what “total cost” includes. Most ad platforms report CPA using media spend only. A fully loaded CPA also adds agency fees, creative production and tools — enter those under “Other campaign costs” to see both.
How to use the CPA calculator
- Enter ad spend and conversions for a campaign, channel or month. That alone gives you CPA.
- Add impressions and clicks (optional) to get CTR, CPC, CPM and conversion rate, plus a simple funnel.
- Enter revenue per conversion to see return on ad spend (ROAS) and ROI.
- Enter customer lifetime value and your desired margin to calculate a target CPA and the maximum CPC you can bid while staying on target.
CPA calculation example
An online store runs a search campaign for a month:
| Metric | Formula | Result |
|---|---|---|
| CPA | $5,000 ÷ 125 conversions | $40.00 |
| CPC | $5,000 ÷ 5,000 clicks | $1.00 |
| CTR | 5,000 ÷ 250,000 impressions | 2.00% |
| Conversion rate | 125 ÷ 5,000 clicks | 2.50% |
| CPM | $5,000 ÷ 250,000 × 1,000 | $20.00 |
| ROAS | $11,250 revenue ÷ $5,000 | 2.25× (225%) |
| ROI | ($11,250 − $5,000) ÷ $5,000 | 125% |
| Target CPA | $150 CLV × (1 − 40%) | $90.00 |
| Max CPC | $90 target CPA × 2.5% | $2.25 |
The actual CPA of $40 is well under the $90 target, so this campaign has room to scale — bids could rise toward $2.25 per click before acquisitions stop being profitable at the desired margin. These are the calculator’s default inputs.
How to set a target CPA
A CPA is only “good” or “bad” relative to what a customer is worth to you. Work backward from value:
Target CPA = lifetime value × (1 − desired profit margin)
Max CPC = target CPA × conversion rate
- Use profit, not revenue. If a customer spends $500 over their lifetime at a 30% gross margin, they’re worth $150 of gross profit — that’s the most you can pay to acquire them and still break even.
- One-time purchases: if customers rarely come back, use the gross profit on the first order. The profit margin calculator gives you that figure.
- Cash flow matters. A CPA justified by lifetime value may take months to pay back. Make sure the business can carry that gap — the break-even calculator helps you see how many customers cover your fixed costs.
CPA vs CPC vs CPM vs CAC
| Metric | Formula | What it tells you |
|---|---|---|
| CPA — cost per acquisition (or action) | Cost ÷ conversions | What a campaign pays per desired action. Often a campaign- or channel-level metric. |
| CPC — cost per click | Cost ÷ clicks | What you pay for traffic. A low CPC means nothing if those clicks don’t convert. |
| CPM — cost per mille | Cost ÷ impressions × 1,000 | What you pay for 1,000 ad views. Common for awareness and social campaigns. |
| CPL — cost per lead | Cost ÷ leads | A CPA where the conversion is a lead, not a sale. |
| CAC — customer acquisition cost | All sales & marketing costs ÷ new customers | A company-wide metric including salaries, tools and every channel — usually higher than any single campaign’s CPA. |
| ROAS — return on ad spend | Revenue ÷ ad spend | Revenue generated per dollar of ads. Useful when order values vary. |
In short: CPC and CPM measure what you pay for attention, CPA measures what you pay for results, and CAC measures what the whole business pays for each new customer.
What is a good CPA?
There’s no universal good CPA. Benchmarks vary widely by industry, channel, country, product price and what counts as a conversion — a newsletter sign-up and a $5,000 software contract can’t be compared. Published industry averages are a rough starting point at best. A more reliable test is your own economics:
- Your CPA should be below your target CPA (lifetime gross profit minus the profit you want to keep).
- Compare CPA across your own channels and campaigns and shift budget toward the ones that convert most cheaply at acceptable quality.
- Track CPA over time — rising CPA with flat conversion rates usually means competition for clicks is increasing.
How to lower your cost per acquisition
- Raise conversion rate. Faster pages, clearer offers, fewer form fields and stronger social proof lower CPA without touching bids. Doubling conversion rate halves CPA.
- Tighten targeting. Add negative keywords, exclude poor-performing placements and audiences, and narrow geography or schedule.
- Improve ad relevance. More relevant ads tend to earn higher CTR, and on auction platforms better quality can lower what you pay per click.
- Raise order value. Bundles and upsells don’t lower CPA, but they increase ROAS and the CPA you can afford.
- Use the right bid strategy. Automated target-CPA bidding needs enough conversion data to work well; feed it accurate conversion tracking.
CPA formula vs Certified Public Accountant
“CPA” also stands for Certified Public Accountant. This page is about the marketing metric. If you landed here looking for tax help, our other tools are built for that: estimate your bill with the federal income tax calculator, the 1099 tax calculator or the self-employment tax calculator, and read our guide to quarterly taxes. Marketing costs are generally deductible business expenses, which lowers the after-tax cost of every acquisition.
Frequently asked questions
What is the CPA formula?
CPA = total cost ÷ number of conversions. For example, $5,000 of ad spend that produces 125 sales gives a CPA of $40.00. Equivalently, CPA = cost per click ÷ conversion rate.
How do you calculate cost per acquisition in Google Ads or Meta?
Use the same formula: divide the campaign’s cost by its conversions for the same date range. Ad platforms usually show this as “cost per conversion” or “cost per result,” based on media spend only and on whatever conversions you’ve set up to track.
What is a good CPA?
It depends on your industry, channel and margins, so benchmarks vary widely. A practical rule is that CPA should be lower than the gross profit a customer brings in, minus the profit you want to keep — your target CPA.
How do I calculate target CPA?
Multiply customer lifetime value (in gross profit) by one minus your desired profit margin. With a $150 lifetime value and a 40% desired margin, target CPA = $150 × 0.60 = $90.
What is the difference between CPA and CAC?
CPA usually measures a specific campaign or channel using ad spend. Customer acquisition cost (CAC) divides all sales and marketing costs — salaries, tools, agencies and every channel — by all new customers, so it’s typically higher.
How are CPA and ROAS related?
ROAS = revenue per conversion ÷ CPA. If each conversion brings $90 of revenue and CPA is $40, ROAS is 2.25×.
Is this calculator about Certified Public Accountants?
No — here CPA means cost per acquisition, a marketing metric. For tax estimates, try our federal income tax, 1099 and self-employment tax calculators.