CPM Calculator

If you're running paid advertising campaigns, CPM is one of the most fundamental metrics you'll work with. Whether you're buying display ads, social media placements, or programmatic inventory, knowing how to calculate CPM quickly can save you money and sharpen your media planning. This calculator and guide walks you through every angle: what CPM means, how the formula works, and how to use it to figure out costs, impressions, and campaign budgets. Practical examples included.

Enter Details

Result

Choose what to solve for and enter the known values.

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

What Is CPM (Cost Per Mille)?

CPM stands for Cost Per Mille, where "mille" is Latin for one thousand. In advertising, it refers to the cost an advertiser pays for one thousand impressions of their ad. An impression is counted each time an ad is displayed to a user, regardless of whether that user clicks on it.

CPM is the standard pricing model for brand awareness campaigns, display advertising, video pre-rolls, and most social media ad placements. You're paying for visibility, not necessarily for clicks or conversions.

It's worth distinguishing impressions from reach here. Reach counts the number of unique people who saw your ad. Impressions count total views, including repeat views by the same person. A CPM rate is always tied to impressions, not reach.

Publishers and ad networks quote CPM rates to reflect how much you'll spend per thousand times your ad appears. A CPM of $5 means you pay $5 for every 1,000 impressions your ad receives.

CPM Formula Explained (Cost ÷ Impressions × 1,000)

The CPM formula is straightforward:

CPM = (Total Cost ÷ Total Impressions) × 1,000

You divide the total amount you spent on the campaign by the total number of impressions it generated, then multiply by 1,000. That final multiplication step is what converts the per-impression cost into a per-thousand cost, which is how the industry standardizes comparisons between campaigns of vastly different sizes.

For example, if you divide $200 by 50,000 impressions, you get $0.004 per impression. Multiply that by 1,000 and you get a CPM of $4. Much easier to work with than six decimal places.

This formula also works in reverse. Rearranging it lets you solve for total cost or total impressions when you already know the CPM, which is exactly what the sections below cover.

How to Calculate CPM

To calculate your CPM, you need two numbers: what you spent and how many impressions you received. Plug them into the formula and you're done.

  1. Take your total campaign spend (in dollars).
  2. Divide it by the total number of impressions your ad received.
  3. Multiply the result by 1,000.

That gives you your CPM. If you spent $350 and your ad was shown 140,000 times, your CPM is ($350 ÷ 140,000) × 1,000 = $2.50.

You can use this same approach to evaluate a CPM rate a publisher is quoting you before a campaign starts. If they say inventory costs $8 CPM and you want 200,000 impressions, you can work backwards to confirm the expected cost before you commit.

Calculate Advertising Cost from CPM

If you know the CPM rate and how many impressions you want to buy, calculating the total cost is simple:

Total Cost = (CPM × Impressions) ÷ 1,000

Say a publisher is offering placements at a $6 CPM and you want your ad to run for 500,000 impressions. Multiply $6 by 500,000, then divide by 1,000. Your total cost would be $3,000.

This calculation is useful during the media planning phase. Before you finalize a buy, you can model out different impression targets against various CPM rates to see exactly how far your budget stretches. It also helps you compare one publisher's inventory against another on a level playing field.

  • CPM: $6 | Impressions: 100,000 | Cost: $600
  • CPM: $6 | Impressions: 250,000 | Cost: $1,500
  • CPM: $6 | Impressions: 500,000 | Cost: $3,000
  • CPM: $6 | Impressions: 1,000,000 | Cost: $6,000

Calculate Impressions from CPM and Budget

Sometimes you're working with a fixed budget and you want to know how many impressions you can realistically expect. The formula flips like this:

Impressions = (Budget ÷ CPM) × 1,000

If your budget is $500 and the CPM rate is $4, divide $500 by $4 to get 125, then multiply by 1,000. You'd expect 125,000 impressions for that spend.

