All Tools

CPC Calculator

Work out your cost per click, click-through rate and CPM from your ad spend, plan a budget from a click target, and find the most you can pay per click before a first order loses money.

What is CPC?

CPC, or cost per click, is what you pay for each click on an ad: your ad spend divided by your clicks. A low CPC is not always a good one, because it ignores what happens after the click. The most you can pay per click and still break even is your break-even CPC.

Your clicks and what they are worth

Fill in whichever parts you need. Use figures from the same period and the same ads on every line. Leave any field you do not have empty.

Your ad numbers

What the ads cost, and the clicks and impressions they got over the same period.

What the ads cost over the period
Use the same click definition as your impressions
Add them to see CTR and CPM

What a click is worth

Your store's averages, to find the most you can pay per click.

Orders divided by ad clicks, not by all store sessions
The share of an order left after product cost, shipping, payment fees and refunds
Shows the CPC that would hold it

Plan or test a CPC (optional)

Turn a CPC into a budget or a number of clicks, or try a different CPC against what a click is worth.

Leave empty to use the CPC worked out from your spend and clicks
Shows the clicks it buys at that CPC
Shows the budget those clicks need

The formulas

How cost per click and break-even CPC are calculated

CPC = Ad spend / Clicks; Break-even CPC = Average order value x Conversion rate x Contribution margin before ad spend; Profit per click = Break-even CPC - CPC

The first formula measures what you paid. The second finds the most you can pay. The third compares the two.

CTR
Clicks / Impressions, shown as a percentage.
CPM
Ad spend / Impressions x 1,000: the cost of every 1,000 impressions.
Revenue per click
Average order value x Conversion rate, where the conversion rate is orders divided by ad clicks.
Contribution margin before ad spend
The share of an order left after product cost, shipping, payment fees and refunds, before any ad spend.
CPC for a target ROAS
Revenue per click / Target ROAS: the highest CPC that still earns the ROAS you want.
Break-even ROAS
1 / Contribution margin: the ROAS at which ad spend uses up the whole margin.
Implied CPA
CPC / Conversion rate: what each order costs at that CPC. Break-even CPA is Average order value x Contribution margin.
Budget and clicks
Budget = Click target x CPC, and Clicks = Budget / CPC.
  • Break-even CPC counts the first order only. If customers come back and reorder, they are worth more than this and you can afford more.
  • At exactly the break-even CPC a click leaves nothing towards fixed costs, so aim lower.
  • A 0% conversion rate means no CPC breaks even, because no click brings in a sale.

Worked examples

Three CPC calculations, worked through

Each example follows the same steps as the calculator above. The amounts work in any currency.

Example 1

Reading a campaign: CPC, CTR and CPM

A campaign spent 1,260.00 and got 1,800 clicks from 94,000 impressions.

Inputs

Ad spend
1,260.00
Clicks
1,800
Impressions
94,000

Working

  1. CPC: 1,260.00 / 1,800 = 0.70
  2. CTR: 1,800 / 94,000 = 1.9%
  3. CPM: 1,260.00 / 94,000 x 1,000 = 13.40

Cost per click

0.70

Each click cost 0.70 and every 1,000 impressions cost 13.40. A 1.9% click-through rate means about 19 of every 1,000 impressions became a click.

Example 2

The most you can pay per click

A store's average order is 60.00. 2.5% of ad clicks turn into an order, and each order leaves 40% of its value after product cost, shipping, payment fees and refunds, before any ad spend.

Inputs

Average order value
60.00
Conversion rate
2.5%
Contribution margin before ad spend
40%
Target ROAS
3x

Working

  1. Revenue per click: 60.00 x 2.5% = 1.50
  2. Break-even CPC: 1.50 x 40% = 0.60
  3. Break-even ROAS: 1 / 40% = 2.50x
  4. CPC for a 3x ROAS: 1.50 / 3 = 0.50
  5. Break-even CPA: 60.00 x 40% = 24.00, which is 0.60 / 2.5%

Break-even CPC

0.60 per click

A click that costs more than 0.60 loses money on a first order. Holding a 3x ROAS would take clicks at 0.50 or less.

Example 3

Is this CPC profitable?

A store with an 85.00 average order, a 1.8% conversion rate and 35% left after product cost, shipping, payment fees and refunds spent 1,260.00 on 1,800 clicks.

Inputs

Ad spend
1,260.00
Clicks
1,800
Average order value
85.00
Conversion rate
1.8%
Contribution margin before ad spend
35%

Working

  1. CPC: 1,260.00 / 1,800 = 0.70
  2. Break-even CPC: 85.00 x 1.8% x 35% = 0.5355
  3. Profit per click: 0.5355 - 0.70 = -0.1645, a loss of 0.16
  4. Over 1,800 clicks: 1,800 x 0.5355 - 1,260.00 = -296.10
  5. Implied CPA: 0.70 / 1.8% = 38.89, against a break-even CPA of 85.00 x 35% = 29.75
  6. Conversion rate that breaks even at 0.70: 0.70 / (85.00 x 35%) = 2.35%

