To calculate cost per lead, divide the total cost of a channel for a period by the number of leads it produced in the same period. Costs include ad spend, agency or specialist fees and tools. Then compare the result with your maximum cost per lead: the margin per customer multiplied by the share of leads that turn into sales. If actual CPL is above that limit, the channel loses money.
A cost per lead on its own says nothing about whether a channel is profitable. A cheap lead that never buys is expensive, and a pricey lead that closes can pay back many times over. This guide shows how to calculate CPL honestly and how to connect it to the unit economics of a customer.
What a lead and cost per lead are
A lead is a potential customer who left contact details or reached out on their own: called, filled in a web form, wrote in a chat or direct message, or booked a consultation. A lead is not yet a buyer. Some inquiries turn out to be spam, some are off target, and some go to a competitor.
Cost per lead, or CPL, is the amount a company spends to get one inquiry. It is used to compare channels and campaigns with each other and to watch whether acquisition is getting more expensive over time.
Agree in advance on what counts as a lead. If one channel counts any phone call and another counts only an inquiry qualified by a salesperson, comparing them is meaningless. Teams usually separate all inquiries from qualified leads: the ones that fit the customer profile and could buy.
How to calculate cost per lead: the formula
The basic formula is simple: CPL = channel costs for a period ÷ number of leads from that channel in the same period. If a month of paid search cost X and produced N inquiries, the cost per lead is X divided by N.
The difficulty is not the division but an honest numerator and denominator. Costs often include only the ad budget, forgetting the fees of specialists and tools and the production of creative. That makes the channel look cheaper than it is. In the denominator, count only leads that came from this channel, and that is impossible without UTM tags, call tracking or at least a “how did you hear about us” question.
Calculate the figure over equal periods and account for seasonality. CPL for a single week swings widely, a month is more telling, and a comparison with the same month last year removes the effect of the season.
- Ad spend: charges in the ad accounts, including any platform taxes.
- Specialist time: a freelancer’s or agency’s fee, or the share of a salary of the person who runs the channel.
- Tools: call tracking, analytics tools, form and landing page builders.
- Creative and content: design, video and ad copy.
Unit economics: which metrics to calculate
Unit economics is the calculation of revenue and costs per unit: one customer or one sale. Below are the core metrics and how they connect to cost per lead.
| Metric | How it is calculated | What it shows |
|---|---|---|
| CPL, cost per lead | Channel costs ÷ number of leads | What one inquiry costs |
| Lead-to-sale conversion | Number of paying customers ÷ number of leads | What share of inquiries become customers |
| CAC, customer acquisition cost | Channel costs ÷ number of new customers, or CPL ÷ lead-to-sale conversion | What one paying customer costs to acquire |
| Average order value | Revenue ÷ number of sales | What a customer pays per purchase |
| Margin per sale | Average order value minus cost of goods and variable costs of the sale | What the company earns on one sale before marketing costs |
| LTV, customer lifetime value | Margin per sale × average number of purchases per customer over their lifetime | How much profit a customer brings over the whole relationship |
| ROMI, return on marketing investment | (Gross profit from the channel minus channel costs) ÷ channel costs | Whether the investment in the channel pays back |
Maximum cost per lead: how much you can pay for an inquiry
The central question of unit economics is how much you can spend to acquire a customer without going into the red. The answer: no more than you earn from that customer. Counting one sale, the maximum CAC equals the margin per sale. If customers buy again and you are willing to wait for payback, LTV becomes the reference point.
From this you get the maximum cost per lead: maximum CPL = margin per customer × lead-to-sale conversion rate. The logic is straightforward. To win one customer you have to pay for several leads, and their combined cost must not exceed what that customer brings in.
In practice you leave headroom, since part of the margin has to cover fixed costs and profit. So the working CPL target sits below the maximum. And if actual CPL is already above the limit, you have three levers: lower CPL (better ads and landing pages), raise the conversion to sale (faster follow-up, stronger sales scripts) or raise the margin per customer (order value, repeat purchases).
How to calculate a channel’s unit economics, step by step
It is convenient to keep the calculation in a spreadsheet by month and by channel.
- Collect the channel costs. Ad spend, specialist fees, tools and creative for the chosen month. Everything the channel could not have run without.
- Count leads by source. Export inquiries for the same month from your CRM with their source. Mark qualified leads separately, leaving out spam, duplicates and off-target inquiries.
- Calculate CPL. Divide costs by the number of leads. Calculate both the cost of any inquiry and the cost of a qualified lead.
- Find the conversion to sale. See how many leads from the channel reached payment. Account for the length of the sales cycle: for long sales, compare leads and payments with a time lag.
- Calculate CAC and margin. Divide costs by the number of new customers. Work out margin per sale: average order value minus cost of goods and variable costs.
- Compare with the limit. If CAC is below the margin per customer (or LTV, with repeat purchases), the channel pays back. If it is above, find which lever is weakest.
Where to get the data for the calculation
Costs are visible in the ad accounts and in bookkeeping, but linking them to leads and sales is harder. The minimum set is UTM tags on every ad link, conversion events in Google Analytics 4, call tracking for phone calls, and a CRM where every deal keeps its source. Then you can export from the CRM how many leads and payments each channel produced.
The next level is multi-touch or end-to-end attribution: a tool that pulls costs from ad accounts, inquiries from the site and calls, and deals and payments from the CRM, and builds a report for each channel and campaign. It saves time, but it does not replace discipline: if salespeople do not update deals in the CRM, the report will be wrong. If you are still choosing the system, see how to choose a CRM.
For an offline business where some customers arrive without an inquiry, add “how did you hear about us” to the front-desk script and a field in the customer record. It is imprecise but a useful source of data.
Why a cheap lead is not always a good deal
Channels are often compared only on the cost of an inquiry, and the one where it is higher gets switched off. That is a mistake. In one channel inquiries may be cheap but rarely buy; in another they may be expensive but come with a high close rate and a larger order. Compare the cost of a customer and the payback, not the cost of an inquiry.
A broad paid social campaign with a one-tap lead form brings many low-cost inquiries, yet a good part of them are people who barely remember leaving their details. Search ads on high-intent queries bring fewer inquiries at a higher price, but those people are already looking for the product. For more on how to split budget across channels, see our marketing strategy guide, and for how the channels differ, SEO vs PPC.
Mistakes when calculating cost per lead
The general principle: cost per lead is a metric for day-to-day control of advertising, while budget decisions should be made on customer acquisition cost and payback. For how the channels work and what role they play in the funnel, read digital marketing for business.
- Only the ad budget in costs. Fees of specialists and tools are left out and the channel looks more profitable than it is.
- Every inquiry counted as a lead. Spam, duplicates and off-target calls understate the cost.
- No source in the CRM. Leads are not tied to a channel, and the calculation becomes guesswork.
- The sales cycle is ignored. In long sales, payments arrive in later months and the channel wrongly looks unprofitable.
- Different periods compared. Seasonality distorts the picture if a peak month is compared with a slow one.
Related services: Full-service marketing, SEO Services, PPC Management.
More on the blog: SEO vs PPC, GEO: getting into AI answers, Build a website with AI.