Audited 29 Jul 2026·Last updated 29 Jul 2026·7 citations·Tier 1·0 uses

CPM Calculator

Free CPM calculator. Solve for CPM, campaign cost, or impressions, then convert to viewable CPM using the MRC 50%-of-pixels, one-second standard.

CPM Calculator

Solve For
Total media cost for the buy, net of agency fees unless your CPM is quoted gross. Required unless solving for campaign cost.
$
Impressions served — ad deliveries, not people. Required unless solving for impressions.
The quoted price for 1,000 impressions, straight off the rate card or the insertion order. Required unless solving for CPM.
$
The measured viewable-impression rate from your ad server (Active View or an MRC-accredited vendor). Leave at 100% if you do not measure it — viewable CPM then simply equals CPM.
%
CPM
$6.00
Cost per 1,000 served impressions. This is a cost metric, not a performance metric — a cheap CPM against the wrong audience is worse value than an expensive one against the right audience.
Viewable CPM (vCPM)
$6.00
Viewable impressions
750,000
Total campaign cost
$4,500.00
Impressions
750,000

Background.

CPM — cost per mille, from the Latin for thousand — is the price of buying one thousand ad impressions, and it is the oldest and most universal number in media buying. This calculator solves the CPM identity in whichever direction you need it. Measuring a campaign that already ran? Enter what you spent and how many impressions were delivered, and it returns the CPM. Planning one against a publisher's quoted rate? Switch the dropdown and it returns either the cost of a target impression volume or the impression volume a fixed budget will buy. The three modes are the same equation rearranged, and they round-trip exactly.

Read the headline number for what it is. CPM tells you what impressions cost. It says nothing whatsoever about whether those impressions were worth buying. A $2 CPM against an audience that will never buy your product is a worse outcome than a $20 CPM against an audience that will, and no amount of CPM optimisation fixes a bad audience. CPM is a denominator you divide performance by — not a performance metric in its own right. Media buyers who chase the lowest CPM in a programmatic auction reliably end up with the cheapest inventory for exactly the reason it was cheap.

That is why this page also computes viewable CPM. A served impression is an ad delivery: the ad server responded to a request and the creative was sent. Whether any human had an opportunity to see it is a separate question, and the industry has a formal answer to it. The Media Rating Council's Viewable Ad Impression Measurement Guidelines, version 2.0 of 18 August 2015, count a display impression as viewable only when at least 50% of the advertisement's pixels are on an in-focus browser tab in the viewable browser space, and the pixel requirement is met for at least one continuous second after render. Larger formats — 242,500 pixels or more, the size of a 970×250 billboard — clear at 30% of pixels for the same one second. Video needs 50% of pixels for two continuous seconds of play. Enter the viewability rate your ad server actually reports and the calculator restates your buy as a cost per thousand impressions that met that bar.

The viewability field defaults to 100%, and that default is deliberate. It means "unmeasured", and it makes viewable CPM equal CPM, which is the honest answer when you have no measurement. This page does not assume an industry-average viewability rate on your behalf, because no such average is stable across formats, placements, geographies or years, and inventing one would quietly corrupt every number underneath it. Read the figure off your Active View column or your MRC-accredited vendor's report, or leave the field alone.

One more limit worth internalising before you trust the output: impressions are not people. An impression counts a delivery, so one person who sees your ad six times generates six impressions. The number of distinct humans reached, and how often each of them saw the ad, are reach and frequency — separate quantities that this calculator does not compute and that no CPM figure contains. A campaign with 750,000 impressions might have reached 500,000 people twice or 50,000 people fifteen times, and those are wildly different campaigns at an identical CPM.

A worked example, computed by the same code that runs the widget: a $4,500 buy that delivered 750,000 impressions has a CPM of exactly $6.00. If your ad server reports that 62% of those impressions were viewable, 465,000 impressions cleared the MRC bar and your viewable CPM is $9.68 — you paid $6.00 for a thousand deliveries and $9.68 for a thousand genuine opportunities to see. Flip the dropdown to cost and a $6.00 rate over 750,000 impressions gives back $4,500. Flip it to impressions and a $4,500 budget at $6.00 buys back 750,000. Every arithmetic step runs at arbitrary decimal precision and rounds only once, at the moment of display, so the viewable figure is derived from the true CPM rather than from the two-decimal number on your screen.

CPM is one of three canonical media pricing models, and the IAB's own glossary treats them as a family: the x in "CPx" is replaced by M for thousand impressions, C for click, or A for action. You buy on CPM when the objective is exposure, on CPC when you are paying for traffic, and on CPA when you are paying for outcomes. Quanta publishes a separate calculator for each, plus a ROAS calculator for the revenue side of the ledger, because they answer genuinely different questions rather than restating one another.

