CPM Calculator
Work out CPM from spend and impressions, a budget from a quoted rate, or impressions from a budget, and see the viewable CPM once viewability is counted.
CPM Calculator
Background.
A publisher quotes you a $6 CPM. A month later the invoice says $4,500 for 750,000 impressions. Did you get the rate you were promised, and what did you actually pay for ads that someone could have seen? Those are the two questions CPM arithmetic answers.
CPM means cost per mille, cost per thousand, with M as the Roman numeral for a thousand. It is the price of 1,000 ad impressions, a convention carried over from print and broadcast buying into online display, video and social advertising, where it remains the standard way to sell exposure. The formula is spend ÷ impressions × 1,000, and the same relationship can be turned around to price a plan or size one. Choose what you are solving for: the CPM of a buy that has already run, the cost of a planned number of impressions at a quoted rate, or the number of impressions a fixed budget buys.
There is a second number beside the CPM. An impression is counted when an ad is served, whether or not it ever appears on screen; an ad at the bottom of a page the reader never scrolls to still counts. If your ad server measures viewability, enter the percentage it reports and the same spend is re-priced over only the impressions that met the Media Rating Council's viewable standard. That viewable CPM is always at least as high as the plain CPM, and the gap between them is what unseen inventory cost you. Leave the rate at 100% if you do not measure it, and the two figures will match.
Keep in mind what CPM leaves out. It prices exposure and says nothing about whether the audience was the right one, how many distinct people saw the ad, or whether anyone acted on it. Those questions belong to reach and frequency reports, cost per click, cost per acquisition and return on ad spend.
What is cpm calculator?
CPM is the cost of one thousand advertising impressions: CPM = total cost ÷ impressions × 1,000. The American Marketing Association's dictionary entry gives the same identity as cost divided by impressions counted in thousands, and ad-technology glossaries such as Microsoft's Xandr glossary call it the standard basic pricing model for online advertising. An impression, in the IAB's sense, is a server's response to a request for the ad, filtered to remove robotic activity and errors and recorded as close as possible to the moment the viewer has an opportunity to see the ad. It counts deliveries, not people and not views.
Viewable CPM, or vCPM, divides the same cost by only the viewable impressions. Under the Media Rating Council's guidelines a display ad is viewable when at least half its pixels are in view for at least one continuous second; large display units of 242,500 pixels or more, the size of a 970 × 250 billboard, need 30% of their pixels; and video needs half its pixels in view for two continuous seconds of play. eCPM, effective CPM, uses the CPM formula to restate revenue or cost earned under other pricing models, so that a publisher can compare placements sold per click or per action on one per-thousand scale.
How to use this calculator.
- Pick the unknown in Solve For: CPM to measure a buy that has run, Campaign cost to price a plan at a quoted rate, or Impressions to see what a set budget buys.
- Enter the ad spend as the total media cost for the line item, from the invoice or the platform's billing report. Make sure it is on the same basis as any rate you compare it with: net of agency commission or gross, with or without platform and data fees.
- Enter impressions as served impressions from the ad server or delivery report, using the system named as the billing count if the publisher's and your own figures differ.
- When planning, enter the CPM rate from the rate card, insertion order or bid. It is ignored when you are solving for CPM.
- Enter the viewability rate only if your ad server or a verification vendor measures it, copying the percentage for the same line item and date range. Otherwise leave it at 100%.
- Read the CPM and the viewable CPM together, and use whichever matches how the buy was sold: a deal priced on viewable impressions should be judged on vCPM.
The formula.
The core identity is CPM = S ÷ I × 1,000, where S is spend and I is impressions. Rearranged, the cost of a planned buy is S = CPM × I ÷ 1,000 and the impressions a budget buys are I = S ÷ CPM × 1,000. All three describe one relationship, so the modes agree with one another: $4,500 over 750,000 impressions is a $6.00 CPM, $6.00 over 750,000 impressions costs $4,500, and $4,500 at $6.00 buys 750,000 impressions.
Viewability enters as a fraction v, the viewability rate divided by 100. Viewable impressions are I × v, and the viewable CPM is the same spend over that smaller count, S ÷ (I × v) × 1,000, which simplifies to CPM ÷ v. The relationship is inverse, not linear: at 62% viewable the vCPM is 1.6129 times the CPM, at 50% it is double, and at 25% it is four times. Falling viewability therefore raises the effective price faster and faster.
The same family of formulas connects CPM to other buying models. If a share CTR of impressions turns into clicks, the cost per click is CPM ÷ (1,000 × CTR), and if a share of those clicks converts, the cost per acquisition is the CPC divided by that conversion rate. A $6.00 CPM with a 0.5% click-through rate works out at $1.20 per click; at a 2% conversion rate, that is $60 per acquisition.
Money results are rounded to the cent and impression counts to whole impressions. The viewable CPM is worked out from the unrounded CPM, so recomputing it by hand from the two-decimal CPM can be a cent out: $1,000 over 300,000 impressions shows a $3.33 CPM, and at 50% viewability the vCPM is $6.67, not twice $3.33. Impressions must be above zero whenever they are divided into, the CPM must be above zero when a budget is divided by it, and viewability must be between 0.01% and 100%.
A worked example.
A programmatic display line item closes out with an invoice of $4,500 and an ad server count of 750,000 served impressions. With Solve For on CPM, the cost per thousand is 4,500 ÷ 750,000 × 1,000. The division gives $0.006 per impression, and multiplying by 1,000 gives $6.00, which matches the quoted rate. The same report shows 62% viewability. Viewable impressions are 750,000 × 0.62 = 465,000. Re-pricing the whole $4,500 over those gives 4,500 ÷ 465,000 × 1,000 = $9.6774, displayed as $9.68 — equivalently $6.00 ÷ 0.62. Every thousand impressions that had a chance to be seen cost about $3.68 more than the headline rate, because the 285,000 impressions that never met the standard were paid for too. That $9.68 is the figure to set against a vCPM offer from another publisher, or against the price of a guaranteed-viewability deal. Comparing a served-impression CPM with someone else's viewable CPM would make the second look about 61% dearer than it is.
Frequently asked questions.
How do I turn a quoted CPM into a budget, or a budget into impressions?
Does a gross or net CPM change the answer?
What does an ad have to do to count as viewable?
Why is viewable CPM always higher than CPM?
Is the lowest CPM the best buy?
How do CPM, CPC and CPA connect?
How many people saw my ad?
What is eCPM, and can I work it out here?
Why does my CPM differ from the publisher's report?
Does the calculation work for other currencies, or for print and TV?
References& sources.
- [1]Interactive Advertising Bureau (IAB) — Glossary of Interactive Advertising Terms (Buyer's Certification Study Guide). Entries "CPM", "CPx pricing", "Cost Per Action (CPA)", "Cost Per Lead", "Impression" and "Click" (pp. 4–9). Retrieved 2026-07-29.
- [2]Media Rating Council — Viewable Ad Impression Measurement Guidelines (Desktop), Version 2.0 (Final with 2015 additions), 18 August 2015. "Requirements for Viewable Display Advertising Impressions" (p. 4): ≥50% of pixels for ≥1 continuous second; large-format note (p. 5): 30% of pixels at ≥242,500 px; video requirement (p. 8): 2 continuous seconds. Retrieved 2026-07-29.
- [3]MASB / Common Language in Marketing Project — Universal Marketing Dictionary, entry "Cost Per Thousand", quoting the American Marketing Association Dictionary (February 2015): "Cost per thousand impressions (CPM) ($) = Advertising cost ($) ÷ Impressions generated (in thousands)". Retrieved 2026-07-29.
- [4]Farris, Paul W.; Bendle, Neil T.; Pfeifer, Phillip E.; Reibstein, David J. — Marketing Metrics: The Definitive Guide to Measuring Marketing Performance, 3rd ed., Pearson Education (ISBN 978-0-13-705829-7). Chapter 9, "Advertising Media and Web Metrics": §9.1 Impressions, §9.2 Cost per Thousand Impressions (CPM), §9.11 Cost per Click. Print reference — no free full text; edition, ISBN and section numbering verified against the publisher's sample-pages PDF.
- [5]Google Ads Help — "Cost-per-thousand impressions (CPM): Definition": CPM bidding is "a way to bid where you pay per one thousand views (impressions) on the Google Display Network"; existing CPM bids convert to viewable CPM. Retrieved 2026-07-29.
- [6]Google Ads Help — "Bid on viewable impressions using viewable CPM": with vCPM bidding "you set the highest amount you want to pay for each 1,000 viewable ad impressions"; Active View applies the Media Rating Council standard of at least 50% of the ad visible for at least 1 second. Retrieved 2026-07-29.
- [7]Microsoft Learn / Xandr — Online Advertising and Ad Tech Glossary (document date 2025-10-22). Entry "CPM": "A pricing model in which advertisers pay for every 1000 impressions of their advertisement served. This is the standard basic pricing model for online advertising. See also CPC and CPA." Entry "vCPM": "Cost per mille, or thousand, viewable impressions." Entry "eCPM": "A translation from CPM, CPC, CPA, and any other pricing models so they can be compared." Retrieved 2026-07-29.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 7 cited below
- Method
- CPM = S ⁄ I × 1000 ; vCPM = CPM ⁄ (V⁄100)
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled