How to Compute CPM: Formula, Examples & CPM Calculator

How to Compute CPM: Formula, Examples & Calculator

Learn how to compute CPM from advertising cost and impressions, understand the CPM calculation formula, work through real examples, and calculate campaign cost or impressions when you already know the CPM.

Quick answer: To compute CPM, divide the total advertising cost by the total number of impressions and multiply the result by 1,000.

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

For example, if you spend $500 and receive 100,000 impressions, your CPM is $5.

Compute CPM With Our Free CPM Calculator

You can calculate CPM without doing the math manually. Enter any two of three values — total campaign cost, CPM, or number of impressions — and the calculator will determine the missing value.

Use the CPMinsider calculator to compute CPM, campaign cost, or impressions.

What Does CPM Mean?

CPM stands for Cost Per Mille. “Mille” means one thousand, so CPM represents the cost associated with 1,000 advertising impressions.

CPM is one of the most common metrics used to express the cost of impression-based advertising. It can be used in display advertising, video advertising, programmatic advertising, social media advertising and other digital media environments.

If an advertising campaign has a CPM of $6, for example, its advertising cost works out to $6 for every 1,000 impressions at that rate.

How Do You Compute CPM?

The standard CPM calculation requires two pieces of information:

  • The total advertising cost
  • The total number of impressions

Once you have these two values, use the following formula:

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

The × 1,000 converts the cost per individual impression into a standardized cost per 1,000 impressions.

How to Compute CPM Step by Step

You can compute CPM in three simple steps.

Step 1: Find the total advertising cost

Determine how much was actually spent on the campaign during the period you are analyzing.

Step 2: Find the total impressions

Determine how many ad impressions were delivered during the same period.

Step 3: Apply the CPM formula

Divide the total cost by the total impressions and multiply the result by 1,000.

How to Compute CPM With an Example

Suppose an advertiser spends $500 on a campaign and receives 100,000 impressions.

Given:

Total Cost = $500
Total Impressions = 100,000

Now apply the formula:

CPM = ($500 ÷ 100,000) × 1,000

CPM = $0.005 × 1,000

CPM = $5

Answer:

The campaign has a CPM of $5, meaning the cost works out to $5 for every 1,000 impressions.

Another CPM Calculation Example

Imagine a campaign spends $1,200 and delivers 300,000 impressions.

CPM = ($1,200 ÷ 300,000) × 1,000

CPM = $0.004 × 1,000

CPM = $4

Therefore, the campaign’s effective CPM is $4.

CPM Calculation Examples

Total Cost Impressions CPM
$100 20,000 $5
$250 50,000 $5
$500 100,000 $5
$1,000 200,000 $5
$2,500 500,000 $5

These examples show the same relationship at different campaign sizes: when the cost is $5 for every 1,000 impressions, the CPM remains $5 regardless of the total number of impressions.

How to Compute Campaign Cost From CPM

You can reverse the CPM formula when you know the CPM and the number of impressions but want to calculate the advertising cost.

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

Example

Suppose the CPM is $8 and the campaign delivers 250,000 impressions.

Total Cost = ($8 × 250,000) ÷ 1,000

Total Cost = $2,000

Campaign Cost = $2,000

How to Compute Impressions From CPM

If you know the campaign cost and CPM, you can calculate the number of impressions that the campaign represents at that CPM.

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

Example

Suppose you have a $2,000 advertising budget and the CPM is $5.

Impressions = ($2,000 ÷ $5) × 1,000

Impressions = 400 × 1,000

Impressions = 400,000

The Three CPM Calculations to Know

CPM, total cost and impressions are connected. If you know any two of these values, you can calculate the third.

What You Want to Find Formula
CPM (Total Cost ÷ Impressions) × 1,000
Total Cost (CPM × Impressions) ÷ 1,000
Impressions (Total Cost ÷ CPM) × 1,000

How Is CPM Different From Cost Per Impression?

CPM represents the cost for 1,000 impressions, while cost per impression represents the cost associated with a single impression.

Cost Per Impression
Cost Per Impression = Total Cost ÷ Total Impressions

You can also calculate cost per impression from CPM:

From CPM
Cost Per Impression = CPM ÷ 1,000

