Marketing & growth

Cost per lead (CPL)

Cost per lead (CPL) is what you spend on marketing to get one new lead: a sign-up, enquiry, demo request or booking. It is only useful next to lead quality, because cheap leads that never buy are expensive.

Formula

CPL=Marketing spend in the periodNew leads in the period
Marketing spend
Media cost, plus agency and tool fees if you want a fully loaded figure.
New leads
Unique people or companies who became leads, with duplicates removed.

Try it with your numbers

Change any value and the result updates. Nothing you type leaves your browser.

$
Cost per lead—
Full calculator: Break-even ROAS calculator

Worked example

A clinic spends $12,000 on ads in a month and gets 400 new booking requests. CPL = $12,000 ÷ 400 = $30. If 25% of them book, the cost per new patient is $120.

How to read it

Always pair CPL with lead-to-customer rate: cost per customer = CPL ÷ lead-to-customer rate. That is the number that should decide where the budget goes.

How to calculate CPL in SQL, Power BI and Excel

Copy, rename the tables and columns to match yours, and run. The SQL is written for PostgreSQL and works with small changes in BigQuery, Snowflake or SQL Server.

-- CPL and cost per customer by channel and month
SELECT s.month, s.channel,
       s.spend,
       COUNT(l.lead_id)                               AS leads,
       ROUND(s.spend / NULLIF(COUNT(l.lead_id), 0), 2) AS cpl,
       ROUND(s.spend / NULLIF(COUNT(l.lead_id) FILTER (WHERE l.became_customer), 0), 2) AS cost_per_customer
FROM monthly_spend s
LEFT JOIN leads l
  ON l.channel = s.channel AND date_trunc('month', l.created_at)::date = s.month
GROUP BY s.month, s.channel, s.spend
ORDER BY s.month, s.channel;

Excel: B2 = marketing spend, B3 = new leads (duplicates removed).

Common mistakes

  • Optimising channels on CPL alone. A channel with twice the CPL can bring leads that buy three times as often.
  • Counting the same person twice when they fill in two forms.
  • Mixing lead definitions across channels (newsletter sign-ups vs demo requests).

Questions people ask

What is the difference between CPL and CAC?

CPL is the cost of a lead; CAC is the cost of a paying customer. CAC = CPL ÷ the share of leads that become customers, plus any sales costs.

Should CPL include salaries?

For channel comparisons use media spend only. For budgeting and CAC use the fully loaded cost.

Want CPL measured the same way everywhere?

We define it with your team, build it into your data and dashboards, and keep it right. See Marketing attribution & channel ROI, or start with a two-week Data Health Check.