To calculate CPM, divide your total ad cost by the number of impressions, then multiply by 1,000. For example, a $500 campaign that bought 250,000 impressions has a CPM of (500 ÷ 250,000) × 1,000 = $2.00 — you paid two dollars for every thousand times your ad was shown.
CPM stands for cost per mille, with “mille” meaning one thousand in Latin. It is the standard price of attention in digital advertising: every time an ad platform quotes you a rate, runs an auction, or reports a campaign, CPM is the number that tells you what a thousand views actually cost. And yet most advertisers who spend real money on Facebook, Google, or YouTube ads cannot work out their own CPM without a tool. This guide fixes that. You will learn the formula, work through three examples with exact numbers, learn how to run the calculation backwards, and see the mistakes that make CPM figures wrong.
What Is CPM?
CPM is the cost of 1,000 ad impressions. An impression is counted every time your ad is displayed on a screen, whether or not anyone clicks it, reads it, or remembers it. If your ad was shown 250,000 times and you paid $500, your CPM is $2.00.
The “mille” in cost per mille is Latin for a thousand, which is why the formula always multiplies by 1,000. A free cpm calculator runs the same calculation instantly, but knowing the steps means you can sanity-check any number an ad platform shows you — and catch a reporting mistake before you scale a budget on it.
CPM matters because it is the common currency of advertising. A Facebook campaign, a Google Display campaign, and a YouTube campaign all report different clicks, different conversions, and different audiences — but all three report CPM. Comparing CPMs is the only honest way to compare what reach costs across channels.
What Is the CPM Formula?
The formula is short:
CPM = (Total Cost ÷ Total Impressions) × 1,000
Three things to get right before you plug numbers in:
- Use total cost, not daily budget. If a campaign ran for 14 days at $50 a day, the total cost is $700, not $50.
- Use total impressions, not reach. Reach counts unique people; impressions count total displays. One person who saw your ad four times is one reach and four impressions. CPM is always calculated on impressions.
- Multiply by 1,000 last. Dividing cost by impressions gives you the cost of a single impression — a tiny decimal like $0.002. Multiplying by 1,000 turns it into the familiar dollar figure.
If you would rather skip the arithmetic, a free how to calculate cpm tool does it in one step — but the worked examples below show every step, so you can verify any result by hand.
How to Calculate CPM, Step by Step
Follow these four steps for any campaign, on any platform.
Step 1: Find your total cost
Open the campaign report and take the total amount spent. Include the full flight: if the campaign ran in two bursts, add both. Exclude agency fees and creative production costs — CPM measures media cost only, and mixing in other costs makes your CPM incomparable with platform benchmarks.
Step 2: Find your total impressions
Take the total impressions from the same report and the same date range. Impressions are usually the biggest number in the report, and they are the denominator of the formula — a wrong denominator is the most common reason CPM figures look strange.
Step 3: Divide cost by impressions
Divide the total cost by the total impressions. For our lead example: 500 ÷ 250,000 = 0.002. That is the cost of one single impression: two-tenths of a cent.
Step 4: Multiply by 1,000
Multiply the result by 1,000 to get the cost per thousand impressions. For the example: 0.002 × 1,000 = $2.00 CPM.
Worked Example 1: $500 for 250,000 Impressions
This is the example to memorise:
- Total cost: $500.
- Total impressions: 250,000.
- Cost per impression: 500 ÷ 250,000 = $0.002.
- CPM: 0.002 × 1,000 = $2.00.
Reverse check: at a $2.00 CPM, $500 should buy exactly 250,000 impressions — (500 ÷ 2.00) × 1,000 = 250,000. It does, so the calculation is confirmed.
Worked Example 2: $1,000 for 400,000 Impressions
A bigger campaign, same steps:
- Total cost: $1,000.
- Total impressions: 400,000.
- Cost per impression: 1,000 ÷ 400,000 = $0.0025.
- CPM: 0.0025 × 1,000 = $2.50.
A $2.50 CPM is only 50 cents dearer than the first example per thousand impressions — but across 400,000 impressions that is $200 more for the same reach. Small CPM differences become real money at scale, which is why advertisers track CPM to the cent.
Worked Example 3: $750 for 100,000 Impressions
A smaller, more targeted campaign:
- Total cost: $750.
- Total impressions: 100,000.
- Cost per impression: 750 ÷ 100,000 = $0.0075.
- CPM: 0.0075 × 1,000 = $7.50.
This CPM is three times the first example — but that does not automatically make it a bad buy. A $7.50 CPM on a narrow, high-intent audience can outperform a $2.00 CPM on a broad, indifferent one. CPM measures the price of attention, not its quality; judge it alongside click-through rate and conversion rate.
How to Calculate Impressions From CPM (the Reverse Calculation)
Sometimes you know the CPM and the budget, and you need the impressions. Rearrange the formula:
Impressions = (Total Cost ÷ CPM) × 1,000
Two quick checks:
- At a $5.00 CPM, a $2,000 budget buys (2,000 ÷ 5) × 1,000 = 400,000 impressions.
- At a $3.00 CPM, 1,000,000 impressions cost 3 × (1,000,000 ÷ 1,000) = $3,000.
Media planners use this version constantly: it turns a quoted CPM into a reach forecast before a single dollar is spent.
CPM Quick Reference Table
| Spend | Impressions | CPM |
|---|---|---|
| $250 | 50,000 | $5.00 |
| $500 | 250,000 | $2.00 |
| $750 | 100,000 | $7.50 |
| $1,000 | 400,000 | $2.50 |
| $1,200 | 600,000 | $2.00 |
| $2,000 | 400,000 | $5.00 |
Every row follows the same formula — divide cost by impressions, multiply by 1,000 — so you can check any of them in seconds.
5 Mistakes That Make CPM Wrong
1. Using reach instead of impressions
Reach is always smaller than impressions, so dividing by reach inflates your CPM. A campaign with 250,000 impressions and 100,000 reach has a $2.00 CPM on impressions — but $5.00 if you mistakenly use reach. Always use the impressions column.
2. Using daily spend instead of total spend
A $50 daily budget over 14 days is $700 of total cost. Using $50 against 14 days of impressions understates your CPM by a factor of 14.
3. Confusing CPM with CPC
CPM is cost per 1,000 impressions; CPC is cost per click. They measure different things, and a campaign can have a cheap CPM and an expensive CPC at the same time — that combination usually means the ad is seen but not clicked. Learn the difference in our guide to CPM vs CPC vs CPA.
4. Forgetting the × 1,000
Dividing cost by impressions without multiplying gives the cost per single impression ($0.002), which looks like a mistake. The × 1,000 is what makes CPM a readable dollar figure.
5. Comparing CPMs across unlike placements
A $2.00 CPM on Google Display and a $7.50 CPM on Facebook are not directly comparable — different audiences, formats, and viewability. Compare like with like, and read our guide to what a good CPM looks like in 2026 before judging any number.
When Is CPM the Right Metric?
CPM is the right metric when your goal is reach and awareness: a product launch, a brand campaign, a local event, or any campaign where being seen is the point. It is the wrong primary metric when your goal is direct sales — then cost per acquisition matters more, and a cheap CPM that never converts is wasted money.
The practical rule: use CPM to price and compare reach, then use click-through rate and conversion rate to judge whether that reach was worth buying. A low CPM with a near-zero click rate is not a bargain; it is an ad people ignore.
Frequently Asked Questions
How do I calculate CPM?
Divide total ad cost by total impressions, then multiply by 1,000. A $500 campaign with 250,000 impressions has a CPM of (500 ÷ 250,000) × 1,000 = $2.00.
What is the CPM formula?
CPM = (Total Cost ÷ Total Impressions) × 1,000. “Mille” is Latin for one thousand, which is why the formula scales the cost of one impression up to a thousand.
How do I calculate impressions from CPM?
Impressions = (Total Cost ÷ CPM) × 1,000. At a $5.00 CPM, $2,000 buys 400,000 impressions.
Is CPM cost per click?
No. CPM is cost per 1,000 impressions — what you pay for your ad to be shown. CPC is cost per click — what you pay when someone clicks. An ad can be cheap per impression and expensive per click.
What is a good CPM?
It depends on the platform and industry. In 2026 planning ranges, Google Display typically runs $2–$5, Meta $8–$15, and LinkedIn $25–$50 or more. Judge your CPM against your own channel’s range, not against a single universal number.
Why is my CPM so high?
The usual causes are narrow targeting, a competitive audience, low-quality creative that loses the auction, or seasonal demand (Q4 holiday bidding pushes CPMs up on most platforms). Read our guide on how to lower your CPM for nine fixes that actually work.
