What CPC measures
CPC is the price of one visit from an ad. Search ads are usually billed per click, so CPC is what you bid on. Ads billed per impression have a CPC too, worked out after the fact from spend and clicks.
CPC only becomes meaningful next to what a click is worth. A $4 click is cheap if one in twenty clickers buys a $200 plan, and a $0.20 click is expensive if nobody ever buys. That is why CPC belongs next to conversion rate and revenue per visitor.
CPC formula
CPC = ad spend ÷ clicks
It is linked to CPM and click-through rate: CPC = CPM ÷ (CTR × 1,000). The most you can afford to pay for a click is what an average click earns you:
Max CPC = revenue per click × gross margin
Worked example
A Google Ads campaign spends $900 in a month and gets 1,200 clicks. CPC = $900 ÷ 1,200 = $0.75.
Those clicks produce 18 paying customers and $2,700 of revenue, so each click earned $2,700 ÷ 1,200 = $2.25. With a 70% gross margin, a click is worth $2.25 × 0.70 ≈ $1.58 of gross profit. You pay $0.75, so there is room to bid higher for more volume, up to about $1.58 before the campaign stops paying for itself on the first sale.
How to measure CPC
Spend and clicks come from the ad platform. Use the click count that sends people to your site: on Meta that is link clicks, not "clicks (all)", which include likes and profile taps. The CPC calculator does the math.
The value of a click has to come from your own data. Tag ads with UTM parameters, connect your payment provider, and divide each campaign's revenue by its clicks.
Common CPC mistakes
- Minimizing CPC. The cheapest clicks often come from the least interested people. Optimize for cost per customer, not cost per click.
- Using all clicks. Clicks that never reach your site make CPC look lower than the real cost of a visit.
- Expecting clicks to equal visits. Some clicks never load the page. Your analytics will count fewer visits than the platform counts clicks.
- Comparing CPC across networks. A search click from someone typing your category and a feed click from someone scrolling are not the same visitor.
How MetricRaven handles CPC
With Meta Ads or Google Ads connected, MetricRaven imports spend and link clicks per campaign, ad group and ad. The Reports API returns cost per link click (spend ÷ link clicks), and the Paid acquisition table shows link clicks next to revenue, ROAS and cost per customer, the number that tells you whether the clicks are worth their price.
Visits with utm_medium such as cpc, ppc or paid, or with an ad click ID, go to the Paid channel, so you can see visitors and revenue per campaign on any network. See Google Ads and Meta Ads.
Questions
- How do you calculate cost per click?
- Divide ad spend by the number of clicks. $250 of spend and 500 clicks is a CPC of $0.50.
- What is a good CPC?
- Any CPC below what a click earns you. Multiply revenue per click by your gross margin; if the result is higher than your CPC, the clicks pay for themselves.
- What is the difference between CPC and CPM?
- CPC is the cost of one click; CPM is the cost of 1,000 impressions. CPC = CPM ÷ (CTR × 1,000), so a higher click-through rate lowers CPC at the same CPM.