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 : 0

Leads Per $1,000 Spent

leads_per_1000 = total_marketing_spend > 0 ? (leads_generated / total_marketing_spend) * 1000 : 0

Variables

VariableDescriptionDefault
total_marketing_spendTotal Marketing Spend(USD)10000
leads_generatedLeads Generated200

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
  1. 01CPL = $10,000 / 200 = $50 per lead
  2. 02Leads Per $1,000 = (200 / $10,000) x $1,000 = 20 leads

Frequently Asked Questions

What is a good cost per lead?

It depends heavily on industry and deal size. B2C businesses may target $5-$30 per lead. B2B companies with higher deal values can afford $50-$500+ per lead. The key metric is whether the lead cost is justified by the eventual revenue it produces.

Should I track CPL by channel?

Absolutely. Aggregate CPL hides channel-level insights. Track CPL separately for paid search, social ads, content marketing, email, events, and referrals to optimize budget allocation across channels.

Learn More

Guide

Marketing ROI Guide

Learn how to calculate and improve marketing ROI. Covers ROAS, cost per acquisition, cost per lead, attribution models, and channel-level performance analysis.

Ready to run the numbers?

Open Cost Per Lead Calculator