What is cpm calculator?

CPM stands for cost per mille — cost per thousand — and is the amount an advertiser pays for one thousand ad impressions. The IAB's Glossary of Interactive Advertising Terms defines it as "cost per thousand ad impressions, an industry standard measure for selling ads on websites," noting that the measure is inherited from print advertising and that the M is the Roman numeral for a thousand. The arithmetic is agreed across every authority that publishes a formula: the AMA Dictionary entry carried by the MASB Universal Marketing Dictionary gives CPM = advertising cost ÷ impressions generated in thousands, and Farris, Bendle, Pfeifer and Reibstein set out the same identity in Marketing Metrics chapter 9, section 9.2. An impression, per the IAB, is a response from a web server to a page request, filtered for robotic activity and error codes and recorded as close as possible to the user's opportunity to see the page — so it counts an ad delivery, not a person and not a view. Viewable CPM, or vCPM, prices the same buy against the subset of impressions that met the Media Rating Council's viewable-impression standard: at least 50% of the ad's pixels in the viewable browser space for at least one continuous second for display, 30% for large formats of 242,500 pixels or more, and 50% of pixels for two continuous seconds of playback for video. Because viewable impressions are always a subset of served impressions, vCPM is always greater than or equal to CPM, and the gap between them is a direct measure of how much of your media budget bought inventory nobody had a chance to see.

How to use this calculator.

  1. Choose what to solve for. Leave it on CPM to measure a buy that already ran. Switch to Campaign cost when a publisher has quoted you a rate and you know the impression volume you want. Switch to Impressions when you have a fixed budget and want to know what it buys.
  2. Enter the ad spend — the total media cost for this line item. Use net cost if your CPM is quoted net of agency commission, gross if it is quoted gross; mixing the two is the most common way a media plan drifts. Leave this field alone if you selected Campaign cost.
  3. Enter the impressions — ad deliveries, taken from your ad server or the publisher's delivery report. Leave this field alone if you selected Impressions.
  4. Enter the CPM rate if you are planning rather than measuring. This is the price for one thousand impressions from the rate card or insertion order. Leave it alone if you selected CPM.
  5. Enter your viewability rate only if you actually measure it. Copy the percentage from your Active View column or your MRC-accredited verification vendor. If you do not measure viewability, leave the field at 100% — viewable CPM will then equal CPM, which is the correct answer when the data does not exist.
  6. Read the outputs together. CPM is what a thousand deliveries cost. Viewable CPM is what a thousand genuine opportunities to see cost. The distance between them is the price of unviewable inventory, and it is the single most actionable number on this page for a display buy.

The formula.

CPM = S ⁄ I × 1000 ; vCPM = CPM ⁄ (V⁄100)

The core identity is CPM = ad spend ÷ impressions × 1000, which the calculator rearranges two ways: ad spend = CPM × impressions ÷ 1000, and impressions = ad spend ÷ CPM × 1000. All three modes are algebraically the same statement, so they round-trip: $4,500 over 750,000 impressions gives a $6.00 CPM; $6.00 over 750,000 impressions gives back $4,500; and $4,500 at $6.00 gives back 750,000. The viewable branch first converts the viewability rate to a fraction and applies it to the impression count — 750,000 × 0.62 = 465,000 viewable impressions — then prices the same total spend against that smaller denominator: $4,500 ÷ 465,000 × 1000 = $9.6774…, displayed as $9.68. Equivalently, and identically to the last decimal, vCPM = CPM ÷ 0.62. Rounding stage matters here and is part of the contract: every intermediate value is carried at full decimal precision and rounding happens only once, at the return boundary — currency to two decimal places, impression counts to whole impressions. Nothing is rounded in between. That is why viewable CPM is computed from the unrounded CPM rather than from the $6.00 on screen. The difference is not cosmetic: a $1,000 buy over 300,000 impressions has a CPM of 3.33̅, which displays as $3.33, and a 50% viewability rate gives a true viewable CPM of 6.66̅ → $6.67. An implementation that doubled the displayed $3.33 would print $6.66 and be a cent wrong, and the test suite for this page asserts $6.67 specifically to catch that class of error. Guards reject the cases where the identity has no answer: impressions must be above zero whenever they sit in the denominator, the CPM rate must be above zero when you are solving for impressions, and the viewability rate must be above 0% and at most 100% — a 0% viewable buy has no viewable impressions to price, and viewable impressions can never exceed served impressions.

