Xerobit

CPM Calculator: Cost Per Thousand Impressions

A CPM calculator finds the cost per thousand impressions for an advertising campaign. Enter any two of the three values (total cost, impressions or CPM) and the third is computed instantly. The tool runs entirely in your browser, so no data is uploaded anywhere.

Result

  • CPM
    $2.00
  • Total cost
    $500.00
  • Impressions
    250,000

How to use the cpm calculator

  1. Enter any two of the three fields: total cost, impressions or CPM.
  2. Leave the field you want to find blank.
  3. The missing value appears immediately as you type.
  4. Use the result to compare ad placements or set campaign budgets.

How the CPM formula works

CPM stands for cost per mille, where mille is Latin for one thousand. It tells you how much an advertiser pays for every 1,000 times an ad is shown. The core formula is:

CPM = (Total Cost / Impressions) x 1,000

You can rearrange this to solve for any variable. To find total cost when you know the CPM and impressions: Total Cost = (CPM x Impressions) / 1,000. To find impressions when you know the cost and CPM: Impressions = (Total Cost / CPM) x 1,000.

For example, if you spent $500 and received 250,000 impressions, the calculation is (500 / 250,000) x 1,000 = 2.00. Your CPM is $2.00.

Typical CPM rates by channel

CPM varies widely depending on the platform, audience targeting and ad format. Below are approximate ranges for common digital channels. These figures shift constantly based on market demand.

ChannelTypical CPM range
Display ads (general)$1 to $5
Social media feeds$5 to $15
Video pre-roll$10 to $30
Search engine ads$15 to $50+
Email newsletters$15 to $40

Niche audiences with high purchase intent command higher rates. A broad entertainment site will have a lower CPM than a specialized B2B publication because the latter reaches buyers who are closer to making a decision.

CPM versus CPC and CPA

CPM measures cost per thousand impressions, meaning you pay for visibility regardless of whether anyone clicks. This model suits brand awareness campaigns where the goal is reach rather than immediate action.

CPC (cost per click) charges only when someone clicks the ad. CPA (cost per acquisition) charges only when a specific conversion happens, such as a sale or sign-up. When comparing campaigns across these models, convert everything to a common metric. If you know your click-through rate, you can estimate the effective CPC from a CPM buy: eCPC = CPM / (CTR x 10), where CTR is expressed as a percentage.

Common mistakes when calculating CPM

The most frequent error is forgetting to multiply by 1,000. Dividing cost by impressions gives you cost per single impression, which produces a tiny decimal that is not the standard CPM figure. Always apply the multiplier.

Another mistake is mixing up gross and net impressions. Some platforms report served impressions while others report viewable impressions. Viewable CPM (vCPM) counts only ads that actually appeared on screen for a minimum duration, and it is always higher than standard CPM for the same spend.

Finally, ensure currency consistency. If your budget is in euros but the platform reports CPM in dollars, convert before comparing.

Using CPM to plan a budget

Media planners use CPM to forecast how far a budget will stretch. If a client allocates $10,000 and the target publisher charges a $4.00 CPM, the expected impressions are (10,000 / 4.00) x 1,000 = 2,500,000.

This approach lets you compare publishers side by side. Publisher A might charge $3.00 CPM with a smaller, less engaged audience, while Publisher B charges $8.00 CPM but delivers higher conversion rates. The raw CPM alone does not tell you which is better; pair it with downstream metrics like conversions or revenue to evaluate true efficiency.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Find CPM from budget and reachTotal cost ($): 500; Impressions: 250000CPM: $2.00; Total cost: $500.00; Impressions: 250,000
Find cost for a target CPMImpressions: 1000000; CPM ($): 3.5Total cost: $3,500.00; Impressions: 1,000,000; CPM: $3.50
Find impressions you can affordTotal cost ($): 1200; CPM ($): 4Impressions: 300,000; Total cost: $1,200.00; CPM: $4.00
Small local campaignTotal cost ($): 75; Impressions: 15000CPM: $5.00; Total cost: $75.00; Impressions: 15,000

FAQ

What does CPM stand for?

CPM stands for cost per mille. Mille means one thousand in Latin, so CPM is the cost per one thousand ad impressions.

How do I calculate CPM manually?

Divide the total campaign cost by the number of impressions, then multiply the result by 1,000. For instance, $200 spent on 50,000 impressions gives (200 / 50,000) x 1,000 = $4.00 CPM.

Is a lower CPM always better?

Not necessarily. A very low CPM may indicate low-quality inventory or poor targeting. Evaluate CPM alongside engagement and conversion metrics to judge true value.

What is the difference between CPM and vCPM?

Standard CPM counts every served impression. Viewable CPM (vCPM) counts only impressions that met viewability criteria, such as being on screen for at least one second with half the pixels visible.

Can I use this CPM calculator for social media ads?

Yes. The math is identical regardless of platform. Enter the total spend and impressions reported by Facebook, TikTok, LinkedIn or any other network to find your CPM.

Why does my CPM change during a campaign?

Ad auctions fluctuate based on competition, time of day, seasonality and audience availability. CPM often rises during peak shopping periods like November and December.