CPM Calculation Example: How to Calculate CPM Step by Step

CPM Calculation Example: How to Calculate CPM Step by Step

Looking for a simple CPM calculation example? The easiest way to calculate CPM is to divide total advertising cost by total impressions and multiply the result by 1,000.

Below are practical examples showing how to calculate CPM from advertising spend and impressions, as well as how to calculate total cost or impressions when CPM is already known.

CPM calculation in one line:
CPM = (Total Advertising Cost ÷ Total Impressions) × 1,000

For example, if an advertiser spends $500 and receives 100,000 impressions:

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

What Is CPM?

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

CPM is commonly used to evaluate and compare the cost of impression-based advertising campaigns across different platforms, publishers, audiences, and ad formats.

The standard CPM calculation is:

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

CPM Calculation Example #1: $500 and 100,000 Impressions

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

Step 1: Write down the numbers

Total Advertising Cost = $500

Total Impressions = 100,000

Step 2: Apply the CPM formula
CPM = ($500 ÷ 100,000) × 1,000
Step 3: Calculate

$500 ÷ 100,000 = $0.005

$0.005 × 1,000 = $5

CPM = $5

Therefore, the campaign has a $5 CPM.

CPM Calculation Example #2: $1,200 and 300,000 Impressions

Now suppose a campaign costs $1,200 and generates 300,000 impressions.

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

First:

$1,200 ÷ 300,000 = $0.004

Then:

$0.004 × 1,000 = $4 CPM
Final CPM = $4

CPM Calculation Example #3: $2,500 and 500,000 Impressions

Consider a larger campaign with a total advertising spend of $2,500 and 500,000 impressions.

Calculation

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

CPM = $0.005 × 1,000

CPM = $5

The campaign’s CPM is therefore $5.

CPM Calculation Example #4: A $10 CPM Campaign

Sometimes you already know the CPM and want to understand the cost for a specific number of impressions.

Suppose the CPM is $10 and the campaign delivers 150,000 impressions.

In this situation, use the reverse CPM formula:

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

Total Cost = ($10 × 150,000) ÷ 1,000

Total Cost = $1,500

Total Advertising Cost = $1,500

CPM Calculation Example #5: Finding Impressions

CPM can also be used to calculate the number of impressions that a particular budget could generate.

Suppose an advertiser has a budget of $2,000 and the CPM is $5.

Use this formula:

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

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

Impressions = 400 × 1,000

Impressions = 400,000

CPM Calculation Examples at a Glance

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

These examples have the same CPM because the advertising cost increases proportionally with the number of impressions.

How to Calculate CPM From Cost and Impressions

When you are calculating the actual CPM of an advertising campaign, use the following process:

  1. Find the total advertising cost.
  2. Find the total number of impressions.
  3. Divide cost by impressions.
  4. Multiply the result by 1,000.
CPM = (Cost ÷ Impressions) × 1,000

For example, a campaign that spends $750 on 150,000 impressions has:

($750 ÷ 150,000) × 1,000 = $5 CPM

Why Is CPM Multiplied by 1,000?

CPM means cost per thousand impressions. Dividing the advertising cost by impressions first gives the cost of one individual impression.

Multiplying that result by 1,000 converts it into a standardized cost for 1,000 impressions.

Example

Advertising cost = $200

Impressions = 40,000

Cost per impression = $200 ÷ 40,000 = $0.005

Cost per thousand = $0.005 × 1,000 = $5

CPM Calculation With Different Impression Volumes

The number of impressions alone does not determine CPM. The advertising cost must be considered as well.

Campaign Cost Impressions CPM
Campaign A $300 100,000 $3
Campaign B $600 100,000 $6
Campaign C $900 300,000 $3
Campaign D $1,500 250,000 $6

This demonstrates why both cost and impressions are required when calculating CPM.

CPM Calculation Example for Digital Advertising

Suppose a digital advertising campaign runs across a publisher’s website and generates:

  • Advertising spend: $1,800
  • Impressions: 600,000
CPM = ($1,800 ÷ 600,000) × 1,000
CPM = $3

The effective cost per 1,000 impressions is therefore $3.

CPM Calculation Example for a Publisher

Publishers can use a similar calculation to understand the effective revenue generated from impressions.

Suppose a publisher earns $900 from 300,000 impressions.

eCPM = ($900 ÷ 300,000) × 1,000
eCPM = $3

In this revenue context, the metric is commonly referred to as eCPM, or effective revenue per 1,000 impressions.

Three CPM Calculations You Should Know

The CPM relationship can be rearranged depending on which value you need to find.

Known Information Calculate Formula
Cost + Impressions CPM (Cost ÷ Impressions) × 1,000
CPM + Impressions Cost (CPM × Impressions) ÷ 1,000
Cost + CPM Impressions (Cost ÷ CPM) × 1,000

Calculate CPM Online

If you already have the campaign cost and impression data, you can calculate CPM manually using the examples above. For a faster calculation, you can use the free CPM Calculator from CPMinsider .

The calculator lets you enter any two of these values:

  • Total advertising cost
  • CPM
  • Total impressions

It then calculates the missing value.

Common CPM Calculation Mistakes

Forgetting to multiply by 1,000

Dividing cost by impressions without multiplying by 1,000 calculates the cost of one impression rather than CPM.

Using the wrong impression count

Make sure the impression count corresponds to the same campaign, inventory, and reporting period as the advertising cost.

Mixing currencies

When comparing campaigns, make sure monetary values are expressed in a consistent currency.

Confusing CPM and CPC

CPM measures cost per 1,000 impressions, while CPC measures cost per click. The two metrics use different formulas.

Frequently Asked Questions About CPM Calculation

What is an example of a CPM calculation?

If an advertiser spends $500 and receives 100,000 impressions, CPM is calculated as ($500 ÷ 100,000) × 1,000, resulting in a $5 CPM.

How do you calculate CPM step by step?

Divide total advertising cost by total impressions, then multiply the result by 1,000. For example, $1,000 spent on 200,000 impressions gives a $5 CPM.

What is the CPM formula?

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

How do you calculate cost from CPM?

Multiply CPM by the number of impressions and divide by 1,000: Total Cost = (CPM × Impressions) ÷ 1,000.

How do you calculate impressions from CPM?

Divide the total advertising cost by CPM and multiply by 1,000: Impressions = (Cost ÷ CPM) × 1,000.

Can CPM be calculated without a calculator?

Yes. You only need total cost and total impressions. Apply the CPM formula manually or use an online CPM calculator for a quicker result.

Calculate Your CPM

Use the CPMinsider calculator to calculate CPM, advertising cost, or impressions from any two known values.

Open CPM Calculator

Final Takeaway

The basic CPM calculation is simple:

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

For example, spending $500 to generate 100,000 impressions produces a $5 CPM. The same relationship can also be reversed to calculate advertising cost or impressions when CPM is known.

If you want to check your calculation quickly, use the free CPM Calculator .