Tool

CPA calculator: cost per acquisition, cost per lead and the ceiling your margin allows

Enter what you spent, how many leads came in and the rates of your funnel: the tool works out cost per lead, cost per qualified lead and cost per customer, then shows the maximum CPA your customer lifetime margin allows. With CAC, LTV:CAC ratio and profit per customer. Free, no signup, and nothing leaves your computer.

CPA and CPL calculator
-CPL (cost per lead)
-CPA (cost per customer)
-Maximum CPA for your target

-

The funnel cascade and the limits of the same scenario

Qualified leads
-
Cost per qualified lead
-
Customers generated
-
Lead to customer rate
-
Leads needed per customer
-
Customer lifetime revenue (LTV)
-
Customer lifetime margin
-
Break-even CPA (spends the whole margin)
-
Maximum CPL to hit the target
-
Break-even CPL
-
Actual CAC (ads plus team)
-
Actual LTV:CAC ratio
-
Profit per customer after CAC
-
CPA headroom below the target ceiling
-
Purchases for the customer to repay CAC
-

Nothing leaves your browser. CPL alone decides nothing: the number that sets your budget is the CPA at the end of the cascade, compared with the ceiling your customer margin allows.

Who this page is for: people buying traffic to generate leads, not direct sales. If your campaign sells on the same click and you want to compare revenue with spend, the right page is the ROAS calculator. If your question is about the auction, what a click and a thousand impressions cost, that lives in the CPC, CPM and CTR calculator. Here the subject is the cascade that happens after the click: lead, qualified lead, customer, and how much each step of that ladder is allowed to cost.

CPL is the number that lies most often

In lead generation, cost per lead is the metric everybody watches, because it shows up first and it is the only one the ad platform can measure on its own. The trouble is that it knows nothing about the rest of the journey. A lead costs $30 and you have no idea whether it is worth $5 or $500 until you know how many of them turn into customers.

This is why the same optimization that pushes CPL down often makes the outcome worse. Removing form fields, widening the audience, promising less and asking less: all of it fills the top and thins the middle. Since cost per customer is cost per lead divided by the funnel rates, a 20% drop in CPL alongside a 30% drop in qualification leaves the operation worse off, with a prettier report.

The tool above exists to put both movements on the same screen. It shows CPL, cost per qualified lead and CPA, and next to them the ceiling your margin allows. It is the comparison between cost and ceiling that decides, never the cost on its own.

How to use it

  1. Fill in spend and leads for the same period and the same source. Mixing this month budget with this week leads distorts everything downstream.
  2. Enter the two funnel rates: how many leads pass qualification and how many qualified leads close. If your process has a single stage, leave the second rate at 100% and read the first one as your close rate.
  3. Fill in revenue per sale, how many purchases a customer makes over their life, and your contribution margin. Those three fields build the ceiling: without them, CPA has nothing to be compared against.
  4. Add up in sales and team cost everything the ad platform cannot see: the salary of whoever works the lead, commission, CRM, dialer. That is what separates CPA from CAC.
  5. Adjust the target LTV:CAC ratio. Three to one is the convention; use whatever your operation can sustain and compare your actual CPA with the resulting ceiling.

How it works: the formulas

The cascade and the ceiling are two independent calculations that meet at the end:

CPL = spend ÷ leads
qualified leads = leads × qualification rate
customers = qualified leads × close rate
lead to customer rate = qualification rate × close rate
CPA = spend ÷ customers = CPL ÷ lead to customer rate
CAC = (spend + sales cost) ÷ customers
LTV in revenue = revenue per sale × purchases per life
lifetime margin = LTV in revenue × contribution margin
break-even CPA = lifetime margin
maximum CPA = lifetime margin ÷ target LTV:CAC ratio
maximum CPL = maximum CPA × lead to customer rate

The identity holding the page together is the middle one: CPA is CPL divided by the lead to customer rate. It explains why cost per customer is always a large multiple of cost per lead, and why winning two points of qualification is worth more than winning two percent on the bid. The ceiling comes from the other side, from margin: spending the entire lifetime margin on acquisition breaks even, and dividing that margin by your target ratio returns the figure that still leaves profit. Translating the ceiling back into CPL, by multiplying it by the funnel rates, gives the number whoever runs the campaign can actually use day to day, because it is the only one of the two they see in real time.

Worked example (reproduces the default output)

The prefilled values describe a month of lead generation at a small B2B operation: $12,000 in media, 400 leads, 35% of them qualified, 25% of the qualified ones closing, a $1,800 sale, two purchases per customer over their life, a 60% contribution margin, $6,000 of sales cost in the period and a 3 to 1 target.

Now drop the qualification rate from 35% to 20% and watch the whole page change mood while CPL stays exactly where it was: cost per lead is still $30.00, but CPA climbs to $600.00 and headroom under the ceiling shrinks from 52.4% to 16.7%. What changed was lead quality. The media report had no way of noticing.

