How to Calculate Cost per Lead: Why Your Number Is Probably Wrong

In a lot of marketing teams, cost per lead helps decide which channel gets more budget and which one gets cut. Everyone knows the formula: costs divided by leads. And yet the number is often wrong. The maths is rarely the problem. Usually it's what ends up at the top and bottom of the fraction.
Here's where cost per lead typically goes wrong, what that means for your budget, and how to get to a number you can trust.
1. The formula and what really belongs in it
Cost per lead = costs ÷ number of leads
First you need to decide which costs you include. Many teams only use media spend, the money that goes to Google, LinkedIn or Meta. It's quick to work out and good enough to compare campaigns with each other. But it won't show you what a lead really costs the company.
Add agency fees, tools, content and your team's time, and the number is often much higher. Both approaches are fine. What matters is that everyone is talking about the same number. Otherwise marketing looks at media spend, management thinks of full costs, and nobody notices they're talking past each other.
So decide once what goes into cost per lead, and write it down. Media spend is enough for steering campaigns. For budget planning you need full costs.
2. Why too many leads get counted
More often the mistake is at the bottom of the fraction. More leads get counted than actually exist, and cost per lead looks better than it is. For example:
- A form is tracked twice, say on submit and again on the thank-you page. One lead becomes two.
- Your agency, a developer or your own team tests a form, and the test shows up as a real conversion in GA4 and the ad platforms.
- Employees fill in forms internally, and internal traffic isn't excluded.
A cost per lead that's too low doesn't bother anyone. If anything, people are pleased. That's why this mistake often goes unnoticed for a long time.
3. Why leads go missing
It works the other way round too. Real leads never show up in tracking, or they land in the system without a source. Then a channel looks worse than it is. The most common reasons:
- Rejected consent: Anyone who rejects the cookie banner is missing from the data, fully or partly. Depending on the setup, that can be a large share of your leads.
- Broken forms or CTAs: A button leads to an error page, or a form doesn't submit. Then the lead is gone altogether, not just from tracking.
- Leads by phone and email: Lots of B2B enquiries come in by phone or email. Without attribution, nobody knows which campaign was behind them.
- Server-side tracking with gaps: Server-side tracking is supposed to prevent data loss. If it's set up wrong or incomplete, leads either never reach GA4 and the ad platforms or arrive without a source.
This is especially costly because the ad platforms optimise on this data. The algorithm can't learn from what never arrives.
4. A B2B calculation example
A simplified example with made-up numbers: a company spends CHF 6,000 a month on each of two channels.
| Channel A | Channel B | |
|---|---|---|
| Media spend | CHF 6,000 | CHF 6,000 |
| Leads according to tracking | 60 | 20 |
| Cost per lead according to tracking | CHF 100 | CHF 300 |
| Of which double-counted or tests | 20 | 0 |
| Missing leads (consent, phone) | 0 | 10 |
| Real leads | 40 | 30 |
| Real cost per lead | CHF 150 | CHF 200 |
Example figures for illustration
According to tracking, channel A is three times cheaper. The obvious move would be to shift budget from B to A. In reality the two are much closer. And if channel B's leads turn into customers more often, B may even be the better channel. The wrong number would have led to exactly the wrong decision.
5. From cost per lead to customer acquisition cost
Even a cleanly measured cost per lead only shows part of the picture. A filled-in form isn't a customer yet. In B2B, what counts in the end is qualified leads and the customers they turn into.
That's why the next step pays off:
- Cost per qualified lead: Only leads your sales team rates as relevant count.
- Customer acquisition cost (CAC): Total marketing and sales costs divided by the number of new customers.
- Calculating ROAS: Revenue from campaigns divided by ad spend.
All three need your tracking connected to your CRM. Only then can you see which channel brings good leads, not just lots of them. Lead quality becomes something you can measure instead of a gut feeling.
A wrong cost per lead costs more than a high one
You can see a high cost per lead and do something about it. A wrong one goes unnoticed and still pushes your budget in the wrong direction. So it's worth checking the number now and then: Which costs are included? Are leads counted twice? And where do leads get lost?
Want to know if your numbers are right? In our free GA4 tracking review we check whether your leads are counted correctly. Or book a short call and we'll go through your numbers together.
Read more: Why you lose money without proper UTM parameter systems and Minimize data loss from your consent banner
FAQ
How do I calculate cost per lead? Divide the costs of a channel or campaign by the number of leads in the same period. Decide beforehand whether only media spend counts or agency, tools and staff as well.
What's the difference between cost per lead and customer acquisition cost? Cost per lead shows what an enquiry costs. Customer acquisition cost shows what a new customer costs, and it usually includes sales costs too.
Why is my cost per lead in GA4 wrong? Often because of double-counted forms, test traffic, rejected consent, phone or email leads without attribution, or gaps in server-side tracking.
How do I measure lead quality? Connect tracking and your CRM. Then you can see which leads your sales team qualifies and which become customers, and compare your channels.
Written by
Dashflow Team