A worked example.

Example

A programmatic display line item ran for a month. The invoice came to $4,500 and the ad server logged 750,000 impressions served. Leave Solve For on CPM, enter 4500 and 750000, and the calculator runs 4500 ÷ 750,000 × 1000 = $6.00. That is your CPM: six dollars per thousand deliveries. Now suppose the Active View column in the same report shows a 62% viewability rate. Enter 62 and two more numbers appear. Viewable impressions: 750,000 × 0.62 = 465,000 — that is how many of your deliveries had at least half their pixels on an in-focus tab for at least one continuous second, the Media Rating Council's bar. Viewable CPM: $4,500 ÷ 465,000 × 1000 = $9.68. You paid $6.00 per thousand deliveries but $9.68 per thousand genuine opportunities to see, and the $3.68 gap is what the 38% of unviewable inventory cost you. That gap is the number to take into a renegotiation, not the $6.00. Now use the other two modes to sanity-check a plan built on the same rate. Switch Solve For to Campaign cost, leave the CPM rate at $6.00 and impressions at 750,000, and the tool returns $4,500 — the buy you just measured, reconstructed from its rate card. Switch to Impressions, enter a $4,500 budget at a $6.00 rate, and it returns 750,000. The identity closes in every direction, which is the quickest way to confirm you have not mixed a net rate with a gross budget. One caution on interpreting all of this: 750,000 impressions is not 750,000 people. If the campaign hit each person an average of five times it reached roughly 150,000 humans, and your true cost per person reached was about three cents, not the $0.006 per impression the CPM implies. Reach and frequency are not derivable from CPM and this calculator does not attempt to guess them.

viewability Rate62
impressions750,000
ad Spend4,500
solve Forcpm

Frequently asked questions.