How to read it and where the number misleads

The first limit is time. A lead you got today closes in weeks or months, so this month CPA divides today spend by customers who came from older campaigns. On a long cycle the honest number comes by cohort: follow one month of leads until they close, even if the answer takes a while. Watching daily CPA in a long-cycle business is reading noise.

The second is the definition of a qualified lead. It is internal, and it tends to drift on its own depending on whether the sales team calendar is full or empty. If the criterion moves, the rate moves, the calculated CPA moves and nothing changed in the campaign. Before comparing two periods, make sure the criterion is the same in both.

The third is the average. A healthy blended CPA almost always hides one expensive source carried by a cheap one. The cut by campaign, by creative and by segment is where the decision lives, and the ceiling this tool calculates applies to every line, not only to the total.

The fourth is LTV. It is a projection, and a projection of future revenue is the easiest variable to inflate when you want to justify a CPA that is already high. If lifetime margin depends on purchases that have not happened yet, treat the ceiling as a scenario, and watch the purchases-to-repay-CAC line as well: that is what turns the projection into cash runway.

From CPA to the decision

The ceiling tells you how much you may pay. What changes the outcome is attacking the divisor:

Frequently asked questions

What is the difference between CPA and CPL?
CPL is what each lead costs: someone left their contact details. CPA is what each customer costs: someone bought. The entire funnel sits between the two, and that is what separates the numbers. With 8.75% of leads becoming customers, a $30 CPL is a $342.86 CPA, almost twelve times larger. That is why chasing a cheap CPL without watching lead quality is the most common way to make CPA worse: an easier form brings more leads and fewer customers.
Are CPA and CAC the same thing?
No, and the confusion costs money. CPA usually counts only ad spend divided by customers, which is the number your ad platform reports. CAC includes everything it took to win that customer: media plus sales salaries, tools, commission and your team time. In any operation with a salesperson in the middle, CAC is much larger than CPA, and CAC is what belongs in the LTV:CAC ratio. This calculator shows both side by side so the second one does not disappear.
What is a good CPA?
A good CPA is any figure comfortably below the ceiling your customer margin allows. The absolute floor is break-even CPA, which is the entire margin a customer leaves over their life: paying that means working for free. The practical target is that margin divided by the LTV:CAC ratio you want to sustain. With $2,160 of lifetime margin and a 3 to 1 target, the ceiling is $720. Any industry table of good CPA ignores your margin, so it decides nothing.
How do I calculate the maximum CPA I can pay?
Multiply revenue per sale by the number of purchases a customer makes over their life and by your contribution margin: that is the money a customer actually leaves behind. Divide it by the LTV:CAC ratio you want to sustain and you have your maximum CPA. Three to one is the SaaS convention, not a law: a company with capital to burn in a contested market runs closer to 2, and a company that has to pay for itself every month usually needs more than 3.
Why did my CPL drop while my CPA went up?
Because both ends of the funnel move in opposite directions when you loosen the entrance. A generic offer, a form that is too short and a broad audience all push lead cost down and drag qualification down with it. Since CPA is CPL divided by the funnel rates, the result can get worse even as CPL improves. The honest test is to read the whole cascade: if cost per qualified lead went up, the cheap lead was expensive.
What does an LTV:CAC ratio of 3 to 1 really mean?
That each customer returns three times what it cost to win them, counting margin rather than gross revenue. The rule became a convention because it leaves room for fixed costs, for churn coming in worse than planned and for the error in your own LTV estimate. Below 1 to 1 you lose money per customer. Far above 5 to 1 usually signals underinvestment in acquisition rather than efficiency: there is market you are not buying.
Should I count future purchases in LTV?
Counting them helps, as long as the numbers come from your history and not from an optimistic projection. The blind spot is cash: media is billed in 30 days and the second purchase may arrive twelve months later. That is why this tool shows how many purchases it takes to repay CAC. If the customer only returns their acquisition cost on the third purchase, the model works on paper while cash suffocates along the way.
How do I lower CPA without lowering my bid?
By moving the funnel rates, which is where the slack is and where competition is thinnest. Since CPA is CPL divided by the lead to customer rate, taking qualification from 35% to 45% cuts CPA by nearly a third without touching the auction. You get there with a better page, a more specific offer, a form that filters instead of merely shrinking, and faster response to each lead. Testing those changes under control is exactly what CRO is.
Embed this tool on your site

Paste this code wherever you want the calculator to appear. The credit link below the frame helps us and you are free to keep it.

Keep going

With the CPA ceiling defined, the next step is raising the close rate without raising the bid. Start with B2B SaaS landing page testing, move to demo request form optimization and close the measurement loop with the GA4 and A/B testing guide.

Related tools

See all tools →