01 / Efficiency
CPA & CPL Calculator
Cost per lead and cost per acquisition are the two numbers most media plans are judged on, and the two most often quoted without the close rate that connects them. Enter spend, leads and customers to get both, plus the maximum CPL your target CPA can actually sustain.
Your numbers
Everything is calculated in your browser as you type.
Results
Cost per lead (CPL)
Ad spend ÷ leads
Cost per acquisition (CPA)
Ad spend ÷ customers
Lead-to-customer rate
Customers ÷ leads
Revenue per lead
Revenue ÷ leads
Revenue per customer
Revenue ÷ customers
Variance vs target CPA
Add a target CPA to compare
Maximum viable CPL
Target CPA × close rate
Results show n/a when a required input is missing or a divisor is zero. Maximum viable CPL needs both a target CPA and a lead-to-customer rate.
02 / Definitions
What each number means
- CPL (Cost per Lead)
- Media cost divided by the number of leads generated. The price of one enquiry, before anyone has bought anything.
- CPA (Cost per Acquisition)
- Media cost divided by the number of customers. Also called cost per conversion or cost per sale. This is the figure that matters commercially.
- Lead-to-customer rate
- The share of leads that become customers. This is the hinge between CPL and CPA: at a 10% close rate, a AED 100 lead implies a AED 1,000 customer.
- Revenue per lead
- Total revenue divided by leads. Compare directly against CPL. If revenue per lead is below CPL, the channel loses money on every enquiry.
- Variance vs target CPA
- Actual CPA minus target CPA. A positive number means you are paying more per customer than planned.
- Maximum viable CPL
- The most you can pay per lead and still hit your target CPA, given your close rate. This is the number to hand a media buyer as a bidding ceiling.
03 / Formulas
How it is calculated
CPL
ad spend ÷ leads
CPA
ad spend ÷ customers
Lead-to-customer rate
(customers ÷ leads) × 100
Revenue per lead
revenue ÷ leads
Revenue per customer
revenue ÷ customers
Variance vs target CPA
actual CPA − target CPA
Maximum viable CPL
target CPA × lead-to-customer rate (as a decimal)
A AED 2,000 target CPA at a 12% close rate allows AED 240 per lead.
04 / Worked example
Why a cheap lead can be an expensive customer
A campaign spends AED 60,000, produces 400 leads and closes 24 of them for AED 480,000 in revenue. The target CPA is AED 2,000.
| Step | Working | Result |
|---|---|---|
| CPL | 60,000 ÷ 400 | AED 150 |
| CPA | 60,000 ÷ 24 | AED 2,500 |
| Lead-to-customer rate | (24 ÷ 400) × 100 | 6.0% |
| Revenue per lead | 480,000 ÷ 400 | AED 1,200 |
| Revenue per customer | 480,000 ÷ 24 | AED 20,000 |
| Variance vs target | 2,500 − 2,000 | AED 500 over |
| Maximum viable CPL | 2,000 × 0.06 | AED 120 |
A AED 150 CPL looks efficient in isolation. But at a 6% close rate the target CPA only supports AED 120 per lead, so the campaign is 25% too expensive at the top of the funnel. The fix is either cheaper leads or a better close rate, and lifting close rate from 6% to 7.5% would solve it without touching media at all.
05 / Interpretation
How to read the results
Optimising CPL alone will quietly raise your CPA
Broad targeting and lead-magnet offers reliably cut CPL and just as reliably lower lead quality. If CPL falls while CPA rises, you bought cheaper leads that convert worse.
Use maximum viable CPL as a bidding ceiling
It converts a commercial target into a number a media buyer can act on daily, instead of waiting weeks for enough conversions to judge CPA.
Small close-rate changes move CPA more than bids do
Going from 6% to 8% cuts CPA by a quarter with no change in media cost. Sales follow-up speed is usually the cheapest lever available.
Watch the sample size
A close rate built on 24 customers has wide error bars. Below roughly 30 conversions, treat CPA as directional rather than precise.
06 / Pitfalls
Common mistakes
Counting raw form fills as leads
Spam and duplicate submissions flatter CPL and destroy the close rate. Count qualified leads only, and count them the same way every period.
Comparing CPA across different sales cycles
Leads generated this month may close next quarter. Cohort the data by lead creation date rather than by close date.
Setting a target CPA with no margin behind it
A target invented from last year’s number is not a target. Derive it from revenue per customer and gross margin.
Blending channels into one CPA
Brand search and cold prospecting have very different economics. A single blended CPA hides which one is subsidising the other.
07 / FAQ
Frequently asked questions
- What is the difference between CPA and CPL?
- CPL is the cost of an enquiry; CPA is the cost of a paying customer. They are linked by your lead-to-customer rate: CPA equals CPL divided by that rate.
- What is a good CPA?
- One comfortably below the gross profit a customer generates. Take revenue per customer, multiply by gross margin, and keep CPA meaningfully under it.
- Why does the calculator warn when customers exceed leads?
- That produces a conversion rate above 100%, which normally means the two figures come from different sources or different date ranges.
- Can I use this for e-commerce?
- Yes, leave leads empty and treat orders as customers. CPA then equals cost per order, and revenue per customer equals average order value.
- Is my data sent anywhere?
- No. Everything runs locally in your browser. Nothing is transmitted or stored.
08 / Related
Related calculators
Profitability
ROI & ROAS Calculator
Turn ad spend and attributed revenue into ROAS, gross profit, marketing ROI, CPA and the break-even ROAS your margin requires.
Open toolBudget Control
Campaign Budget Pacing Calculator
Check whether a campaign is over- or under-pacing, what to spend per remaining day, and where the budget lands at the current rate.
Open toolBuilt by Sofwane Sabeg
Lead quality problem or a media problem?
Most CPA issues turn out to be routing and follow-up, not bidding. I build the CRM integration and lead scoring that make the difference visible.
These calculators are provided for planning and estimation. They run entirely in your browser. Nothing you type is sent to a server, stored, or logged. Results depend on the accuracy of the figures you enter and on how your platforms attribute revenue. They are not financial, accounting or legal advice.