Check out our AI Agent.Learn more
CPM Calculator
Calculate CPM, total cost, or impressions. Enter any two values to solve for the third. Compare ad costs across platforms and campaigns.
CPM = (Total Cost / Total Impressions) × 1,000. Three-way calculator: enter any 2 values to solve for the third.
How it works
CPM = (Total Cost / Total Impressions) × 1,000. Three-way calculator: enter any 2 values to solve for the third.
What is CPM?
CPM stands for Cost Per Mille (mille is Latin for thousand). It's the price you pay for 1,000 ad impressions. CPM is the standard unit for buying and comparing display, video, and social media advertising across platforms.
CPM matters because it's the baseline cost of reaching your audience. Two campaigns targeting different audiences can have dramatically different CPMs — a broad awareness campaign on the Google Display Network might cost $2 CPM, while a targeted B2B campaign on LinkedIn could cost $40 CPM. Neither is inherently "better" — what matters is the cost relative to the value of reaching that audience.
CPM is one of three related values: total cost, total impressions, and CPM itself. If you know any two, you can calculate the third — which is exactly what this calculator does.
How to calculate CPM
The CPM formula has three variants depending on what you're solving for:
CPM = (Total Cost / Impressions) × 1,000
Total Cost = (CPM × Impressions) / 1,000
Impressions = (Total Cost / CPM) × 1,000
For example, if you spend $500 on a campaign that generates 100,000 impressions, your CPM is ($500 / 100,000) × 1,000 = $5.00. Conversely, if you know the platform's average CPM is $10 and you have a $5,000 budget, you can expect about 500,000 impressions.
Use this calculator to plan budgets, compare platform costs, or reverse-engineer how many impressions you need for a target reach frequency.
Average CPM by platform
CPMs vary significantly across advertising platforms, driven by audience quality, competition, and ad format. Here are typical ranges as of early 2026:
| Platform | Typical CPM | Notes |
|---|---|---|
| Facebook / Instagram | $5 – $15 | Q4 CPMs typically 30–50% higher |
| TikTok | $3 – $10 | Generally lower than Meta |
| YouTube | $10 – $30 | Higher CPMs, strong for brand awareness |
| $25 – $50 | Highest CPMs, justified by B2B targeting | |
| Google Display | $1 – $5 | Lowest CPMs, lower engagement |
Keep in mind that CPM is just one input. A $30 YouTube CPM that drives high-intent viewers can deliver better ROAS than a $3 display CPM with low engagement. Always evaluate CPM alongside downstream metrics like click-through rate, conversion rate, and ROAS.
Frequently asked questions
Related calculators & tools
ROAS Calculator
CalculatorCalculate your Return on Ad Spend (ROAS) instantly. Enter your ad spend and revenue to see your ROAS as a multiplier and percentage.
Learn moreBreak-Even ROAS Calculator
CalculatorCalculate the minimum ROAS you need to break even on your ad spend. Enter your product costs to find out when your ads start generating profit.
Learn moreAll Marketing Calculators
HubBrowse all free marketing calculators and tools.
Learn moreTrack your CPM automatically
Stop calculating manually. Rule1 tracks cpm across all your campaigns in real time.