TapCub is live — analytics, insights and live chat, free on one platform
Glossary

CPC formula: platform CPC vs the CPC your site actually sees

CPC (cost per click) is spend divided by clicks. Why spend divided by sessions is usually higher, a 1,000-click example with 870 sessions, and how to audit the gap.

Xu An Reviewed by Oliver Reed Also called cost per click Last updated Nov 15, 2026 Glossary

Quick answer

CPC (cost per click) is ad spend divided by clicks. Platforms count billed clicks, but your site sees fewer sessions (slow pages, blocked scripts, repeat clicks), so spend ÷ sessions is usually higher than the platform CPC, and that gap is the leak worth checking.

Formula: CPC = spend ÷ clicks (on-site CPC = spend ÷ sessions)

What is CPC?

In online advertising, CPC (cost per click) is what an advertiser pays, on average, for one click on an ad. Google Ads defines average CPC as "the average amount that you've been charged for a click on your ad", calculated by dividing the total cost of your clicks by the total number of clicks. Search ads are usually bought this way, and many social and display platforms report a CPC even when they charge per impression.

The catch is in the word "click". The platform counts clicks on its own servers, at the moment someone taps the ad. Your website counts sessions, which start only when the landing page loads and your analytics script runs. The two are never equal, and the number that matters for your budget is the one you can see on your own site. That is why it pays to calculate two CPCs, not one:

  • Platform CPC = spend ÷ clicks the ad platform billed.
  • On-site CPC = spend ÷ sessions your analytics recorded from that campaign.

On-site CPC is almost always the higher of the two. The gap between them is the share of paid clicks that never became a measurable visit, and it is worth investigating before you touch a bid.

The CPC formula

CPC = spend ÷ clicks

You will meet several related numbers, and they are easy to mix up:

TermFormula or meaningWhere you see it
Average CPCTotal cost of clicks ÷ clicksAd platform report
Max CPCThe most you are willing to pay for one click (your bid cap)Bid settings
Actual CPCWhat one click really cost after the auctionAd platform, per click
On-site CPCSpend ÷ sessions from the campaignYour own analytics
CPC from CPMCPM ÷ (1,000 × CTR)Impression-bought channels

Max CPC is a ceiling, not a price. Average CPC is what you pay; on-site CPC is what each visit you can actually measure cost you. The last row lets you compare a channel bought on CPM with one bought per click: a $4.00 CPM with a 0.67% click-through rate is about $0.60 per click. The CPC calculator and the CTR calculator do these conversions for you.

Platform CPC vs on-site CPC

Platform CPCOn-site CPC
DenominatorBilled clicksSessions that reached your site and loaded the analytics script
Counted byThe ad platformYour analytics tool
Filtered outInvalid clicks: Google Ads says "you won't be charged for invalid clicks or impressions"Visitors who left before the page loaded, blocked scripts, bot sessions (if your tool separates them)
Several clicks in one visitEach click countsUsually one session
Use it forComparing bids and keywords inside the platformComparing channels and judging what a real visit costs

Neither number is "wrong". They measure two different steps of the same journey, and the difference between them tells you how much paid traffic leaks out between the ad and the landing page.

Worked example: 1,000 clicks, 870 sessions

Sample data: the paid search campaign from the CPM example. One month, $800 spend, 1,000 billed clicks according to the ad platform, 870 sessions tagged with that campaign in the store's own analytics.

CalculationResult
Platform CPC$800 ÷ 1,000 clicks$0.80
On-site CPC$800 ÷ 870 sessions$0.92
Clicks without a session1,000 − 870130 (13%)
Premium paid per real visit$0.92 ÷ $0.80 − 115%

The paid social channel in the same dataset leaks more: $2,400 for 4,000 clicks is $0.60 platform CPC, but 3,320 sessions make on-site CPC $0.72, with 680 clicks (17%) missing and a 20% premium per visit.

Where did the 130 search clicks go? A sample breakdown of the kind of audit worth running:

CauseSample countHow to check
Left before the landing page and script loaded55Landing-page load time on mobile; compare gap by device
Script blocked by a browser extension40Gap is larger on desktop browsers popular with blockers
Second click on the same ad within one visit25Clicks per session in the platform's own report
Redirect dropped the tracking parameters, or the URL was broken10Open the final URL of every ad; look for a 404 or a redirect that strips ?
Total13055 + 40 + 25 + 10

Only the last two causes are outright mistakes you can fix in an afternoon, but the first is the most expensive: every visitor who gave up on a slow page was paid for. If the gap suddenly widens from 13% to 25% after a site release, look at the landing page before you look at the auction.