Profit per click

Loss of 0.16 per click

Each click costs 0.16 more than it earns on a first order, 296.10 across the 1,800 clicks. Bringing CPC down to about 0.54, or lifting the conversion rate to 2.35% at the same CPC, would break even.

The guide

Cost per click for online stores

CPC, CTR and CPM: how they fit together

Three numbers describe what a campaign costs before anyone buys. They are linked, so a change in one explains a change in another.

CPC: cost per click

Ad spend divided by clicks. It is the price of getting one visitor to your store from the ad.

CTR: click-through rate

Clicks divided by impressions. It shows how often people who see the ad choose to click it.

CPM: cost per 1,000 impressions

Ad spend divided by impressions, times 1,000. It is the price of being seen, whether or not anyone clicks.

Put together, CPC = CPM / (CTR x 1,000), with CTR written as a fraction, so 2% is 0.02. A lower CPC comes from cheaper impressions, from ads that get clicked more, or from both.

Why a low CPC does not mean a profitable campaign

CPC only measures the price of a visit. Two campaigns with the same CPC can earn very different amounts, because visitors convert at different rates and buy different baskets. The break-even CPC above puts a value on a click, so you can judge the price against it. The contribution margin calculator shows how to work out the margin that goes into it.

From CPC to CPA and ROAS

Divide CPC by your conversion rate to get the cost of an order, your CPA. Divide the revenue a click brings in by CPC and you get ROAS. All three describe the same spend: CPC prices the click, CPA prices the order, and ROAS compares the revenue with the cost. The break-even ROAS calculator covers the threshold in more detail.

Where each number comes from

The answer is only as good as the figures behind it. These are the ones to check first.

Clicks and impressions

Ad platforms count clicks in different ways, for example all clicks versus link clicks. Use one definition for clicks and impressions, and the same one every time.

Conversion rate

Orders divided by ad clicks from the same period. A store analytics report counts sessions, and sessions and ad clicks are rarely equal, so use the platform's click count with the orders those ads brought in.

Contribution margin before ad spend

The share of each order left after product cost, shipping, payment fees and refunds. Leave ad spend out, because the break-even CPC is the ad spend that margin can carry.

Average order value

Revenue divided by orders for the same traffic. If the ads sell a single product, use that product's order value rather than the whole store's.

What break-even CPC leaves out

It counts the first order only. If customers come back and buy again, a click is worth more than this and you can afford more. It also assumes your conversion rate and margin hold across all the traffic you buy, and new audiences often convert differently. Treat it as a ceiling for the average click, not as a bid to set. The LTV calculator covers repeat purchases.

In MerchantFlow

ROAS next to the profit behind it

MerchantFlow brings in your ad spend from Meta, Google Ads, TikTok and Snapchat and shows ROAS for each platform alongside a blended MER worked out from the orders in your store. The same dashboard takes COGS, payment fees, shipping and refunds off your revenue, so you can see whether your ad spend is turning into profit and not just revenue.

See the real-time P&L

Common Questions

CPC: FAQ

How do you calculate CPC?

Divide your ad spend by the number of clicks the ads got. If you spent 1,260 and got 1,800 clicks, your CPC is 0.70. Use spend and clicks from the same period and the same ads.

What is a good CPC?

There is no CPC that is good for every store. It depends on your category, the platform, the audience, the season and how many advertisers want the same clicks. The test that matters is your own: a CPC is good when it is below the break-even CPC for your order value, conversion rate and margin.

How do you calculate break-even CPC?

Multiply your average order value by your conversion rate to get the revenue a click brings in, then multiply by your contribution margin before ad spend. The result is the most you can pay per click before a first order loses money.

What is the difference between CPC, CPM and CTR?

CPC is the cost of a click, CPM is the cost of 1,000 impressions and CTR is the share of impressions that become clicks. They are linked: CPC equals CPM divided by the clicks you get per 1,000 impressions, so a lower CPM or a higher CTR lowers your CPC.

Is a lower CPC always better?

No. Cheap clicks from visitors who rarely buy can cost more per order than expensive clicks from visitors who do. Compare CPC with the value of a click, and look at cost per order and ROAS as well.

How many clicks does my budget buy?

Divide the budget by your CPC. To work the other way, multiply the clicks you want by your CPC to get the budget they need. The planner in the calculator above does both.

How are CPC and CPA related?

CPA is CPC divided by your conversion rate. At a given CPC, doubling your conversion rate halves the cost of each order, which is why improving the page can lower CPA as much as a cheaper click can.

Is break-even CPC the same as a max CPC bid?

No. A max CPC bid, such as the setting in Google Ads manual bidding, is the most you tell the platform it may charge for a click, and what you actually pay per click can be lower. Break-even CPC is the most a click can cost on average before a first order loses money. It can help you choose a bid, but it is not one.