Marketing & Advertising Calculators
CPM Calculator: Find CPM, Total Ad Cost, or Impressions Instantly
Updated September 2026 · Written by Shivam, Software Engineer and Founder · CPM definition and viewability standards verified against Google Ads Help and IAB documentation
If you’ve ever stared at an ad platform’s dashboard trying to work backward from a budget to an impression count, or forward from a quoted rate to a total spend, this CPM calculator does that math in either direction. It also covers the three metrics people searching for a CPM calculator usually actually need next: cost per impression, CPC, and eCPM — because in practice, nobody just calculates CPM in isolation.
Whether you typed in cpm calculator, calculate the cpm, how to calculate the cpm, how to figure out cpm, cost per impression calculator, cpc calculator, or how do you calculate cpm — this tool and the guide below answer all of it in one place, without making you dig through four separate calculators on four separate sites.
What’s on this page
CPM Calculator
Calculate CPM, Cost, or Impressions
Four tabs: solve for any missing CPM variable, calculate cost per impression, calculate CPC, or calculate eCPM for ad revenue.
What do you want to find?
CPM stands for cost per mille — “mille” is Latin for thousand, so CPM literally means cost per 1,000 impressions.
Cost Per Impression (Not Per Thousand)
Cost per impression and CPM measure the same underlying rate — CPM is just that same number scaled to a per-thousand basis, which is easier to compare across campaigns.
Cost Per Click
CPC is calculated on clicks, not impressions — it’s the right metric for performance campaigns, where CPM is the right metric for awareness campaigns.
eCPM (Effective CPM, for Publishers)
eCPM is a publisher-side revenue metric, not a rate you’re billed. It’s how ad networks and site owners compare earnings across different ad formats and pricing models on equal footing.
Explore more free calculators
- Browse every free tool on the site via the sitnit.com page directory.
How to Calculate CPM: The Formula, Explained
Every version of “how to calculate CPM” comes down to one formula:
Here’s how do you calculate CPM with real numbers: if a campaign spends $500 and generates 100,000 impressions, divide 500 by 100,000 to get 0.005, then multiply by 1,000 to get a CPM of $5.00. That’s the entire calculation — no hidden steps, no separate formula for different platforms.
The same formula rearranges cleanly depending on what you’re solving for, which is exactly what the three CPM sub-modes above do automatically:
- To find total cost: Total Cost = (CPM × Impressions) ÷ 1,000
- To find impressions: Impressions = (Total Cost ÷ CPM) × 1,000
Per Google Ads’ own definition, CPM is a bidding method where an advertiser pays per one thousand ad views on a display network — the platform-level mechanics vary, but the underlying arithmetic never changes.
How to CPM: A Step-by-Step Walkthrough
If you’re figuring this out by hand rather than typing numbers into the calculator above, here’s how to determine CPM in five steps:
- Pull your total spend for the campaign or time period you’re analyzing — this is the number from your invoice or ad platform billing summary.
- Pull your total impressions for that same exact period. Mismatched date ranges between cost and impressions are the most common source of a wrong CPM.
- Divide cost by impressions. This gives you the raw cost per single impression — a very small decimal number.
- Multiply by 1,000. This is the step that converts “cost per single impression” into “cost per thousand impressions” — the actual CPM figure.
- Sanity-check the result. A CPM under $0.50 or over $100 is unusual for most standard display and social advertising — if you land there, double-check that you didn’t accidentally use clicks instead of impressions, or mix up two different date ranges.
Worked Examples Across Different Campaign Sizes
Here’s how do you calculate a CPM figure across a few realistic scenarios, so you can see the same formula holding up at very different budget levels:
| Scenario | Cost | Impressions | CPM |
|---|---|---|---|
| Small local business social campaign | $75 | 15,000 | $5.00 |
| Mid-size display retargeting campaign | $2,400 | 600,000 | $4.00 |
| National video awareness campaign | $45,000 | 3,000,000 | $15.00 |
| Niche B2B LinkedIn campaign | $1,800 | 60,000 | $30.00 |
Notice how the CPM figure itself doesn’t track neatly with budget size — the tiny local campaign and the national video campaign are both entirely reasonable rates for their respective platforms and audiences. This is exactly why calculating cost per impression or CPM in isolation, without context about the platform and targeting, rarely tells the whole story on its own.
The reverse calculation matters just as often in practice. If you’re planning a campaign and a media rep quotes you a $12 CPM, knowing how to calculate impressions from that rate and your available budget lets you sanity-check the reach they’re promising before you sign off: a $6,000 budget at a $12 CPM works out to exactly 500,000 impressions, calculated the same way the Impressions sub-mode above handles it.
CPM vs. Cost Per Impression vs. CPC vs. eCPM
This is where a lot of confusion actually lives, and it’s the reason a plain CPM calculator often isn’t enough on its own. These four terms get used almost interchangeably in casual conversation, but they answer different questions:
| Metric | Formula | Answers the question |
|---|---|---|
| CPM | (Cost ÷ Impressions) × 1,000 | What does it cost per 1,000 views? |
| Cost Per Impression | Cost ÷ Impressions | What does a single view cost? |
| CPC | Cost ÷ Clicks | What does one click cost? |
| eCPM | (Revenue ÷ Impressions) × 1,000 | What did a publisher actually earn per 1,000 views, across all pricing models? |
The practical distinction that matters most: CPM and cost per impression describe the same rate at two different scales — one is just the other multiplied by 1,000. CPC is a completely different denominator (clicks, not impressions), which is why comparing a campaign’s CPM against another campaign’s CPC tells you nothing useful. And eCPM isn’t a rate you’re billed at all — it’s a publisher-side blended metric used to compare revenue across ad units that might be sold on a CPC, CPM, or CPA basis in the first place.
Why Viewability Changes What CPM Actually Means
Here’s something most basic CPM calculators skip entirely, and it’s genuinely useful to understand before negotiating a media buy: not every “impression” was actually seen. The Interactive Advertising Bureau, working with the Media Rating Council, established an industry standard defining a “viewable” display impression as one where at least 50% of the ad’s pixels were visible in the browser for at least one continuous second (video ads require two continuous seconds).
That distinction matters because a served impression and a viewable impression aren’t the same thing. An ad that loads far below the fold and is never scrolled into view still counts as a served impression on many ad servers, even though no human had a real chance to see it. When a platform reports “viewable CPM” (vCPM) instead of plain CPM, it’s recalculating the same formula using only the impressions that met the viewability threshold — which typically pushes the effective rate higher, since the denominator shrinks.
The practical takeaway: when comparing CPM rates across platforms or publishers, check whether both quotes are measuring the same kind of impression. A $4 CPM on served impressions and a $4 CPM on viewable impressions are not the same deal.
What Counts as a “Good” CPM?
There’s no single universal benchmark here, and any article that hands you one fixed number to memorize is oversimplifying. CPM rates swing widely based on factors that have nothing to do with whether a campaign is “good” or “bad” at negotiating:
- Platform and inventory type. Premium placements on high-traffic publisher sites typically command higher CPMs than open programmatic exchanges.
- Audience targeting. Narrow, high-intent audiences (like a specific job title or purchase intent segment) generally cost more per thousand impressions than broad, untargeted reach.
- Ad format. Video and large-format display units typically carry different CPM ranges than small static banners.
- Seasonality. CPMs across most ad platforms rise during high-competition periods (holiday shopping season, for instance) simply because more advertisers are bidding for the same inventory.
- Industry and vertical. Competitive advertiser categories bid CPMs up in the same way competitive keywords drive up CPC in search advertising.
Rather than chasing a specific number, the more useful benchmark is your own campaign’s trend line over time, and how your CPM compares to your own historical performance and conversion outcomes — a rising CPM that still produces a lower cost per acquisition is a fine trade, and a low CPM feeding an underperforming campaign isn’t actually a win.
Common Mistakes When Working with CPM
- Confusing CPM with cost per impression. Forgetting the ×1,000 step is the single most common arithmetic error — it inflates or deflates the number by three orders of magnitude.
- Comparing served CPM to viewable CPM as if they’re the same rate. As covered above, they measure different denominators.
- Treating CPM as the only metric that matters. A campaign with a low CPM but poor targeting can cost more per actual outcome than a higher-CPM campaign reaching the right audience.
- Mixing up CPM and eCPM when reading a publisher report. CPM is what an advertiser pays; eCPM is what a publisher earned, blended across pricing models — they’re calculated the same way but represent opposite sides of the transaction.
- Ignoring currency and rounding when comparing international campaigns. A CPM quoted in one currency needs to be converted before any side-by-side comparison means anything.
Frequently Asked Questions
How do you calculate CPM?
Divide total cost by total impressions, then multiply by 1,000: CPM = (Cost ÷ Impressions) × 1,000. A $500 campaign generating 100,000 impressions works out to a $5.00 CPM.
How do you determine CPM if you only know the budget and the rate?
Rearrange the formula to solve for impressions: Impressions = (Total Cost ÷ CPM) × 1,000. A $1,000 budget at a $4 CPM buys approximately 250,000 impressions.
How do you figure out CPM from total cost and impressions?
This is the standard CPM calculation: (Total Cost ÷ Total Impressions) × 1,000. Enter both numbers into the CPM tab above for an instant result.
How is CPM calculated differently from CPC?
CPM divides cost by impressions (views) and scales to a per-thousand rate. CPC divides cost by clicks. They measure entirely different actions — impressions versus clicks — so a campaign’s CPM and CPC numbers aren’t directly comparable to each other.
What is a cost per impression calculator used for?
It calculates the raw cost of a single ad impression, Cost divided by Impressions, without the ×1,000 scaling that CPM applies. It’s the same underlying rate as CPM, just expressed at a different scale — useful when working with very small budgets or micro-transactions.
How do I calculate CPM without a calculator?
Write out the same three numbers — total cost and total impressions — divide the first by the second, then multiply by 1,000. It’s a two-step calculation that works on any basic calculator or spreadsheet; the tool above just saves you from typing the formula in manually.
How do you calculate impressions from a budget and a known CPM?
Divide your budget by the CPM rate, then multiply by 1,000: Impressions = (Budget ÷ CPM) × 1,000. A $2,000 budget at a $10 CPM buys 200,000 impressions.
What does calculating cost per impression tell a publisher versus an advertiser?
For an advertiser, it’s the price paid per view. For a publisher, the same formula run on revenue instead of cost becomes the eCPM tab above — what they earned per 1,000 impressions, which is the figure used to compare ad units sold under different pricing models.

