Choose Your Mode
Select whether you want to calculate your CPM rate, your total ad spend, or your projected total impressions. Each tab unlocks a different calculation path.
Free Online Tool
Calculate CPM from your ad spend and impressions, or work out total ad cost and total impressions from a CPM rate. Enter any two values and get the third instantly.
About the Tool
A CPM calculator works out your cost per mille, which is the price you pay for every 1,000 ad impressions. Enter any two of the three values (ad spend, impressions, CPM) and the tool returns the third. Use it to check a finished campaign, compare platforms, or plan how many impressions a budget will buy.
Example: you spend $750 and your ads get 300,000 impressions. CPM = ($750 ÷ 300,000) × 1,000 = $2.50. In other words, you paid $2.50 for every 1,000 views.
The same calculator also works as a CPM impressions calculator: switch to the "Calculate Impressions" tab, enter your budget and your CPM rate, and it shows how many impressions you can expect. Prefer the price of a single view? Try the cost per impression calculator, or see the CPM formula behind every result.
| Ad type | Typical CPM |
|---|---|
| Display (Google Display Network) | $0.50 – $3.00 |
| Social media (Facebook, Instagram) | $5 – $15 |
| Niche B2B and premium placements | $30+ |
These are rough ranges. Real CPMs change with industry, audience, season and competition. See CPM benchmarks by industry for more detail, or convert your CPM into clicks with the CPM to CPC calculator.
Last updated:
Simple Process
Our tool supports three calculation modes. Enter any two values and instantly get the third.
Select whether you want to calculate your CPM rate, your total ad spend, or your projected total impressions. Each tab unlocks a different calculation path.
Fill in the two known fields. For CPM calculation: enter your total cost and number of impressions. All inputs support decimals and large numbers.
Click Calculate and see your result with a full breakdown — including cost-per-impression, totals, and a clear summary panel. Reset anytime to start a new calculation.
The Math
CPM is derived from a simple relationship between three variables. Master these formulas to control your advertising budget with confidence.
Calculate CPM
CPM = (Cost ÷ Impressions) × 1,000
Use when you know what you spent and how many impressions you received.
Calculate Cost
Cost = (CPM × Impressions) ÷ 1,000
Use to forecast your total ad spend before launching a campaign.
Calculate Impressions
Impressions = (Cost ÷ CPM) × 1,000
Use to estimate reach when you have a fixed budget and CPM rate.
Step by Step
Want to calculate CPM by hand? It takes three steps. Or skip the math and use the CPM calculator above.
Use the full amount you spent on the campaign, in one currency, for the exact period you are measuring.
Take the number of times the ad was shown from your ad dashboard. Use impressions, not clicks or reach.
Divide cost by impressions, then multiply by 1,000. That is your cost per 1,000 impressions.
You spent $500 and got 200,000 impressions.
You spent $1,200 and got 450,000 impressions.
You spent $80 and got 25,000 impressions.
Want to go further? Try a platform-specific calculator or read the full guide.
More Tools
Convert metrics, plan budgets and compare platforms with our most-used calculators.
Latest Insights
Understand CPM from the ground up: what it means, how it is calculated, and which benchmarks to aim for in 2026.
Read article →Average CPM rates across 12 industries and the major ad platforms.
Read article →A side-by-side breakdown of the three major ad pricing models.
Read article →Common Questions
Everything you need to know about CPM and how to use this calculator.