CPM calculator
Type any two of cost, impressions and CPM to get the third, and add clicks for CPC and CTR. Every formula is shown, and nothing leaves your browser.
How does the CPM calculator work?
It has four boxes. Fill any two of cost, impressions and CPM, and it solves the third; fill clicks too, and it adds CPC and CTR. Each result comes with its formula.
| Box | What to type |
|---|---|
| Total cost (your currency) | What the campaign or post cost, as a plain number with no currency sign |
| Impressions | How many times the ad or post was shown |
| CPM (cost per 1000 impressions) | The rate, if you know it |
| Clicks (optional) | How many clicks it got |
| You fill | You get |
|---|---|
| Cost and impressions | CPM |
| Cost and CPM | Impressions |
| Impressions and CPM | Cost |
| Any of the above, plus clicks | CPC and CTR as well |
If you fill all three of cost, impressions and CPM, the tool works out CPM again from cost and impressions, so you can check a rate someone gave you. It tells you when something is off: fewer than two numbers, a negative number, a zero to divide by, or more clicks than impressions.
What are the CPM, CPC and CTR formulas?
CPM = cost ÷ impressions × 1000 [2]. CPC = cost ÷ clicks [3]. CTR = clicks ÷ impressions, shown as a percentage [2]. The other two lines are the CPM formula rearranged.
- CPM = cost ÷ impressions × 1000, which is Google's cost ÷ (impressions ÷ 1000) [2]
- Cost = CPM × impressions ÷ 1000
- Impressions = cost ÷ CPM × 1000
- CPC (average cost per click) = cost ÷ clicks [3]
- CTR (click-through rate) = clicks ÷ impressions × 100, as a percentage [2]
"Mille" is Latin for thousand, which is where the M in CPM comes from. The × 1000 step is the one people forget: without it, you get the cost of one impression, a tiny number that is hard to compare.
Google gives a simple CPC example: two clicks that cost 0.20 and 0.40 cost 0.60 together, an average CPC of 0.30 [3]. For more on each metric, see what CPM is, what cost per click is and what click-through rate is.
What does a worked example look like?
With example numbers: a cost of 150 for 60000 impressions is a CPM of 2.5. With 450 clicks, CPC is 0.33 and CTR is 0.75% [2] [3].
These are example numbers to show the arithmetic, not typical results. Type them into the calculator to check each line; amounts are in your currency.
| You fill (example numbers) | Calculation | Result |
|---|---|---|
| Cost 150, impressions 60000 | 150 ÷ 60000 × 1000 | CPM 2.5 |
| Same, plus 450 clicks | 150 ÷ 450 | CPC 0.33 |
| Same, plus 450 clicks | 450 ÷ 60000 × 100 | CTR 0.75% [2] |
| CPM 4, impressions 25000 | 4 × 25000 ÷ 1000 | Cost 100 |
| Cost 200, CPM 5 | 200 ÷ 5 × 1000 | Impressions 40000 |
The last two lines are how you plan. Before you spend, take the CPM of a past campaign and see what a budget buys, or what a target number of impressions will cost.
How can a creator use CPM?
To price a sponsored post by views, and to read YouTube numbers correctly. A brand may pay a rate per 1000 views; the calculator turns that rate into a fee for one post.
Pricing a sponsored post
Say a brand offers an example rate of 20 per 1000 views, and your posts get about 8000 views each. Type 8000 as impressions and 20 as CPM: the cost line shows 160, the fee for one post, in your currency.
Agree with the brand on what counts: views, impressions or reach are different numbers. Our page on impressions vs views explains the difference. For a full rate, try the influencer rate calculator.
CPM is not what YouTube pays you
On YouTube, CPM is the cost per 1,000 ad impressions before YouTube's revenue share [5]. RPM is what you earn per 1,000 views after the share, and it is usually lower than CPM [5]. See what CPM means on YouTube, or estimate your earnings with the YouTube money calculator.
What mistakes should you avoid?
Forgetting the × 1000, mixing currencies, and comparing CPMs from different countries. A low CPM also tells you nothing about clicks or sales on its own.
- Mixing currencies. Type cost and CPM in the same currency. The tool has no currency, so it cannot convert.
- Comparing across countries. CPM varies by country [2]. Compare campaigns that target the same place.
- Judging by CPM alone. A cheap impression that nobody clicks is not a bargain. Look at CTR and CPC next to it.
- Percent or decimal. The tool shows CTR as a percentage, so 0.75% means 0.0075 of impressions [2].
- Clicks above impressions. That is impossible in one report, so the tool stops and asks you to check both numbers.
- Rounding. Results are shown with up to two decimal places, and impressions as whole numbers.
Do it in Shatla.io
Shatla.io Insights is one way to find the views of your latest posts, the number a per-1000-views rate needs [6]. It does not show ad spend or CPM.
Shatla.io Insights shows the views, reach, likes, saves and shares of your latest posts, and your top content [6]. It covers Instagram and Facebook Pages only; TikTok is not included [6]. It does not show ad spend or CPM, so the cost side comes from your ads manager or your deal. You can also read views in each app's own insights.
The screenshots come from the Shatla.io screenshot library: a placeholder store shown in the real app, with example names and numbers, not a customer (how we check).
Frequently asked questions
How do you calculate CPM?
Divide the cost by the impressions and multiply by 1000 [2]. With example numbers, a cost of 150 for 60000 impressions is 150 ÷ 60000 × 1000 = 2.5.
What is the difference between CPM and CPC?
Is CPM the same as RPM on YouTube?
What is a good CPM?
There is no single good number: CPM varies by country [2], and by audience and format. Compare a campaign with your own past ones aimed at the same place.
Is what I type sent anywhere?
No. The calculator does the arithmetic in your browser and stores nothing.
Sources
- Cost-per-thousand impressions (CPM): Definition, Google Ads Help. Accessed .
- About YouTube ads and view metrics, Google Ads Help. Accessed .
- Average cost-per-click (Avg. CPC): Definition, Google Ads Help. Accessed .
- Clickthrough rate (CTR): Definition, Google Ads Help. Accessed .
- Understand ad revenue analytics, YouTube Help. Accessed .
- Shatla.io features list (features.json), Shatla.io. Accessed .
