CPC calculator
Free. Runs in your browser, nothing is uploaded.CPC (cost per click) is the average amount you pay each time someone clicks your ad. The formula is CPC = ad spend ÷ clicks, so $500 for 400 clicks is a $1.25 CPC.
What do you want to work out?
Total cost of the clicks.
Link clicks, or all clicks if that is what you are measuring.
Optional: related numbers
Adds click-through rate and CPM.
Formula with your numbers
CPC = ad spend ÷ clicks
= $500.00 ÷ 400
= $1.25
How to use the CPC calculator
- Pick what to work out. CPC takes ad spend and clicks. Cost tells you what a number of clicks will cost. Clicks tells you how many clicks a budget buys. From CPM and CTR works out CPC when your ads are bought per impression.
- Use the same kind of click on both sides. Meta reports link clicks and clicks (all), which also count reactions, comments, shares, profile clicks and clicks to expand a photo or video. For cost per visit to your site, use link clicks.
- Add impressions (optional) to see click-through rate and CPM from the same numbers.
CPC formula, with worked examples
CPC = ad spend ÷ clicks
Example. A campaign spends $500 and gets 400 link clicks. CPC = $500 ÷ 400 = $1.25.
- Cost = CPC × clicks. 1,000 clicks at $0.80 cost $800.
- Clicks = budget ÷ CPC. A $600 budget at $1.50 per click buys 400 clicks.
CPC from CPM and CTR
On social platforms you are usually charged for impressions, so CPC is the result of two other numbers:
CPC = CPM ÷ (1,000 × CTR)
A $15 CPM with a 1.2% click-through rate gives 12 clicks per 1,000 impressions, so each click costs $15 ÷ 12 = $1.25. Double the click-through rate and the CPC halves, even though the CPM has not changed.
Average CPC across campaigns
Add up the spend and the clicks first, then divide. Do not average the CPCs of each campaign: a campaign with 10 clicks would count as much as one with 1,000.
What is a good CPC?
A good CPC is one you can afford given what happens after the click. Work out your ceiling from your own numbers:
Max CPC = break-even CPA × conversion rate
If an order leaves $44.60 before ad costs (your break-even CPA) and 2.5% of visitors buy, you can pay up to $44.60 × 0.025 = $1.12 per click before the ads lose money. The break-even ROAS calculator gives you the break-even CPA.
For context, these are median CPCs for US campaigns:
| Industry | Google search ads | Facebook traffic ads |
|---|---|---|
| All industries | $5.42 | $0.60 |
| Apparel, fashion and jewelry | $4.44 | $0.71 |
| Shopping, collectibles and gifts | $4.14 | $0.59 |
| Home and home improvement | $8.33 | $0.63 |
Search clicks cost more because the person is already looking for what you sell.
What moves CPC:
- Platform and intent. Search clicks come from people looking for a product. Social clicks come from people who were scrolling.
- Competition. Popular keywords and audiences, and busy seasons, cost more.
- Relevance. Ads that people click more often cost less per click, because the same impressions produce more clicks.
- Country and audience. Clicks in larger, richer markets cost more.
How to lower CPC
- Raise click-through rate. A clearer hook, a visible product and a reason to click now all raise CTR, and a higher CTR lowers CPC at the same CPM. See the CTR calculator.
- Match ads to intent. On search, group closely related keywords and write ads that repeat the searcher's words. Add negative keywords for searches that never buy.
- Refresh tired creative. When the same people see an ad too often, CTR drops and CPC rises.
- Test broader audiences and more placements on social, where cheaper impressions can bring cheaper clicks.
A lower CPC is only better if those clicks still buy. Cheap clicks from the wrong people raise your cost per acquisition. Check the result with the CPA calculator.
How Ad Autopilot uses CPC
- Traffic campaigns are judged on CPC and CTR. When the goal is visits, Ad Autopilot measures success in link clicks, so cost per click is the number it judges the campaign on, not purchases the campaign was never set up to optimize for.
- Sales campaigns are judged on cost per result. For purchases or leads, CPC is a diagnostic, and the agent judges the campaign on CPA and ROAS against your targets.
- Clicks that do not convert. If a campaign's click-through rate is 1% or more while its CPA is above 1.5 times your maximum CPA, the agent audits the landing page, because the clicks are coming but the page is not turning them into sales.
- Clicks that never land. When an ad's clicks do not turn into landing page views, which points to a broken link or a page that does not load, the agent audits the page and rechecks it daily while the problem lasts.
Pay for clicks that turn into sales
Ad Autopilot runs your Meta and Google Ads campaigns against the cost per result you can afford, checks the landing page when clicks stop converting, and by default brings each change to you for approval.
See how Ad Autopilot worksQuestions
How do you calculate CPC?
Divide the total ad spend by the number of clicks. $500 spent for 400 clicks is a $1.25 CPC. Meta calculates cost per link click as amount spent divided by link clicks, and Google Ads divides the total cost of clicks by the total number of clicks.
What is a good CPC?
One below your maximum affordable CPC, which is your break-even CPA multiplied by your conversion rate. For context, the median US CPC across all industries is about $5.42 for Google search ads and $0.60 for Facebook traffic ads.
Is CPC better than CPM?
Neither is better in general. With CPM you pay for impressions and the cost per click depends on how many people click. With CPC you pay only for clicks. On Meta you are usually charged for impressions unless you choose otherwise when you create the ad. What matters most is the cost per purchase or lead at the end.
How do you calculate average CPC?
Add up the spend across all campaigns, add up the clicks, then divide total spend by total clicks. Averaging each campaign's CPC gives the wrong answer because small campaigns count as much as large ones.
Should I use link clicks or all clicks?
Use link clicks when you want the cost of sending someone to your website. Clicks (all) also count reactions, comments, shares, profile clicks and clicks to expand media, so cost per click (all) is lower and does not tell you what a visit costs.
