CPC calculator with revenue per click
Enter what you spent on ads and the clicks it bought to get your cost per click. Add the paying customers and revenue those clicks brought to see revenue per click and the break-even CPC, the most a click can cost before the ads lose money. Everything runs in your browser.
CPC is spend divided by clicks. Revenue per click is revenue divided by clicks. The break-even CPC is revenue per click times your gross margin; with no margin it is the CPC where spend equals revenue.
The revenue is the hard part. Virling measures it from your real payments: it links every visit to the payment it led to and credits each payment to the source and campaign of the visit that brought it, so each campaign gets its own revenue per click. See how attribution works in the docs. 14 days free.
Related: break-even CPA calculator, ROAS calculator, CPM calculator, CTR calculator, marketing efficiency ratio calculator, Microsoft Ads revenue tracking, LinkedIn Ads revenue tracking, Reddit Ads revenue tracking.
The CPC formula
Cost per click is what you paid for each visit an ad sent to your site:
CPC = ad spend / clicks
Revenue per click is what each of those visits brought back in payments:
revenue per click = revenue / clicks
A click pays for itself when the gross profit it brings covers its cost, so the break-even CPC is:
break-even CPC = revenue per click × gross margin
With paying customers, the calculator also shows the share of clicks that became customers and the cost per customer, ad spend / paying customers.
A worked example
These are made-up numbers, the defaults above, not a benchmark. A campaign spent $2,000 and got 1,600 clicks, so the CPC is $2,000 / 1,600 = $1.25. Forty of those visitors paid, 2.5% of clicks, at a cost of $2,000 / 40 = $50 per customer.
They paid $4,800 in total, so revenue per click is $4,800 / 1,600 = $3.00. At a 60% gross margin, each click brings $3.00 × 0.60 = $1.80 of gross profit, and that is the break-even CPC. At $1.25 a click, the campaign earns $0.55 of gross profit per click; if its CPC rose above $1.80 it would lose money even though revenue per click still beat it.
Why CPC only matters next to revenue per click
A CPC on its own says what a visit cost, not what it was worth. A $0.40 click from people who never buy loses money, and a $4 click from buyers who spend $300 can be the best campaign you run. Cutting CPC often means bidding on cheaper, broader traffic that converts less, so the CPC falls and revenue per click falls faster.
Compare each campaign's CPC with its own revenue per click, the same idea as revenue per visitor applied to paid clicks. The gap between them is what the campaign earns per visit. Per customer, the same check is cost per customer against the break-even CPA, and across a whole channel it is CAC by channel. To see the return as a ratio, use the ROAS calculator; for placements priced per thousand impressions, the CPM calculator.
The revenue side is where it goes wrong. Ad platforms count the conversions they can see within their own windows, buyers often come back days later through search or a typed URL, and the same customer can be claimed by two platforms. Revenue per click is only as good as the join between your payments and the visits that started them.
Four campaigns side by side
Made-up campaigns, not benchmarks, worked out with the calculator's formulas. The first five number columns are what you enter, the last three are what it shows:
| Example | Ad spend | Clicks | Customers | Revenue | Gross margin | CPC | Revenue per click | Break-even CPC |
|---|---|---|---|---|---|---|---|---|
| The defaults above | $2,000 | 1,600 | 40 | $4,800 | 60% | $1.25 | $3.00 | $1.80 |
| Cheap, broad traffic | $400 | 1,000 | 4 | $320 | 60% | $0.40 | $0.32 | $0.19 |
| Expensive, ready to buy | $3,000 | 750 | 15 | $4,500 | 80% | $4.00 | $6.00 | $4.80 |
| Same CPC, lower margin | $1,500 | 1,200 | 30 | $3,000 | 40% | $1.25 | $2.50 | $1.00 |
The second campaign has the lowest CPC and loses money, because its clicks break even at $0.19. The third pays ten times as much per click and makes money. The first and the last have the same CPC and the same $50 cost per customer, but the last one's break-even is $1.00, so it loses $0.25 on every click.
The most you can pay per click, from revenue per visitor
Before a campaign has sales of its own, you can set a ceiling from the revenue per visitor of a similar one:
highest CPC = revenue per visitor × gross margin × share of clicks that arrive
The last part is there because revenue per visitor divides by visitors your site counted, and some clicks never load the page. Say 1,440 of the 1,600 example clicks arrived, which is 90%. Revenue per visitor is $4,800 / 1,440 = $3.33, a visit can cost $3.33 × 0.60 = $2.00, and a click $2.00 × 0.90 = $1.80. That is the break-even CPC the calculator shows, reached from the visitor side.
Break-even leaves nothing over. To keep a quarter of the gross profit, pay three quarters of the ceiling: $1.80 × 0.75 = $1.35. The example's $1.25 is under that.
Three mistakes with CPC
- Dividing by a different kind of click. Some ad reports have a column for all clicks, including ones on a profile or a like, and another for clicks to your site. Use clicks to your site, and the same column for every campaign.
- Judging it on a handful of sales. Revenue per click from 4 customers can halve or double with the next two. Keep the dates long enough for more payments before you change a bid.
- Using one ceiling for the whole account. People who search your name and people who have never heard of you are worth different amounts per click. An average ceiling overpays for one group and underbids for the other.
CPC calculator FAQ
How do you calculate cost per click?
Divide what you spent by the clicks it bought. $2,000 of spend that brought 1,600 clicks is a CPC of $2,000 / 1,600 = $1.25.
What is revenue per click?
It is the revenue your paying customers brought divided by the clicks that brought them. If 1,600 clicks led to $4,800 of payments, revenue per click is $3.00. It is the number CPC has to be compared with.
What is a break-even CPC?
It is the most you can pay per click before the ads lose money: revenue per click times your gross margin. At $3.00 of revenue per click and a 60% margin, the break-even CPC is $1.80. Leave the margin blank to see the CPC where spend equals revenue.
Is a low CPC always better?
No. A low CPC on visitors who never buy loses money, and a high CPC can pay if those visitors buy often or spend a lot. Judge a CPC against the revenue per click of the same campaign, not against other campaigns' CPCs.
Where does the revenue per click number come from?
From the payments made by people who arrived through the clicks you paid for. Ad platforms report the conversions they can see in their own windows, so the reliable source is your payments joined to the visits that started them, per campaign.
How do I set a maximum CPC for a new campaign?
Take the revenue per visitor of the most similar campaign you have measured, multiply by your gross margin and by the share of clicks that arrive on your site. At $3.33 per visitor, a 60% margin and 90% arriving, that is about $1.80. Bid below it, and replace the estimate once the campaign has payments of its own.
See what each click actually earned
These tools estimate. Virling measures: it links every visit to the payment it led to, so you see the customers and revenue each campaign brings from your real numbers. 14 days free.