Cost Per Lead Calculator Formula
Understand the math behind the cost per lead calculator. Each variable explained with a worked example.
Formulas Used
Cost Per Lead
cpl = leads_generated > 0 ? total_marketing_spend / leads_generated : 0Leads Per $1,000 Spent
leads_per_1000 = total_marketing_spend > 0 ? (leads_generated / total_marketing_spend) * 1000 : 0Variables
| Variable | Description | Default |
|---|---|---|
total_marketing_spend | Total Marketing Spend(USD) | 10000 |
leads_generated | Leads Generated | 200 |
How It Works
How to Calculate Cost Per Lead
Formula
Cost Per Lead = Total Marketing Spend / Leads Generated
CPL measures the efficiency of your lead generation efforts. It helps you compare channels: if Google Ads produces leads at $30 each and content marketing produces them at $15, you know where your next dollar of budget should go, assuming lead quality is comparable. Always segment CPL by channel for actionable insights.
Worked Example
A marketing campaign spent $10,000 and generated 200 leads.
total_marketing_spend = 10000leads_generated = 200
- 01CPL = $10,000 / 200 = $50 per lead
- 02Leads Per $1,000 = (200 / $10,000) x $1,000 = 20 leads
Ready to run the numbers?
Open Cost Per Lead Calculator