CPM Calculator - Cost Per 1,000 Impressions

Campaign Details

Calculate CPM (Cost Per Mille) for any ad campaign: cost per 1,000 impressions from your spend, and the CPM to charge to keep a target profit margin.

Choose what to find

Enter the other two

View the result

Enter Profit Margin

CPM changes with inventory supply, season and audience targeting, so a rate from last month's campaign may not hold today. Confirm current rates with the platform or your ad rep before finalizing a media budget.

Formulas and sources

Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.

Cost per thousand impressions

Simple and Planning modes, when finding the CPM

CPM = (Cost ÷ Impressions) × 1000
CPM
cost per mille: the cost of 1,000 impressions
Cost
the total ad spend, platform fees included
Impressions
the impressions your ad platform counted

Source: Uses the formula in Google Ads Help, under the avg. CPM metric [1]. The IAB defines CPM as the cost per thousand ad impressions [2]. For desktop display, an impression counts once the ad begins to render, whether or not anyone sees it [3].

Impressions a budget buys

Simple and Planning modes, when finding impressions

Impressions = (Cost ÷ CPM) × 1000
Impressions
the impressions the cost buys
Cost
the budget
CPM
the price per 1,000 impressions

A plan at the quoted rate: delivered impressions depend on the auction, pacing and inventory.

Source: The formula above, rearranged [1].

Cost of a number of impressions

Simple and Planning modes, when finding the total cost

Cost = (Impressions ÷ 1000) × CPM
Cost
what the impressions cost
Impressions
the impressions to buy
CPM
the price per 1,000 impressions

Source: The formula above, rearranged [1].

CPM to charge

Planning mode, with a margin

CPM to charge = CPM ÷ (1 - margin)
CPM to charge
the price per 1,000 impressions that leaves your margin
CPM
cost per mille: the one found, or the one you enter
margin
the share of the price you keep, as a decimal (20% is 0.20)

The margin is a share of the price, not a markup on cost. "How it works" prints the margin you entered in its place.

Source: Standard formula; no single publisher.

Cost per impression, and impressions per unit of currency

Simple and Planning modes

Cost per impression = CPM ÷ 1000 Impressions per currency unit = 1000 ÷ CPM

The results card shows this as impressions per $1, using your currency's symbol, rounded to a whole number.

Source: Standard arithmetic; no single publisher.

Sources

  1. Google, Google Ads Help. About YouTube ads and view metrics, the avg. CPM metric. Undated page, read October 5, 2026.
  2. Interactive Advertising Bureau (IAB). Glossary: Digital Media Buying & Planning, entry "CPM", page 6. IAB Certification Program, undated.
  3. IAB Tech Lab and Media Rating Council. Desktop Display Impression Measurement Guidelines, section 2.0, point 1. Version 7.1 (MMTF Final Version 1.1), October 2017.

What this calculator does not cover

  • Impressions are taken as you enter them. A viewable impression is a stricter count: at least half of the ad's pixels in view for one continuous second, or two seconds for video (Media Rating Council, 2015, desktop guideline). Fraud-adjusted counts are not modeled.
  • Google Ads Help's CPM definition says existing Display CPM bids are converted to viewable CPM (vCPM) bids, so a platform's CPM may already be per viewable impression.
  • It is one campaign at one point in time: CPM trends over a flight are not modeled, and platform fees count only if you include them in the cost.
  • Finding impressions or cost assumes the quoted CPM holds for the whole buy. Auction prices, pacing and inventory change it, so delivery can differ from the plan.

Sources checked on .

Help

Quick Start Guide

  1. Choose what to find: Under Find, choose CPM, Impressions or Total Cost: the CPM from a cost and impressions, the impressions a budget buys at a CPM, or the cost of a number of impressions at a CPM.
  2. Enter the other two: For CPM, enter the Total Cost of the campaign and the Impressions delivered. For Impressions, enter the Total Cost (your budget) and the CPM. For Total Cost, enter the Impressions and the CPM.
  3. View the result: See the CPM, the impressions or the total cost, with the cost per impression beside it.
  4. Enter Profit Margin: Switch to Planning mode and enter a margin to see the CPM to charge.
  5. Compare Campaigns: Calculate CPM for multiple campaigns to compare efficiency.
  6. Export Results: Export your CPM analysis as JSON, CSV or PDF.

Frequently Asked Questions

CPM stands for "Cost Per Mille" (thousand). It is the cost of 1,000 ad impressions, whether on a web page or in a video.

Last updated