CPC calculator: cost per click formula

Cost per click (CPC) = total ad spend ÷ number of clicks. $500 spent on 2,000 clicks is a CPC of $0.25.

The calculator below also gives CPM, CTR, conversion rate and CPA from the same four numbers, because they explain why a CPC moves.

Updated Sources last verified

Inputs

$

Total spent over the period.

How many times the ad was shown.

Optional. Adds conversion rate and CPA.

Results

Click performance
$0.25 per click

A 2.00% CTR at $5.00 CPM, converting at 5.00%.

CPC (cost per click)
$0.25
CPM (cost per 1,000 impr.)
$5.00
CTR (click-through rate)
2.00%
CVR (conversion rate)
5.00%
Conversions ÷ clicks.
CPA (cost per acquisition)
$5.00
Spend ÷ conversions.

You do not need this page for the basic math. With ad spend in A2 and clicks in B2, =A2/B2 in a spreadsheet is your CPC. The calculator earns its place when you want CPM and CTR beside it.

The cost per click formula

CPC = total ad spend ÷ number of clicks

Cost per click is what you paid, divided by how many clicks that bought. Google describes its Avg. CPC column the same way: “dividing the total cost of your clicks by the total number of clicks”. Meta divides amount spent by link clicks. Take spend and clicks from the same dates, from the same account and the same campaigns.

Solve for the clicks a budget buys

Clicks = ad spend ÷ CPC

$500 at a $0.25 CPC buys $500 ÷ $0.25 = 2,000 clicks. At $0.50 it buys 1,000.

Solve for the budget a click goal needs

Ad spend = CPC × clicks

2,000 clicks at $0.25 each cost $0.25 × 2,000 = $500.

How to calculate CPC

These steps use the calculator's starting numbers: $500 of ad spend, 100,000 impressions, 2,000 clicks and 100 conversions.

  1. 1. Get total ad spend for the period: $500.
  2. 2. Get the clicks for the same dates: 2,000.
  3. 3. Divide spend by clicks: $500 ÷ 2,000 = $0.25.
  4. 4. Check it by multiplying back: $0.25 × 2,000 = $500.

The same four numbers give the rest of the calculator's output: CPM is $500 ÷ 100,000 × 1,000 = $5.00, CTR is 2,000 ÷ 100,000 = 2.00%, conversion rate is 100 ÷ 2,000 = 5.00%, and CPA is $500 ÷ 100 = $5.00.

How CPC, CPM and CTR relate

CPC = CPM ÷ (CTR × 10), with CTR as a percent

CPM is the price of 1,000 impressions. CTR is the share of impressions that get a click, so 1,000 impressions bring CTR × 10 clicks when CTR is written as a percent. Divide the price of the 1,000 impressions by the clicks they bring and you have CPC. On the example, $5 ÷ (2 × 10) = $0.25. A $10 CPM at a 2% CTR is $10 ÷ 20 = $0.50 a click.

Same $500 and 100,000 impressions, different clicks. Highlighted row is the calculator default.
ClicksCTRCPMCPC
1,0001.00%$5.00$0.50
2,0002.00%$5.00$0.25
4,0004.00%$5.00$0.125

That is why a rising CPC has two possible causes. If CPM climbs, you are paying more for each 1,000 impressions. If CTR falls, the same impressions are turning into fewer clicks. Look at both before you change anything. For the bidding side of the same split, see CPC vs CPM, and for each metric alone use the CPM calculator and the CTR calculator.

Average CPC vs max CPC on Google Search

Two different numbers both get called “your CPC”. Your max CPC is a bid: the most you are willing to pay for one click. Your average CPC is the formula above, total cost ÷ total clicks, shown in the Avg. CPC column.

The two are often not the same, and the average is often lower. Google says you are often charged less than your max CPC because in its auction you only pay what is minimally required to clear the Ad Rank thresholds and beat the advertiser immediately below you. If nobody else clears the thresholds, you pay the reserve price.

Take Google's own example. Two clicks cost $0.20 and $0.40, a total of $0.60, so the average CPC is $0.60 ÷ 2 = $0.30. Suppose that ad had a $2 max CPC (our assumption, not part of Google's example). No click was near the cap. If you bid manually, set your max CPC for the worst click you can accept, not the CPC you expect to pay.

The cap is not absolute. Google's max CPC page lists manual bidding for Search Partners and bid adjustments as features that can push a click above your max CPC. It also lists Enhanced CPC, but Google's Enhanced CPC page says that feature ended for Search and Display campaigns the week of March 31, 2025. Clicks above search results also tend to cost more than clicks below them, even with no advertiser right below you.

CPC (all) vs cost per link click on Meta

Meta reports two CPCs, and they divide by different click counts. CPC (all) is amount spent ÷ clicks (all). CPC (cost per link click) is amount spent ÷ link clicks.

Meta says clicks (all) include link clicks as well as clicks on other parts of the ad: post likes, comments or shares, clicks to a Page or Instagram profile, and clicks to expand a photo or video. Meta also notes that your reports may show more clicks (all) than link clicks.

Same $500, same ad. The 600 non-link clicks are an assumption for illustration.
MetricClicks countedCalculationResult
CPC (cost per link click)2,000 link clicks$500 ÷ 2,000$0.25
CPC (all)2,600 clicks (all)$500 ÷ 2,600$0.19

The ad did not get cheaper. CPC (all) is lower only because it counts more clicks, and some of those clicks, such as likes and profile taps, do not go to a destination. If your goal is visits to your site, the cost per link click is the closer number. Compare like with like: do not set a CPC (all) from one report beside a cost per link click from another.

What CPC can you afford?

Most you can pay per click = target CPA × conversion rate

