CPM Calculator (Cost Per Mille)
Calculate CPM (Cost Per Mille), ad budget, or campaign impressions instantly. Free reverse-solving tool with step-by-step formula breakdown.
= ( ÷ ) × 1,000Adjust Variables
Interactive Step-by-Step Calculation Proofs
View how variables resolve algebraically down to peer-reviewed standard outputs.
Why Use This Calculator
Cost Per Mille (CPM) is the foundational pricing metric of online advertising and media buying, representing the cost per 1,000 ad impressions. Knowing how to calculate CPM lets media buyers compare the relative cost efficiency of networks, publishers, and placements on a level playing field. To calculate the CPM, divide total ad spend by total impressions, then multiply by 1,000. Our interactive CPM calculator allows you to reverse-engineer your campaigns—solve for impressions to see what your budget can purchase, solve for total budget to understand the cost of a requested impression volume, or simply input your spend and impressions to calculate CPM in real time. Pair it with the CPC calculator and CPA calculator to build a complete picture of your campaign economics.
Mathematical Formula Explanation
Calculated standard benchmarks are based on direct functional dependencies. The primary calculation logic follows this formula:
CPM = (Total Cost ÷ Total Impressions) × 1,000The formula scales a per-impression price up to a per-thousand price purely so the numbers are readable — $0.005 per impression becomes $5.00 CPM. Each of the three modes above just isolates a different variable: solving for CPM divides cost by impressions and multiplies by 1,000; solving for spend multiplies impressions by CPM and divides by 1,000; solving for impressions divides spend by CPM and multiplies by 1,000. All three are the same equation rearranged — nothing about the underlying cost per impression changes.
Worked Examples (Step-by-Step)
Review these worked examples to see how the formula behaves with real numbers.
Example 1: Finding CPM from Campaign Data
“An enterprise SaaS runs an Instagram brand awareness ad campaign with a total spend of $3,500. The ad platform reports 700,000 impressions. What is the CPM?”
- COST: 3,500
- IMPRESSIONS: 700,000
- CPM: 5
- PERIMPRESSION: 0.01
Example 2: Budget Needed for Large Impression Goal
“You want your video ad campaign to garner 2,500,000 impressions. The publisher quotes a fixed rate of $12.50 CPM. What budget should you request?”
- CPM: 12.5
- IMPRESSIONS: 2,500,000
- COST: 31,250
MRC Viewable Impression Standards
As of 2026-07-12| Ad Format | Viewability Threshold | Notes |
|---|---|---|
| Display ad | ≥50% of pixels visible ≥1 second | The baseline MRC/IAB standard used by most platforms' "viewable CPM" reporting.Google Ads Help: Viewability |
| Video ad | ≥50% of pixels visible ≥2 continuous seconds | Longer window than display to account for scroll-past and autoplay-skip behavior.Google Ads Help: Viewability |
| Large display ad (>242,000 px) | ≥30% of pixels visible ≥1 second | Lower area threshold because oversized formats rarely fit entirely within the viewport.Google Ads Help: Viewability |
Common Mistakes & Edge Cases
- Confusing CPM with eCPMCPM is the price actually billed on a CPM buy. eCPM is a derived, after-the-fact figure used to compare a CPC- or CPA-billed campaign against a CPM one on equal footing. Treating a reported eCPM as a real negotiated rate misreads what the number is measuring.
- Comparing CPM across platforms without checking the impression definitionSome platforms count an impression the moment the ad pixel fires; others only count it once viewability thresholds are met. A $4 CPM on a served-impression platform and a $4 CPM on a viewable-impression platform are not buying the same thing — the viewable number is effectively more expensive per eyeball.
- Treating impressions as unique viewers1,000 impressions can be 1,000 different people seeing the ad once, or 100 people seeing it 10 times each (frequency). CPM says nothing about reach or frequency on its own — pull those numbers separately if the goal is audience size rather than raw exposure volume.