Guide written by Ovi C., Senior Editor · Updated July 2026
What is CPM?
CPM means cost per mille — Latin for "per thousand" — and is what an advertiser pays for 1,000 impressions of an ad. It is the most common way to price and compare advertising because it puts spend and reach on the same scale: two campaigns of very different sizes can be compared directly by their CPM.
An impression is counted each time your ad is served or displayed. CPM tells you the price of that exposure, which makes it the natural metric for brand-awareness campaigns — where the goal is to be seen rather than immediately clicked.
How to calculate CPM
To calculate CPM, divide your total campaign cost by the number of impressions delivered, then multiply by 1,000. The formula is CPM = (Cost ÷ Impressions) × 1,000. So $10,000 spent for 1,000,000 impressions gives a CPM of $10.00 — every 1,000 people who saw the ad cost $10.
CPM = (Cost ÷ Impressions) × 1,000
In three steps:
- Add up the total amount you spent on the campaign.
- Divide that cost by the total number of impressions the campaign delivered.
- Multiply the result by 1,000 to get your cost per thousand impressions.
Because the formula links three values, you can rearrange it to solve for whichever one you are missing — which is exactly what the calculator above does:
- Find CPM — Cost ÷ Impressions × 1,000 ($2,000 over 400,000 impressions = $5.00 CPM)
- Find Cost — CPM × Impressions ÷ 1,000 (a $6 CPM across 250,000 impressions costs $1,500)
- Find Impressions — Cost ÷ CPM × 1,000 ($5,000 at an $8 CPM buys 625,000 impressions)
A worked example
Suppose you spend $10,000 on a campaign that delivers 1,000,000 impressions. Your CPM is:
$10.00 = $10,000 ÷ 1,000,000 × 1,000
That means every 1,000 people who saw your ad cost you ten dollars. If you later negotiate the same reach for $8,000, your CPM drops to $8.00 — a 20% more efficient buy for identical exposure.
Planning the other way, say you have a $5,000 budget and expect an $8.00 CPM:
625,000 = $5,000 ÷ $8.00 × 1,000
That budget should buy roughly 625,000 impressions — enough to sanity-check whether a campaign can hit a reach target before you commit.
How to use this calculator
It works in both directions, so it doubles as an impressions calculator: set it to solve for impressions and it tells you how many your budget buys, rather than what your impressions cost.
- Choose which value to solve for — CPM, cost, or impressions.
- Enter the two values you already know. Results update instantly as you type.
- Switch currency if you're planning in something other than dollars.
- Use Copy shareable link to send the exact scenario to a colleague — the numbers are saved in the URL.