A CPC is only good or bad against what a click is worth to you. Say you can pay $10 for a customer and 5% of your clicks convert. Then you can pay up to $10 × 0.05 = $0.50 a click. The $0.25 example gives a CPA of $0.25 ÷ 0.05 = $5, so it clears the bar with room to spare. At a 2.5% conversion rate the same $0.25 click costs $10 per customer, which is the limit.

We found no Google or Meta source that publishes a benchmark CPC, so this page does not give one. Work from your own conversion rate and your own margin. The CPA calculator turns spend and conversions into a cost per customer, and the ROAS calculator sets the break-even from your margin.

CPC questions

What is the CPC formula?

CPC = total ad spend ÷ number of clicks. $500 spent on 2,000 clicks is $500 ÷ 2,000 = $0.25 per click. Use the spend and the clicks from the same dates.

How do you calculate CPC from CPM and CTR?

CPC = CPM ÷ (CTR × 10), with CTR as a percent. Each 1,000 impressions bring CTR × 10 clicks, and you pay the CPM for them. At a $5 CPM and a 2% CTR that is $5 ÷ 20 = $0.25 a click. A $10 CPM at a 2% CTR is $10 ÷ 20 = $0.50 a click. Double the CTR at the same CPM and the CPC halves.

What is the difference between average CPC and max CPC in Google Ads?

Max CPC is the most you are willing to pay for one click. Average CPC is your total cost divided by your total clicks. Google says you are often charged less than your max, because you pay only what is needed to clear the Ad Rank thresholds and beat the advertiser just below you. With a $2 max CPC and two clicks that cost $0.20 and $0.40, your average CPC is $0.60 ÷ 2 = $0.30. Manual bidding for Search Partners and bid adjustments can push a click above your max, according to Google.

What is the difference between CPC (all) and CPC (cost per link click) on Meta?

Both are amount spent divided by a click count. CPC (all) divides by clicks (all), which include link clicks plus likes, comments, shares, Page or profile clicks and clicks to expand a photo or video. CPC (cost per link click) divides by link clicks only. Because clicks (all) include link clicks, the count is the same or larger, so CPC (all) is the same or lower. $500 over 2,000 link clicks is $0.25 per link click. If another 600 clicks were reactions and profile taps, CPC (all) would be $500 ÷ 2,600 = $0.19.

What is a good CPC?

A good CPC is one at or below the most you can afford to pay for a click, which is your target cost per customer × your conversion rate. At a $10 target CPA and a 5% conversion rate, that is $10 × 0.05 = $0.50 a click, so the $0.25 example clears it. We found no Google or Meta source that publishes a benchmark CPC, so this page prints none.

How do you calculate CPC in Excel or Google Sheets?

Put ad spend in A2 and clicks in B2, then type =A2/B2 in C2 and format the cell as currency. To stop a divide-by-zero error on a day with no clicks, use =IFERROR(A2/B2,0).

Sources

Every page below was accessed on . The formulas and worked examples on this page are arithmetic and need no source.

  • Google Ads Help

    Average cost-per-click (Avg. CPC): Definition

    Avg. CPC is calculated by “dividing the total cost of your clicks by the total number of clicks.” Its example: clicks of $0.20 and $0.40 give $0.30.

    Accessed 2026-10-29.

  • Google Ads Help

    Actual cost-per-click (CPC): Definition

    You are “often charged less” than your max. CPC, because “you only pay what's minimally required” to clear the Ad Rank thresholds and beat the advertiser below you. Its page says actual CPC may exceed max. CPC with Enhanced CPC or a bid adjustment, but Enhanced CPC has since ended for Search (see the Enhanced CPC page below).

    Accessed 2026-10-29.

  • Google Ads Help

    Maximum CPC bid: Definition

    “you'll never pay more than $2 for each click” on a $2 max. CPC, except with Enhanced CPC, manual bidding for Search Partners or bid adjustments.

    Accessed 2026-10-29.

  • Google Ads Help

    About Enhanced CPC (ECPC)

    “Effective the week of March 31, 2025 Enhanced CPC (ECPC) is no longer available for Search and Display campaigns.”

    Accessed 2026-10-29.

  • Meta Business Help Center

    Cost per click (all)

    “calculated as the total amount spent divided by clicks (all).”

    Accessed 2026-10-29.

  • Meta Business Help Center

    CPC (Cost per Link Click)

    “calculated as amount spent divided by link clicks.”

    Accessed 2026-10-29.

  • Meta Business Help Center

    Know the difference between “Clicks (all)” and “Link clicks”

    Clicks (all) include link clicks, post likes, comments or shares, Page or profile clicks, and clicks to expand media.

    Accessed 2026-10-29.

What we could not confirm

  • A benchmark CPC. We found no Google or Meta help page or report that publishes an average CPC by industry, and the third-party tables we found did not give a sample we could check, so we print none.
  • Which CPC column Meta Ads Manager shows by default in your account. Meta's pages define both metrics but not the default columns, so check your own column setup.
  • Whether the $0.19 CPC (all) example matches your account. The 600 non-link clicks are an assumption for illustration, not a Meta figure.
  • Why Google's Max CPC page says you will never pay more than your max while its Actual CPC page says you may. Both still list Enhanced CPC, which Google says ended for Search in March 2025, so we state the exceptions that remain (bid adjustments, and manual bidding for Search Partners per the Max CPC page).

Running ads on Google or Meta?

AdFlint builds and runs Google Ads (Search campaigns) and Meta campaigns inside ad accounts you own. On self-serve plans, nothing goes live until you click Launch or turn on Full Autopilot, and spend stops at the budget cap you set. Self-serve plans start at $40/mo, with a 7-day free trial on monthly plans (card required).