How to calculate CPM
CPM stands for cost per mille, or cost per thousand impressions. To calculate it, divide what you spent by the impressions you got, then multiply by 1,000:
CPM = Total cost ÷ Impressions × 1,000- Find the total cost of the campaign or ad set, from your ad platform's billing or reporting.
- Divide by the number of impressions. This gives your cost per impression, usually a fraction of a cent.
- Multiply by 1,000 to get the CPM, the cost of 1,000 impressions.
Worked example
You spend $500 on a campaign that delivers 62,500 impressions.
- Total cost: $500.
- Cost per impression: $500 ÷ 62,500 = $0.008, less than one cent per view.
- CPM: $0.008 × 1,000 = $8.00.
So every 1,000 people who see the ad cost you $8. At the same $8 CPM, a $2,000 budget buys 250,000 impressions.
Cost per impression
Cost per impression is the CPM divided by 1,000. It's the same price, quoted for a single view instead of a thousand:
Cost per impression = Total cost ÷ Impressions = CPM ÷ 1,000| CPM | Cost per impression |
|---|---|
| $2.00 | $0.002 |
| $5.00 | $0.005 |
| $8.00 | $0.008 |
| $10.00 | $0.01 |
| $25.00 | $0.025 |
The calculator shows the cost per impression alongside every result.
Other CPM formulas
Cost = CPM × Impressions ÷ 1,000Impressions = Cost ÷ CPM × 1,000Using CPM to plan a budget
CPM tells you how much attention costs, not whether it pays off. Pair it with your click-through and conversion rates, then check the result in the ROAS calculator to see whether the campaign makes money.
How to use the CPM calculator
- Choose what you want to find: the CPM of a finished campaign, the cost of a planned one, or how many impressions a budget will buy.
- Enter the two values you know. The calculator shows the third, plus the cost of a single impression.
- Copy the link to your results to keep a record of a campaign plan or share it with a client.
Example: impressions from a budget
A platform quotes a $6 CPM for your audience and you have $1,200 to spend. Impressions = $1,200 ÷ $6 × 1,000 = 200,000. If your ad is aimed at 50,000 people, that is an average frequency of four views each.
Impressions a budget buys
| Budget | At $5 CPM | At $10 CPM | At $20 CPM |
|---|---|---|---|
| $500 | 100,000 | 50,000 | 25,000 |
| $1,000 | 200,000 | 100,000 | 50,000 |
| $5,000 | 1,000,000 | 500,000 | 250,000 |
Converting CPM to cost per click
If you buy on CPM, your click-through rate decides what each click really costs:
CPC = CPM ÷ (CTR % × 10)At an $8 CPM, a 1% CTR means each click costs $8 ÷ 10 = $0.80. If CTR falls to 0.5%, the same CPM works out to $1.60 per click. Improving the ad creative can cut your cost per click even when the CPM doesn't change. The CTR calculator works out CTR, CPC, and cost per acquisition from campaign results.
CPM, CPC, and CPA compared
| Model | You pay for | Best when |
|---|---|---|
| CPM | Every 1,000 impressions | Building awareness, or you expect a high CTR |
| CPC | Each click | You want traffic and the platform's CTR estimate is uncertain |
| CPA | Each sale, lead, or sign-up | You can track conversions reliably and want the platform to carry the risk |
What drives CPM up or down
- Audience. Narrow, high-value audiences such as business decision-makers cost more than broad consumer audiences.
- Season. CPMs usually rise in the run-up to major shopping periods, when more advertisers compete for the same attention.
- Placement and format. Video, premium sites, and prominent placements cost more than standard display.
- Ad quality. Many platforms charge less for ads that people engage with, so relevant creative can lower CPM.
Frequently asked questions
What does CPM stand for?
Cost per mille, where "mille" is Latin for thousand. It is the price an advertiser pays for 1,000 ad impressions.
How do I calculate cost per impression?
Divide the total cost by the number of impressions. $500 for 62,500 impressions is $500 ÷ 62,500 = $0.008 per impression. Because one impression costs a fraction of a cent, advertisers quote the price per 1,000 impressions instead, which is the CPM: $0.008 × 1,000 = $8.
What is a good CPM?
It varies a lot by platform, audience, and season. Broad social media audiences can cost a few dollars per thousand, while narrow B2B audiences on LinkedIn often cost far more. Compare against your own past campaigns.
What is the difference between CPM and CPC?
CPM charges per thousand impressions whether or not anyone clicks. CPC (cost per click) charges only when someone clicks the ad.
What is the difference between CPM and RPM?
CPM is what advertisers pay per thousand impressions. RPM (revenue per mille) is what a publisher earns per thousand pageviews or impressions after the ad network takes its share.
What is eCPM?
Effective CPM: total cost (or earnings) divided by impressions, times 1,000, whatever the pricing model. It lets you compare a campaign bought per click or per sale with one bought per thousand impressions.
What is vCPM?
Cost per thousand viewable impressions. An impression only counts as viewable if enough of the ad appears on screen for long enough, commonly at least half of a display ad for one second. vCPM is higher than CPM because fewer impressions qualify.
How do I calculate CPM in Excel or Google Sheets?
With cost in B2 and impressions in C2, use =B2/C2*1000. To find impressions from a budget and CPM, use =B2/D2*1000 with the CPM in D2.