This is the core point: platform CPC tells you what the platform charged, on-site CPC tells you what a measurable visit cost, and the difference between them is a leak to investigate, not a rounding error.

What drives CPC

CPC is set in an auction, so the price you pay depends on who else wants the same click.

  • Competition for the keyword or audience. More advertisers bidding on the same query push prices up. Brand terms are usually cheap; generic, high-intent terms are expensive.
  • Ad quality. Google Ads shows a Quality Score from 1 to 10 per keyword, built from expected click-through rate, ad relevance and landing page experience. Google is explicit that Quality Score "is not an input in the ad auction"; it is a diagnostic that points at what to improve. Google's Ad Rank page still lists ad and landing-page quality among the auction factors and notes that higher quality ads can often lead to lower CPCs.
  • Device, location and time. The same keyword can cost more on mobile, in big cities or during business hours.
  • Bid strategy. Automated strategies that chase conversions will pay more per click when they expect a click to convert. A rising CPC alongside a falling CPA can be a good trade.

Common CPC mistakes

  • Using platform CPC to compare channels. Each platform counts clicks its own way. Divide every channel's spend by sessions in one analytics tool before ranking them.
  • Lowering bids to fix a high on-site CPC. If the gap between platform and on-site CPC is the problem, a lower bid buys the same leak more cheaply. Fix the landing page and tagging first.
  • Ignoring bots. Automated clicks that slip past the platform's filters can create sessions that never buy. If your analytics counts them as people, on-site CPC looks better than it is and conversion rate looks worse.
  • Losing the campaign tag. Without UTM parameters or a click ID on the landing URL, paid sessions fall into organic or direct, so on-site CPC looks terrible and organic search looks better than it is. See paid search.
  • Optimising CPC instead of profit. A cheap click that never converts is expensive. Read CPC next to cost per acquisition and ROAS.

Finding the click gap in TapCub

The example above, platform $0.80 against site $0.92, is the comparison TapCub is built to show. TapCub does not buy ads, and its cost per click is always spend divided by sessions, so the platform CPC stays in your ad account; TapCub supplies the on-site side.

  1. Import the spend. In All-platform analytics › Business › Channel ROI, use the Costs tab to add spend per day, channel, source and campaign, one row at a time or as a CSV.
  2. Read on-site CPC. On the ROI tab, cost per click is spend divided by sessions, by channel, source or campaign. For the sample search campaign it shows $0.92. Put it next to the platform's average CPC for the same dates; the difference is your leak.
  3. Check the paid sessions are labelled. In Web analytics › Sources, visits carrying gclid, msclkid, wbraid, gbraid, yclid or bd_vid are classed as paid search even without UTM parameters, and ad click IDs have their own table that stores only the type and a hash. See how TapCub tracks ad click IDs.
  4. Keep bots out of the denominator. Bots and AI crawlers are counted separately in Web analytics › Bots, so automated traffic does not inflate the session count that cost per click is divided by.

Two limits to state plainly: some ad blockers block analytics scripts, including TapCub, and TapCub does not try to get around them (details); and TapCub does not adjust bids. It shows where clicks go missing so you can decide what to fix.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Xu An

Customer Experience Consultant

Writes about live chat, visitor conversations, and self-service, sharing practical ways to make customer communication clearer and more effective.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do you calculate CPC?

Divide ad spend by the number of clicks. $800 for 1,000 clicks is a CPC of $0.80. To see what a measurable visit cost, divide the same spend by sessions in your analytics instead: $800 ÷ 870 sessions = $0.92. Both are correct; they measure different steps of the same journey.

Why are there fewer sessions than ad clicks?

Clicks are counted when someone taps the ad; sessions start only when the landing page loads and the analytics script runs. Visitors who leave a slow page, browsers that block scripts, repeat clicks in one visit and redirects that drop the tracking parameters all create clicks without sessions.

What is the difference between max CPC and average CPC?

Max CPC is your bid: the most you are willing to pay for one click. Average CPC is what you were actually charged, total cost of clicks divided by clicks, and is usually at or below the max. Google notes exceptions, such as Hotel Ads, where the average can exceed max CPC.

Is Quality Score part of the CPC auction?

Google says Quality Score is a diagnostic tool from 1 to 10 and not an input in the ad auction. The auction uses Ad Rank, which includes your bid, ad and landing page quality, competition and search context, and Google notes that higher quality ads can often lead to lower CPCs.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics