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 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
- 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
- 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
- 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
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
- Google, Google Ads Help. About YouTube ads and view metrics, the avg. CPM metric. Undated page, read October 5, 2026.
- Interactive Advertising Bureau (IAB). Glossary: Digital Media Buying & Planning, entry "CPM", page 6. IAB Certification Program, undated.
- 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 .