Tools · Free, instant, no signup

CPC calculator

Cost per click from spend and clicks — or from CPM and CTR when that is all you have.

Weighted CPC

Total spend ÷ total clicks.

Derive CPC from an impression buy

Runs entirely in your browser — nothing is uploaded, nothing is stored. Updated 2026-09-05.

CPC is ad spend divided by clicks. $4,200 across 1,310 clicks is a cost per click of $3.21.

There is a second route to the same number that most calculators skip, and it is the useful one when you are buying on impressions: CPC equals CPM divided by 1,000, divided by CTR. That relationship is why a creative change that lifts click-through rate lowers your cost per click without anyone touching a bid. Both routes are below — a row per campaign for the direct calculation, and a panel that derives CPC from an impression buy.

CPC = ad spend ÷ clicks

Average CPC hides the auction

Your reported cost per click is the mean of a distribution, and in search that distribution is usually skewed hard. A handful of high-intent terms can absorb several times the average while a long tail of cheap, near-worthless clicks pulls the mean down and makes the account look efficient.

Segment before you conclude anything: by match type, by device, by search term. An account average that has been stable for six months can be hiding a doubling of cost on the terms that actually convert.

Lowering CPC is not the same as improving performance

Cost per click is an input, not an outcome. It falls when you buy cheaper traffic, which is trivially easy and usually a mistake — broad match, low-intent placements and cheap geographies all reduce CPC while raising cost per acquisition.

Judge a CPC change by what happened to cost per acquisition alongside it. A rising CPC with a falling CPA is a good trade.

The two levers that genuinely move it

On search, quality score: a higher expected click-through rate wins the same ad rank at a lower price, which is the mechanism behind most durable CPC reductions. On impression-bought inventory, creative: the derivation above shows that at a fixed CPM, cost per click moves inversely with click-through rate.

Bid changes move CPC too, but they move volume and position with it, so they are a repricing rather than an improvement.

Computing this from your own accounts

Every calculator on this page takes numbers you typed. The version that keeps working is the one that reads them from the accounts themselves — which is what TableBI is: connect Google Ads, Meta Ads, GA4 or Search Console once, and cpc() becomes a macro you can query from your terminal.

terminal
# connect once, then the metric is a standing query
tablebi connect google_ads
tablebi connect meta_ads   # beta: your own or test ad accounts

tablebi ask "WITH w AS (SELECT MAX(date) AS anchor FROM metrics)
   SELECT platform, cpc(SUM(cost), SUM(clicks)) AS cpc
   FROM metrics, w WHERE date > w.anchor - 30
   GROUP BY platform ORDER BY cpc DESC"

# pin the answer to a URL that refreshes itself
tablebi pin --title "CPC calculator by channel"
→ https://you.tablebi.com/d/dsh_…

The pinned answer is a live URL that refreshes on its own — here is one running now. No hosted model does the reasoning; your own Claude Code or Codex drives the CLI, which is why there is no inference bill attached to it.

Questions people ask about cpc calculators

How do I calculate CPC?

Divide total ad spend by total clicks. $4,200 spent for 1,310 clicks gives a cost per click of $3.21.

How do I calculate CPC from CPM and CTR?

Divide the CPM by 1,000 to get cost per impression, then divide by the click-through rate as a decimal. A $6.90 CPM at a 0.67% CTR gives ($6.90 ÷ 1000) ÷ 0.0067 = $1.03 per click.

Why did my CPC go down while performance got worse?

Because cost per click falls when you buy cheaper traffic. Broad match, low-intent placements and cheaper geographies all lower CPC while raising cost per acquisition. Read a CPC change alongside CPA before calling it an improvement.

What is a good CPC?

There is no portable figure — cost per click ranges from a few cents on display to over fifty dollars in legal and insurance search. The number that matters is whether your CPC times your clicks-per-acquisition stays under the CPA your margin can absorb.

All of them are listed on the free marketing calculators page.