Free tool
CPC calculator
CPC = ad cost ÷ clicks. Use the CPC formula to work out cost per click, the clicks a budget buys, the highest CPC your margin can pay for, and CPC from CPM and CTR.
Use the cost and clicks for the same ads and dates. Add conversions to see the cost per conversion.
Conversion rate 2%, so each conversion cost 62.50 (CPA).
Get these numbers from your own ad accounts in Claude or ChatGPT
Start free3-day free trial · no card needed
CPC formula: how to calculate cost per click
Cost per click (CPC) is what you paid, on average, for each click on your ads. CPC = ad cost ÷ clicks. Google calculates average CPC "by dividing the total cost of your clicks by the total number of clicks".1 Take the cost and the clicks from the same ads, dates and currency.
Formula: CPC = ad cost ÷ clicks
Worked example
Say an online bag shop spends $750 on ads and gets 600 clicks. $750 ÷ 600 = $1.25 per click. Those clicks brought 12 orders, so 2% of clicks bought something and each order cost $62.50 in ads.
The calculator's CPC mode adds those last two numbers when you enter conversions. Conversion rate is conversions ÷ clicks, and cost per conversion (CPA) is ad cost ÷ conversions. CPA is the number that tells you whether the clicks paid off.
How to calculate CPC in Excel or Google Sheets
Put ad cost in column B and clicks in column C, then enter =B2/C2 in column D. Wrap it as =IFERROR(B2/C2,"") for rows with no clicks yet.
For the CPC of several campaigns together, add up all the cost and all the clicks first, then divide. Averaging each campaign's CPC gives a campaign with 20 clicks the same weight as one with 2,000, and the result is wrong.
Average CPC, max CPC and actual CPC in Google Ads
Google Ads has three CPCs, and they're easy to mix up. Average CPC is the column in your reports: total cost ÷ total clicks, "based on your actual cost-per-click (actual CPC), which is the actual amount you're charged for a click on your ad".1
Max CPC is the bid you set with manual CPC bidding. Google says "your max. CPC is the most you'll typically be charged for a click, but you'll often be charged less - sometimes much less".2 The reason is the auction. "Actual CPC is often less than max. CPC because with the Google Ads auction, you only pay what's minimally required to clear the Ad Rank thresholds and beat the Ad Rank of the competitor immediately below you."3
Setting the max CPC is up to you: Google's help gives no max CPC formula. The Max CPC mode below gives you a ceiling to set it against.
CPC in Meta (Facebook) Ads
Meta reports two costs per click. CPC (all) is "the average cost for each click (all)", and cost per link click is "the average cost of each inline link click".4 Clicks (all) include link clicks and every other kind, so CPC (all) is never higher than the cost per link click. When we compare Meta with Google Search, we'd use the cost per link click, since both then count clicks on a link rather than every tap on the ad.
When you pay per 1,000 impressions, your CPC is a result of the CPM and the click-through rate. CPC = CPM ÷ (10 × CTR%). A $12.50 CPM at a 1% CTR works out to $1.25 per click. The From CPM mode does this sum. The CPM calculator works from the cost of impressions, and the CTR calculator finds the CTR you need for a target CPC.
How many clicks will my budget buy?
Turn the formula around. Clicks = budget ÷ CPC. At $1.25 per click, $750 buys 600 clicks. Add a conversion rate in the Clicks mode and it estimates conversions and the cost of each one: 2% of 600 clicks is 12 orders at $62.50 each.
The other way, budget = clicks wanted × CPC. For 600 clicks at $1.25 you need $750. The ad budget calculator starts from the sales you want instead and gives the daily figure to enter. These are estimates, because the CPC moves with the auction. If a campaign can't spend what you give it, the clicks never arrive. Google Ads not spending explains how to find out why.
What is the highest CPC you can afford?
Most CPC calculators stop at cost ÷ clicks. The more useful number is the most a click can cost before you lose money, and a click is worth what the sales from it leave after costs. Max CPC = order value × margin before ads × conversion rate.
The bag shop sells an $80 bag. After the bag itself, shipping and fees, each sale leaves $32, a 40% margin before ads. With 2% of clicks buying, each click is worth 32 × 0.02 = $0.64. That's the break-even CPC. The shop is paying $1.25, so it loses money on these clicks before any fixed costs. At $1.25 a click it would need a 3.91% conversion rate just to break even.
The fix isn't always a lower bid. Clicks from searches that never buy pull the conversion rate down. Negative keywords cut those, which raises the CPC you can afford. A better landing page does the same. The ROAS calculator works out the same limit as a return on ad spend, if that's how your campaigns bid.
For leads, use what a lead is worth to you: the average value of a customer times the share of leads that become customers, before ad costs.
What is a good CPC?
A good CPC is one below your break-even CPC, with enough room left for overhead and profit. The average CPCs published online disagree with each other by a wide margin, so we wouldn't set a target from one. They tell you little about whether your own clicks pay off.
Compare your CPC with your own max CPC and with your past months instead. When CPC climbs and conversion rate doesn't, every extra cent comes out of profit. Checking cost against results per campaign is part of our Google Ads audit checklist.
CPC vs PPC, CPM and CPA
CPC and PPC describe the same pricing. Google puts it plainly: "CPC pricing is sometimes known as pay-per-click (PPC)."2 CPM is the price of 1,000 impressions, whether or not anyone clicks. CPA is the price of a conversion, and it ties to CPC through the conversion rate: CPA = CPC ÷ conversion rate. At $1.25 per click and 2% conversion, each order costs $62.50. The CPA calculator works out the break-even and target CPA, and turns a CPA back into the CPC you can afford.
CPC calculator FAQ
What is the formula for CPC?
CPC = ad cost ÷ clicks. $750 for 600 clicks is a $1.25 cost per click.
What is the cost per click formula in Google Ads?
Average CPC is the total cost of your clicks divided by the number of clicks. Google bases it on the actual CPC you paid for each click.1
Is CPC the same as PPC?
They describe the same model: you pay when someone clicks. Google says CPC pricing is sometimes known as pay-per-click. A PPC calculator and a CPC calculator do the same sum.2
How do you calculate CPC from CPM and CTR?
Divide the CPM by 10 times the CTR in percent. A $12.50 CPM at a 1% CTR is $12.50 ÷ 10 = $1.25 per click.
How do I calculate my max CPC?
Multiply your order value by your margin before ads and by your conversion rate. An $80 order with a 40% margin and 2% conversion rate breaks even at $0.64 per click.
Is a lower CPC always better?
No. Cheap clicks that never convert cost more per sale than dearer clicks that do. Judge CPC by the cost per conversion it leads to.
Why is my actual CPC lower than my max CPC?
In the Google Ads auction you pay only what's needed to clear the Ad Rank thresholds and beat the ad ranked just below yours, which is often less than your bid.3
Sources
- Average cost-per-click (Avg. CPC): Definition, Google Ads Help.
- Cost-per-click (CPC): Definition, Google Ads Help.
- Actual cost-per-click (CPC): Definition, Google Ads Help.
- Ad Campaign Insights (Marketing API reference), Meta for Developers.