Clearer numbers. Better SEO decisions.Independent tools. Open methodology.

Methodology

Cost per lead formula: how to calculate what each lead costs

Cost per lead is marketing spend divided by leads generated. This page shows the formula, what each number means, and a worked example from 200 organic leads a month.

Cost per lead formula: how to calculate what each lead costs — planning illustration

Cost per lead (CPL) is what one lead costs: total marketing spend divided by the number of leads that spend generated. If $5,600 of SEO work brings in 200 leads a month, the CPL is $28. The formula is simple division. The work is knowing what a lead is worth — because a $28 lead is cheap only if it is worth more than $28.

Run your own numbers first: the SEO Lead Value Calculator takes your monthly organic leads, close rate and customer value, and works out what each lead is worth — the ceiling your CPL has to beat.

The cost per lead formula

Cost per lead = marketing spend ÷ leads generated

Marketing spend is what you paid to generate the leads in the period you are measuring, and leads are the enquiries, form fills or calls that meet your lead definition in the same period. Both numbers come from the same channel and the same date range — a spend figure from one month divided by leads from another is not a CPL. Divide the first by the second and the result is the average cost of one lead.

The same formula rearranges two useful ways. To find how many leads a budget buys, divide the budget by the rate: leads = marketing spend ÷ CPL. To find what a lead target costs, multiply the leads by the rate: marketing spend = leads × CPL. Every SEOMathLab calculator that prices leads uses one of these three forms, and nothing else, to move between spend, leads and rates.

A worked micro-example makes the arithmetic concrete. A campaign spends $2,800 and generates 200 leads: $2,800 ÷ 200 = $14 CPL. The same 200 leads from $11,200 of spend cost $56 each; from $28,000 they cost $140 each. The leads are identical in all three cases — only the spend changed — which is the whole point of watching CPL: the lead count is fixed, and the rate decides what each one cost you.

What each variable means

VariableWhat it isWhere it comes from
Marketing spendWhat you paid to generate the leads in the periodSEO retainer, content and tools for the channel measured
Leads generatedEnquiries that meet your lead definition in the same periodCRM or analytics, same channel and dates as the spend
CPLAverage cost of one leadCalculated, never measured directly

Three measurement notes matter before you trust the numbers. First, the lead definition decides everything. A raw form fill, a qualified enquiry and a booked call are three different things, and a CPL measured on one cannot be compared with a CPL measured on another. Fix the definition before you compare channels or months. Second, the spend in the formula is the spend that produced those leads. Agency fees, content costs and tools sit inside it if they produced the leads; spend on other channels does not. Third, CPL is a blended average. Branded searches and high-intent pages produce cheap leads, competitive non-branded keywords produce expensive ones, and the average blends them. A single CPL for a whole channel hides that spread, so measure per campaign or per keyword group when the number drives a decision.

Worked example: 200 organic leads a month

Take a B2B software company generating 200 organic leads a month, closing 8% of them, at $5,000 of customer value and a 70% gross margin — the defaults in the SEO Lead Value Calculator. Those 200 leads become 16 customers a month, $80,000 of revenue, and $56,000 a month of gross profit, or $672,000 a year. Divide the monthly gross profit by the leads and each lead is worth $280. A three-month sales cycle means $168,000 of pipeline is sitting in flight at any time.

Now put a cost beside that value. If the SEO behind those leads costs $5,600 a month, the CPL is $5,600 ÷ 200 = $28. Each $28 lead returns $280 of gross profit — ten times its cost, a 900% return on lead cost. The breakeven is a CPL of $280: at $56,000 a month of spend for the same 200 leads, every dollar of gross profit would go to paying for the leads and none would be left over.

The value per lead is sensitive to the funnel behind it, and the sensitivity table shows which input matters most. Halve the close rate from 8% to 4% and the value per lead halves to $140 — the maximum affordable CPL halves with it. Halve the customer value from $5,000 to $2,500 and the value per lead also halves to $140. Cut the margin from 70% to 50% and the value per lead falls to $200. A CPL that looks cheap against a $280 lead can be expensive against a $140 one, so judge CPL against your own value per lead, never against another company's CPL.

CPL also connects directly to cost per acquisition. Cost per acquisition is CPL divided by the close rate: at a $28 CPL and an 8% close rate, each customer costs $28 ÷ 8% = $350. CPL tells you what leads cost; cost per acquisition tells you what customers cost. Both matter, and confusing them understates the real cost of growth by the close rate.

The reverse calculation: from CPL target to budget

The formula runs backwards to size a budget before you spend it. Want 400 leads a month at a $28 CPL? The budget is 400 × $28 = $11,200 a month. Have $5,600 to spend and want a $14 CPL? You need $5,600 ÷ $14 = 400 leads. And if the budget is fixed at $5,600 and the CPL rises from $28 to $56, the leads fall from 200 to 100 — half the pipeline gone with no change in spend.

This reverse form is also how you sanity-check a CPL promise. An agency promises 200 leads a month for $2,800: $2,800 ÷ 200 = $14 CPL. At an 8% close rate that is 16 customers for $2,800, or $175 per customer. That is plausible only if the leads are real, defined the same way you define them, and close at your rate. The formula does not care who quoted the numbers; it only divides them.

How SEOMathLab uses the cost per lead formula

Three calculators use CPL and its neighbours directly. The SEO Lead Value Calculator works out the value side: value per lead, monthly and annual gross profit, and pipeline in flight — the ceiling your CPL has to beat. A CPL below the value per lead profits; a CPL above it loses money on every lead. The SEO vs PPC Crossover Calculator prices the paid equivalent: at a $3.00 CPC and a 3% conversion rate, each customer costs $3.00 ÷ 3% = $100, the same shape as CPL divided by close rate. The Local Service Lead Forecast Calculator runs the funnel the other way, from searches through visibility, CTR and call-through to booked jobs, so a cost per job is the same division applied one step further down the funnel.

Two conventions apply everywhere. First, CPL is used to price leads — what they cost to generate — never as revenue. A lead is worth its value per lead only if it closes at your rate, which is why the lead value calculator asks for close rate, customer value and margin rather than quoting a CPL on its own. Second, every spend and lead count on the site is an input you can override. CPLs vary enormously by industry, intent and lead definition, so use the figures for your own funnel, from your own CRM, not a sitewide average. The formula stays the same; only the inputs change.

What the formula does not tell you

CPL measures the cost of a lead, not its quality. A $14 lead that never closes costs more than a $140 lead that becomes a $5,000 customer — the cheap lead wastes the sales time spent on it, and the expensive one pays for itself ten times over. CPL alone cannot tell you which one you bought; pair it with close rate, customer value and margin before calling a CPL good or bad.

CPL also ignores the sales cycle and lifetime value. The worked example has $168,000 of pipeline sitting inside a three-month cycle, and a customer worth $5,000 once is worth far less than one who renews. A CPL that looks expensive against one sale can be cheap against a customer who stays for years. And CPL is an average over a period: lead costs move with competition, seasonality and keyword mix, so a CPL from last quarter is a planning input, not a price you can lock in. Use your own recent figures, measure per channel, and judge a CPL by the profit per lead behind it.

What is a good cost per lead?

There is no single good CPL, because CPL depends first on the industry, the lead definition and what a lead is worth. A $28 CPL is cheap for a lead worth $280 and ruinous for one worth $20. The test is CPL against value per lead: if the value per lead is above the CPL, the lead pays; if it is below, it does not. Judge a CPL against what a lead is worth to you, never against another company's CPL.

How is cost per lead different from cost per acquisition?

CPL is the cost of one lead; cost per acquisition (CPA) is the cost of one converted customer, and it is CPL divided by the close rate. At a $28 CPL and an 8% close rate, CPA is $28 ÷ 8% = $350 per customer. CPL tells you what leads cost; CPA tells you what customers cost. Both matter, and confusing them understates the real cost of growth by the close rate.

Should I count all marketing spend in CPL?

Only the spend attributable to the leads you are measuring, in the same period. Include the retainer, content and tools that produced those leads; do not include spend on other channels, and do not divide this month's spend by last month's leads. A CPL that mixes channels or periods is not a CPL — it is a blended number that hides which channel is actually working.

Why is my CPL rising?

Check the spend and the leads separately, because a rising CPL can mean spend grew, leads fell, or both. Common causes are more competition for the same keywords, a keyword mix shifting toward expensive terms, a landing page converting worse than it did, or a narrower lead definition that counts fewer enquiries as leads. Compare like with like — same channel, same definition, same period — before concluding the channel itself got more expensive.

Can I compare CPL across channels?

Only with the same lead definition and close rates. A cheap lead that never closes costs more than an expensive one that does, so a CPL comparison without close rates is a price comparison without quality. Compare value per lead and cost per acquisition alongside CPL, and the channel with the higher CPL is often the cheaper one once the funnel is counted.

Still have a question?Start a discussion ↗More methodology →