What is CPM and how do I calculate it?
CPM is cost per mille — the cost of one thousand ad impressions. Divide your total ad spend by the number of impressions delivered, then multiply by 1,000: CPM = spend ÷ impressions × 1000. A $4,500 buy that delivered 750,000 impressions has a CPM of $6.00, because 4,500 ÷ 750,000 = 0.006 and 0.006 × 1,000 = 6. The IAB's Glossary of Interactive Advertising Terms defines CPM as "cost per thousand ad impressions, an industry standard measure for selling ads on websites," and notes the measure was inherited from print, where the M is the Roman numeral for a thousand. The AMA Dictionary entry carried by the MASB Universal Marketing Dictionary and Farris et al.'s Marketing Metrics chapter 9 both give the identical formula, expressed as advertising cost divided by impressions counted in thousands.
How do I work out what a campaign will cost from a quoted CPM?
Rearrange the identity: cost = CPM × impressions ÷ 1000. Switch this calculator's dropdown to Campaign cost, enter the rate and the impression volume, and it does it for you. A publisher quoting $6.00 CPM for 750,000 impressions is quoting a $4,500 buy. The third mode inverts it again: impressions = budget ÷ CPM × 1000, so $4,500 at $6.00 buys 750,000 impressions. Two practical cautions. First, confirm whether the quoted rate is net or gross of agency commission before you plug it in — a 15% commission on a gross rate is the single most common source of media-plan drift, and this calculator does not know which convention your rate uses. Second, an insertion order guaranteeing impressions is not guaranteeing viewable impressions unless it says so explicitly; if you are buying on viewability, the contract needs to name the vCPM and the measurement vendor.
What is viewable CPM (vCPM) and how is it different from CPM?
CPM prices every impression the ad server delivered. Viewable CPM prices only the subset that met the Media Rating Council's viewable-impression standard, so vCPM = total spend ÷ viewable impressions × 1000, or equivalently CPM ÷ the viewability rate expressed as a fraction. Because viewable impressions are always a subset of served impressions, vCPM is always greater than or equal to CPM, and the two are equal only at 100% viewability. Worked through: a $4,500 buy over 750,000 impressions is a $6.00 CPM; at a 62% viewability rate, 465,000 impressions cleared the bar and the viewable CPM is $9.68. Google Ads and Google Ad Manager both sell inventory on a vCPM basis for exactly this reason — with vCPM bidding you are charged for viewable impressions rather than served ones, so the two numbers converge by construction.
What actually counts as a viewable impression?
The Media Rating Council's Viewable Ad Impression Measurement Guidelines, version 2.0 dated 18 August 2015, set three thresholds. For a standard display ad, at least 50% of the advertisement's pixels must be on an in-focus browser tab in the viewable space of the browser page, and that pixel condition must hold for at least one continuous second after the ad renders. For large display formats of 242,500 pixels or more — the area of a 970×250 billboard — the pixel threshold drops to 30% for the same one continuous second, because such units are designed to occupy a large share of the page. For video, 50% of the ad's pixels must be in view for two continuous seconds of playback, and the guidelines are explicit that the qualifying two seconds need not be the first two. The MRC also specifies the order of evaluation: the pixel test is applied first, and the timer only starts once the pixel threshold is met.
Is a lower CPM always better?
No, and treating it as though it were is the most expensive mistake in display buying. CPM measures what impressions cost, not what they are worth. In an open programmatic auction the cheapest inventory is cheap for identifiable reasons — low viewability, made-for-advertising sites, below-the-fold placements, audiences with no purchase intent — and buying it drives your CPM down while driving your cost per outcome up. The correct use of CPM is as a denominator: compare CPMs only between placements that deliver comparable audiences at comparable viewability, and judge the campaign on cost per click, cost per acquisition, or return on ad spend. If you have to pick one CPM-family number to optimise on a brand buy, viewable CPM is the better target, because it prices the impressions that could actually have worked.
What is the difference between CPM, CPC and CPA?
They are the three canonical media pricing models, and the IAB glossary explicitly frames them as one family: "CPx pricing refers to how media is bought on a cost per basis. The x is replaced by M (CPM) to refer to Cost Per Thousand, or C (CPC) to refer to Cost Per Click, or any variant of A (CPA) Cost Per Action." You pay per thousand impressions under CPM, per click under CPC, and per completed action — a sale, a signup, a form fill — under CPA. The risk transfers from buyer to seller as you move down the list: on CPM you carry all the performance risk, on CPA the publisher carries most of it, which is why CPA inventory is priced at a premium. They are also arithmetically linked, since CPC = CPM ÷ (1,000 × click-through rate) and CPA = CPC ÷ conversion rate, so a change in creative or landing page moves all three at once. Quanta publishes a dedicated calculator for each.
Does CPM tell me how many people saw my ad?
No. An impression is a delivery, not a person and not a view. The IAB defines an impression as a response from a web server to a page request, filtered for robotic activity and error codes and recorded as close as possible to the user's opportunity to see the page. One person served the same ad six times generates six impressions. The number of distinct people reached is reach, and the average number of exposures each of them received is frequency, and impressions equal reach multiplied by frequency — but you cannot recover reach or frequency from an impression count alone, and this calculator does not try. A 750,000-impression campaign could be 500,000 people at a frequency of 1.5 or 50,000 people at a frequency of 15, and those are entirely different campaigns at an identical CPM. Reach and frequency come from your ad server's deduplicated reporting or a panel-based measurement provider, not from arithmetic.
What is eCPM, and how is it different from CPM?
eCPM stands for effective cost per mille and is a translation layer rather than a pricing model. When a publisher sells inventory on a mixture of bases — some CPM, some CPC, some CPA — eCPM restates all of that revenue as though it had been sold per thousand impressions, so the placements can be compared on one scale. Microsoft's Xandr ad-tech glossary describes it as "a translation from CPM, CPC, CPA, and any other pricing models so they can be compared," showing how much is spent in CPM terms when payouts are measured another way. Arithmetically eCPM is calculated exactly like CPM — total revenue or cost divided by impressions, times a thousand — so this calculator computes it: if you enter your total spend and total impressions across a mixed buy, the CPM output is your eCPM. The distinction is in what the number means, not how it is derived.
Why does my ad server report a different CPM than the publisher?
Almost always because the two systems are counting impressions at different points in the delivery chain, and small discrepancies are normal and expected. A publisher's ad server typically counts an impression when it responds to the ad request; a third-party or advertiser-side server counts when its own tracking tag fires in the browser, which happens later and therefore misses users who navigate away, block scripts, or suffer a timeout. The IAB's counting guidelines push measurement as close as possible to the opportunity to see, but they cannot eliminate the gap. A discrepancy in the low single-digit percent is routine; a persistent gap above roughly 10% is worth a conversation, and most insertion orders name one system as the billing system of record precisely so this does not become a dispute. Whichever number you use, use the same one in the numerator and the denominator — mixing a publisher impression count with your own spend figure produces a CPM that describes neither system.

References& sources.

  1. [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. [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. [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. [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. [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. [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. [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.

Embed

Quanta Pro

Paid features are coming later.

  • All 762 calculators remain free
  • No billing is enabled
Coming soon