CPM calculator.
Work out what your ads cost per 1,000 impressions, per click and per order, then whether each order leaves more than it cost to win.
- Free
- Runs in your browser
- Nothing is sent or stored
Your ads lose
$80 over the period, after product costs and the ads
- CPM
- $12.50
- For every 1,000 impressions
- CTR
- 1.50%
- Cost per click
- $0.83
- Cost per order (CPA)
- $41.67
- Conversion rate
- 2.00%
- Break-even CPA
- $40.00
- $2,000 spent
- 160,000 impressions
- 2,400 clicks
- 48 orders
Each order costs $41.67 in ads but leaves $40.00 before ads, so each one loses $1.67.
Plan a budget from a CPM.
A budget buys impressions at the CPM you pay. How many of them turn into orders depends on the ad and on your store, and that decides the most you can pay for them.
Work out your conversion rateHow to calculate CPM.
Divide your ad spend by the impressions and multiply by 1,000. The other figures divide the same spend by clicks and by orders.
CPM = ad spend ÷ impressions × 1,000
CTR = clicks ÷ impressions × 100
Cost per click = ad spend ÷ clicks
Cost per order (CPA) = ad spend ÷ orders
Break-even CPA = average order value × margin before ads
A worked example
For example, take a store's month of ads, one step at a time.
- 1 $2,000 ÷ 160,000 × 1,000 = $12.50 The CPM: what each 1,000 impressions cost.
- 2 2,400 ÷ 160,000 = 1.50% The CTR: 15 of every 1,000 people who saw the ad clicked.
- 3 $2,000 ÷ 2,400 = $0.83 The cost per click.
- 4 $2,000 ÷ 48 = $41.67 The cost per order: the 48 orders split the whole spend.
- 5 $80 × 50% = $40.00 What a $80 order leaves at a 50% margin before ads. Each order costs $1.67 more in ads than it leaves.
Where the CPM stops mattering
A CPM tells you what the audience costs. It doesn't tell you whether the ads pay, because that depends on how many people click and how many of those buy. Two stores paying the same CPM can pay different amounts per order. The one whose product pages turn more clicks into orders can pay more for the same impressions and still make money.
Where the numbers come from.
Take them from one report for the same dates, so the clicks and orders belong to the spend.
- 01 Meta Ads Manager Amount spent, Impressions, Link clicks and Purchases, for the campaign or the account.
- 02 Google Ads Cost, Impr., Clicks and Conversions, with purchases set as the conversion.
- 03 Average order value and margin Shopify's Analytics shows the average order value. For the margin before ads, take off product cost, shipping and payment fees with the contribution margin calculator.
Ad platforms count the orders they think their ads caused, so their totals can disagree with each other and with Shopify. To check every ad against your store's sales, use the ROAS calculator.
Common questions.
About CPM, CTR, cost per order and what you can afford to pay.
Book a coaching callWhat does CPM stand for?
Cost per mille, Latin for thousand: what you pay each time your ad is shown 1,000 times. Meta, Google and TikTok all report it.
How do I calculate CPM?
Divide the ad spend by the impressions and multiply by 1,000. $2,000 for 160,000 impressions is a $12.50 CPM.
How many impressions will my budget buy?
Divide the budget by the CPM and multiply by 1,000. $500 at a $12.50 CPM buys 40,000 impressions. The planner on this page works it through to clicks and orders.
What is CTR and how do I calculate it?
Click-through rate: the share of impressions that end in a click. Divide clicks by impressions and multiply by 100. 2,400 clicks from 160,000 impressions is a 1.5% CTR. Use link clicks, since other clicks (likes, profile taps) don't bring anyone to your store.
What's the difference between CPM, CPC and CPA?
They divide the same spend by different things. CPM by thousands of impressions, CPC (cost per click) by clicks and CPA (cost per acquisition, here an order) by orders. CPA is the one that decides whether an ad pays, because it's the only one you can set against what an order leaves you.
What is a good CPM?
One that leaves room for profit once the clicks have to buy. The highest CPM you can pay is your break-even CPA × CTR × conversion rate × 1,000. A low CPM on ads that nobody clicks costs more per order than a high one on ads that sell.
What is break-even CPA?
The most an order can cost in ads before it loses money: the average order value × your margin before ads. An $80 order with a 50% margin can spend $40 on ads and break even. The contribution margin calculator works out that margin after shipping and payment fees.
How does conversion rate change my cost per order?
Cost per order is the cost per click ÷ the conversion rate. If 20% more of the same clicks buy, each order costs a sixth less in ads, and the highest CPM you can pay rises by 20%, with no change to the ads.
Do you see the numbers I enter?
No. The calculation runs in your browser and the figures never leave it. We only record that the calculator was used, not what was typed.
Make the clicks you pay for buy.
A CRO audit finds what stops your ad traffic from ordering, so each order costs less in ads without touching the campaigns.