This is particularly useful when you're comparing placements across different channels. A social media platform might offer a $10 CPM while a programmatic network quotes $2 CPM. With a $1,000 budget, that's the difference between 100,000 impressions and 500,000 impressions. Whether the higher-CPM placement is worth it depends on your audience and goals, but at least you're working with real numbers.

Run this calculation for each channel you're considering and you'll have a much clearer picture of where your impressions budget goes furthest.

CPM vs CPC vs CPA Comparison

CPM is one of three major pricing models in digital advertising. Here's how they stack up:

ModelStands ForYou Pay ForBest For
CPMCost Per MilleEvery 1,000 impressionsBrand awareness, reach campaigns
CPCCost Per ClickEach click on your adTraffic, lead generation
CPACost Per AcquisitionEach conversion or actionDirect response, e-commerce

CPM makes sense when your goal is exposure. You want people to see your brand, not necessarily act on it immediately. It's the go-to model for product launches, awareness pushes, and retargeting at scale.

CPC ties payment to clicks, so you're not charged just for eyeballs. This can be more efficient when traffic is your goal, but a high-traffic, low-intent audience can burn through a CPC budget fast.

CPA is the most performance-focused model. You only pay when someone completes a defined action like a purchase or sign-up. The trade-off is that CPA rates are typically much higher than CPM or CPC because the platform or publisher is absorbing more of the conversion risk.

In practice, many campaigns blend these models across channels depending on where a user is in the funnel.

CPM Calculation Examples for Marketing Campaigns

Seeing the formula in action across a few realistic scenarios makes it easier to apply in your own planning.

Example 1: Evaluating a Display Ad Buy
You spent $1,200 on a display campaign that delivered 600,000 impressions. CPM = ($1,200 ÷ 600,000) × 1,000 = $2.00. A $2 CPM is on the lower end for display, suggesting efficient reach.

Example 2: Social Media Campaign Budget
A Facebook campaign is priced at a $9 CPM. Your budget is $900. Impressions = ($900 ÷ $9) × 1,000 = 100,000 impressions.

Example 3: Comparing Two Publishers
Publisher A offers 400,000 impressions for $1,600. Publisher B offers 300,000 impressions for $900. Publisher A's CPM = ($1,600 ÷ 400,000) × 1,000 = $4.00. Publisher B's CPM = ($900 ÷ 300,000) × 1,000 = $3.00. Publisher B is cheaper per thousand impressions, but Publisher A delivers more total volume for the dollar if you have the budget.

Example 4: Video Pre-Roll
You want 2 million video impressions at a $15 CPM. Total cost = ($15 × 2,000,000) ÷ 1,000 = $30,000. Video typically commands higher CPMs because completion rates and engagement tend to be stronger than static display.

How to Improve Campaign Performance Using CPM

Tracking CPM is just the start. The real value comes from using it to make smarter decisions about where and how you advertise.

Benchmark against industry averages. CPM rates vary widely by channel, industry, and audience. Display ads often run $1 to $5 CPM. Social media can range from $5 to $30+ depending on targeting. Knowing typical ranges helps you spot when you're overpaying or when a deal is genuinely good.

Refine your targeting. Highly targeted audiences almost always cost more per thousand impressions, but they tend to convert better. A broad $2 CPM campaign might generate far less value than a focused $12 CPM campaign aimed at the right segment. Compare cost-per-result across campaigns, not just CPM in isolation.

Test creative to lower effective CPM. Ad networks like Meta and Google reward high-engagement creative with better delivery. If your ad gets strong click-through or engagement rates, the algorithm often shows it more and charges you less per impression over time. Better creative directly affects your CPM efficiency.

Monitor frequency. A very low CPM can sometimes signal that the same people are seeing your ad over and over. High frequency without conversion is wasted spend. Watch your frequency cap settings alongside your CPM data.

Use CPM alongside other metrics. A low CPM campaign isn't automatically successful. Pair it with click-through rate, conversion rate, and cost per acquisition to get a full picture of campaign health. CPM tells you how efficiently you're buying exposure; everything else tells you whether that exposure is doing anything useful.

Other Finance Calculators

Explore all