Skip to content
  1. Home
  2. Glossary
  3. Cost per action
Spend & efficiency

Cost per action

What one result of your advertising costs — a number that means nothing until someone says which action counts as the result, and that is the part most reports leave out.

Formula
spend / actions
Unit
Currency
Direction
Lower is better
Across periods
Recomputed from totals, never averaged

CPA is ad spend divided by the number of actions that spend bought. The action is your choice: an enquiry, a booked call, a trial, a payment. So CPA is less one metric than a family of them. CPL is CPA where the action is a lead; cost per sale is CPA where the action is a sale.

Even the letter A has two readings: “action” and “acquisition”. Ad platforms use CPA for whatever conversion event a campaign is set to optimise for. Two people who both say “our CPA is €60” can be talking about a form and a payment.

The formula

CPA = spend / actions

Spend €10,000. The same spend, divided by actions at three steps of the funnel:

ActionCountCPA
Lead250€40
Qualified lead50€200
Sale20€500

The spend does not change from row to row; only the denominator does. Each step down the funnel there are fewer actions, so CPA grows. None of the three is “the” CPA. Each is a correct answer to a different question, and a CPA without its action named is not an answer to any.

Which action to count

The closer the action is to money, the more honest the CPA — and the slower and rarer the data.

  • A lead happens often, so you can judge a campaign within days. But a lead is a filled-in form, not interest, and a cheap lead is often a useless one.
  • A sale is what the business needs. But sales are few, and they close weeks after the click, so a campaign judged by cost per sale is judged late and on small numbers.

A workable rule: pick the action closest to revenue that still happens often enough to compare campaigns with each other. For many businesses that is a step in the middle — a qualified lead or a booked meeting. Whatever you pick, use the same action for all channels you compare. A channel optimised for leads and a channel optimised for sales cannot be ranked by one “CPA”.

What it does not show

It does not know what the action is worth. Two sales at a €500 CPA can be a €100 order and a €5,000 contract. CPA counts them as equal. For value, it needs a partner on the revenue side: ROAS or ROMI.

It does not know whether the customer is new. Cost per sale divides spend by all sales, including customers who were already yours and simply bought again. That is why cost per sale is not the cost of winning a customer — see customer acquisition cost.

It does not survive a change in what the platform counts. In an ad platform, CPA is built on the conversion event set for the campaign. Change the event, the attribution setting or the counting rule (“every conversion” against “one per click”), and CPA moves while nothing else did.

It says nothing about scale. CPA is an average over money already spent. The next €10,000 buys more expensive actions than the first, because the cheapest audience is bought first.

How it breaks

Averaging across periods. CPA is a ratio. A quarter’s CPA is recomputed from the quarter’s totals, not averaged from the months:

Right:  Σspend / Σactions
Wrong:  (CPA_jan + CPA_feb + CPA_mar) / 3

Platform conversions in the denominator. The ad platform counts the conversions its own pixel saw, in its own window, and sometimes counts one person twice. The CRM counts deals. A CPA with platform conversions and a CPA with CRM sales are two numbers that only share a name.

Spend and actions from different months. Spend lands on the day of the click; a sale lands weeks later. With a long sales cycle, this month’s spend is divided by sales that older spend produced, and CPA rises during a budget increase and falls during a cut — without any change in efficiency.

Zero actions or zero spend. A campaign with spend and no sales has no CPA. It is not zero and not infinite: it is a campaign that has not produced the action yet, and it needs its own line in the report. Organic traffic has actions and no spend, and CPA there is undefined too.

How KO calculates it

KO has no single metric called CPA, because CPA is a family, not one number. The standard catalogue has its members, each with the action in its name:

Metric in KOFormula
CPL, key crmCplspend / leads
CP QL (label CPT, key crmCpt)spend / target leads
Cost per sale (label CPS, key crmCps)spend / sales

Cost per sale is in the Ad payback and Funnel and bottlenecks templates. For another action, create your own metric in Settings → Metrics: Add metric…, a key, and a formula in Calculation that divides {adCost} by the count you need. Check value calculates it over the last 30 days right in the editor.

All of them are derived: recomputed from summed inputs at every level of a report, never averaged from the level below. Where there are no actions, the result is empty (—), not zero.

Sales in cost per sale are counted by lead date: a lead that came in March and bought in August is a March sale. So the cost per sale of a recent month keeps falling for a while as its leads close. For cost per sale by calendar month, divide by sales by purchase date: {adCost}/{crmPurchases}.

The same idea drives row verdicts. In Breakdown and Entities, and in the “Overspend against the norm” card, KO compares rows by cost per result, where the result is the main goal of the project set in Context: leads, sales, revenue or keeping customers. With no goal set, the result is leads. How the verdict is reached is described in How KO gives a row its verdict.