For example, a $5 CPM corresponds to $0.005 per impression under the same cost and impression assumptions.

Where Is CPM Used?

CPM is commonly used to express the cost of impression-based advertising across different digital advertising environments.

Display Advertising Used to analyze the cost of delivering display ad impressions.
Video Advertising Used to express impression-based costs for video campaigns.
Programmatic CPM is widely used when analyzing impression-based media buying.
Social Advertising CPM can be used to evaluate the cost of reaching audiences through impression-based campaigns.
Publisher Monetization Publishers can use CPM-related metrics to analyze advertising revenue relative to impressions.
Media Planning CPM can help estimate campaign cost from expected impression volume.

Does a Lower CPM Always Mean Better Performance?

Not necessarily. CPM only describes the cost associated with impressions. It does not by itself tell you whether an advertising campaign achieved its overall business objective.

Depending on the campaign goal, you may also need to examine metrics such as:

  • CTR — click-through rate
  • CPC — cost per click
  • Conversion Rate — percentage of users who complete a desired action
  • CPA — cost per acquisition or conversion
  • CPL — cost per lead
  • ROAS — return on advertising spend
Important:

A campaign with a lower CPM is not automatically more successful than one with a higher CPM. The appropriate evaluation depends on the campaign objective and the results generated from the impressions.

Common Mistakes When Computing CPM

1. Forgetting to multiply by 1,000

Dividing cost by impressions gives the cost per individual impression. To calculate CPM, multiply the result by 1,000.

2. Using budget instead of actual cost

If you are calculating the CPM of a completed or partially completed campaign, make sure the cost figure corresponds to the same reporting period as the impression count.

3. Using different periods for cost and impressions

Your advertising cost and impression figures should refer to the same campaign, date range or reporting period.

4. Confusing impressions with reach

Impressions and reach are different metrics. Impressions count ad delivery events, while reach generally refers to the number of unique users or people exposed to an advertisement.

5. Comparing CPM without considering the inventory

CPM can vary depending on factors such as audience, placement, format, geography, targeting, inventory and buying environment. Comparing two CPM values without considering these differences can provide incomplete context.

Compute CPM Instantly

If you already have your campaign cost and impression count, you don’t need to calculate CPM manually. Enter any two values in the CPMinsider calculator and let the tool calculate the missing value.

Use the CPM Calculator →

How to Compute CPM: Final Answer

To compute CPM, divide the total advertising cost by the total number of impressions and multiply the result by 1,000.

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

For example, a $500 campaign that generates 100,000 impressions has a CPM of $5.

If you know the CPM and impressions, you can calculate the campaign cost. If you know the cost and CPM, you can calculate the number of impressions. This means that any two of the three values are enough to determine the third.

For a quick calculation, use the CPMinsider CPM Calculator .

Frequently Asked Questions About Computing CPM

How do you compute CPM?

Divide the total advertising cost by the total number of impressions and multiply the result by 1,000. The formula is CPM = (Cost ÷ Impressions) × 1,000.

What is the formula for calculating CPM?

The CPM formula is CPM = (Total Advertising Cost ÷ Total Impressions) × 1,000.

How do you calculate CPM from cost and impressions?

Divide the total campaign cost by the number of impressions and multiply the result by 1,000. For example, $500 divided by 100,000 impressions and multiplied by 1,000 gives a $5 CPM.

How do you calculate cost from CPM?

Use the formula Cost = (CPM × Impressions) ÷ 1,000.

How do you calculate impressions from CPM?

Use the formula Impressions = (Cost ÷ CPM) × 1,000.

What does CPM mean?

CPM stands for Cost Per Mille and represents the cost associated with 1,000 advertising impressions.

Is CPM the same as cost per 1,000 impressions?

Yes. CPM is commonly used to express the cost per 1,000 impressions. “Mille” means one thousand.

Can I compute CPM without a calculator?

Yes. Use the CPM formula: (Total Cost ÷ Total Impressions) × 1,000. You can also use the CPMinsider calculator to calculate CPM, campaign cost or impressions.

Last updated: September 2026

CPMinsider provides educational resources covering digital advertising, AdTech, programmatic advertising, ad operations and advertising metrics.

Leave a Reply