Free Online Tool

CPM Calculator:
Calculate CPM, Cost & Impressions

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.

CPM = ( Cost ÷ Impressions ) × 1,000
3
Calculation Modes
0
Sign-ups Required
$0
Cost to Use

CPM Calculator

Free Tool
$
Your CPM —
Total Spend—
Impressions—
Cost per impression—
$
Total Ad Cost —
CPM Rate—
Impressions—
Cost per impression—
$
$
Total Impressions —
Total Budget—
CPM Rate—
Cost per 1,000 imp.—

What Is a CPM Calculator?

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.

Typical CPM Ranges (US, Ballpark)

Ad typeTypical 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:

How the CPM Calculator Works

Our tool supports three calculation modes. Enter any two values and instantly get the third.

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.

Enter Two Values

Fill in the two known fields. For CPM calculation: enter your total cost and number of impressions. All inputs support decimals and large numbers.

Get Instant Results

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.

CPM Calculator Formula Explained

CPM is derived from a simple relationship between three variables. Master these formulas to control your advertising budget with confidence.

CPM = Total Cost ÷ Total Impressions × 1,000

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.

How to Calculate CPM (Formula + Example)

Want to calculate CPM by hand? It takes three steps. Or skip the math and use the CPM calculator above.

Find Your Total Cost

Use the full amount you spent on the campaign, in one currency, for the exact period you are measuring.

Find Your Total Impressions

Take the number of times the ad was shown from your ad dashboard. Use impressions, not clicks or reach.

Apply the Formula

Divide cost by impressions, then multiply by 1,000. That is your cost per 1,000 impressions.

Worked ExamplesSee the Formula With Real Numbers

Display Campaign

You spent $500 and got 200,000 impressions.

($500 ÷ 200,000) × 1,000$2.50 CPM

Social Media Campaign

You spent $1,200 and got 450,000 impressions.

($1,200 ÷ 450,000) × 1,000$2.67 CPM

Small Test Budget

You spent $80 and got 25,000 impressions.

($80 ÷ 25,000) × 1,000$3.20 CPM

Want to go further? Try a platform-specific calculator or read the full guide.

Frequently Asked Questions

Everything you need to know about CPM and how to use this calculator.

CPM stands for Cost Per Mille, where "mille" is Latin for one thousand. It is the cost an advertiser pays for every 1,000 ad impressions, and the standard metric for display, video and programmatic buying.
The CPM formula is CPM = (Total Cost ÷ Total Impressions) × 1,000. For example, $500 spent on 200,000 impressions gives a CPM of $2.50.
Use Impressions = (Budget ÷ CPM) × 1,000. With a $1,000 budget and a $5 CPM, you can expect about 200,000 impressions. The "Calculate Impressions" tab does this for you.
It depends on industry and platform. Display CPMs typically range from $0.50 – $3.00, social media (Facebook, Instagram) averages $5 – $15, and niche B2B or premium placements can exceed $30+.
CPM charges per 1,000 impressions whether or not users click, which suits brand awareness. CPC charges only when someone clicks, which suits traffic and conversions. See our full CPC vs CPM vs CPA guide.
Broaden targeting, test different ad formats (native often beats banners), improve ad relevance, try less competitive time slots or regions, and consider programmatic buying through DSPs.
They use the same math from opposite sides. CPM is the advertiser's cost per 1,000 impressions. RPM is the publisher's earnings per 1,000 pageviews, usually lower because ad networks take a fee.