How to Calculate CPM
CPM, or Cost Per Mille, is a common advertising metric used to measure the cost of reaching 1,000 ad impressions. If you know the total advertising cost and the number of impressions, you can calculate CPM using a simple formula.
To calculate CPM, divide the total advertising cost by the total number of impressions and multiply the result by 1,000.
Calculate CPM With Our Free CPM Calculator
If you already have your campaign cost and impression numbers, you can calculate CPM instantly using the calculator below. You can also use it in reverse to calculate the total cost or number of impressions when CPM and one other value are known.
What Is CPM?
CPM stands for Cost Per Mille, where “mille” means one thousand. In digital advertising, CPM represents the cost associated with 1,000 ad impressions.
For example, if an advertising campaign has a CPM of $4, the advertiser is paying an effective rate of $4 for every 1,000 impressions delivered.
CPM is commonly used when evaluating display advertising, video advertising, programmatic campaigns, publisher inventory, and other impression-based advertising campaigns.
How to Calculate CPM Step by Step
Calculating CPM requires two numbers:
- Total advertising cost – how much was spent on the campaign.
- Total impressions – how many ad impressions were delivered.
Once you have these numbers, follow these three steps:
Step 1: Determine the total advertising cost
Start with the amount spent on the advertising campaign. For example, suppose an advertiser spent $500.
Step 2: Determine the total impressions
Next, find the number of impressions delivered by the campaign. Suppose the campaign generated 100,000 impressions.
Step 3: Apply the CPM formula
Using the example:
Therefore, the campaign’s CPM is $5.
CPM Calculation Example
Let’s look at another example. Suppose an advertiser spends $1,200 and receives 300,000 impressions.
$1,200 ÷ 300,000 = $0.004 per impression
$0.004 × 1,000 = $4 CPM
The campaign therefore has a CPM of $4.
CPM Formula
The standard formula for calculating CPM is:
Where:
- CPM = cost per 1,000 impressions
- Total Cost = total advertising spend
- Total Impressions = number of ad impressions delivered
The multiplication by 1,000 converts the cost per individual impression into the cost per 1,000 impressions.
How to Calculate Advertising Cost From CPM
You can also use the CPM formula in reverse when you know the CPM and the number of impressions.
Suppose your CPM is $6 and the campaign delivers 250,000 impressions.
Total Cost = ($6 × 250,000) ÷ 1,000
Total Cost = $1,500
So, a campaign with a $6 CPM and 250,000 impressions would have an advertising cost of $1,500.
How to Calculate Impressions From CPM
If you know the total advertising cost and CPM, you can calculate the estimated number of impressions using this formula:
Suppose an advertiser has a budget of $2,000 and a CPM of $5.
Impressions = ($2,000 ÷ $5) × 1,000
Impressions = 400,000 impressions
The Three CPM Calculations
CPM calculations can be used to find any one of three values when the other two are known.
| What You Know | What You Calculate | Formula |
|---|---|---|
| Total Cost + Impressions | CPM | (Cost ÷ Impressions) × 1,000 |
| CPM + Impressions | Total Cost | (CPM × Impressions) ÷ 1,000 |
| Total Cost + CPM | Impressions | (Cost ÷ CPM) × 1,000 |
Why Is CPM Multiplied by 1,000?
The “M” in CPM comes from the Latin word mille, meaning one thousand. Advertising platforms use CPM to express the cost of 1,000 impressions rather than the cost of a single impression.
For example, if an advertiser spends $100 for 20,000 impressions:
The $5 figure makes the campaign cost easier to compare with other campaigns that have different numbers of impressions.
How to Calculate CPM in Advertising
In advertising, the calculation itself is the same regardless of the campaign type:
The numbers used in the calculation may come from an ad server, advertising platform, DSP, publisher reporting system, or campaign report.
For example, if a display campaign spends $750 and generates 150,000 impressions:
CPM vs. Cost Per Impression
CPM represents the cost for 1,000 impressions, while cost per impression represents the cost of a single impression.
You can calculate the cost per individual impression by dividing CPM by 1,000.
For example, a $5 CPM corresponds to:
This does not mean that every individual impression is necessarily purchased or reported at exactly the same effective cost. CPM is a normalized metric used to express cost at a 1,000-impression level.
When Is CPM Used?
CPM is particularly useful when the main objective is to measure or compare the cost of delivering impressions.
- Display advertising campaigns
- Programmatic advertising
- Video advertising
- Publisher advertising inventory
- Brand awareness campaigns
- Media planning and campaign forecasting
- Comparing advertising inventory costs
Common Mistakes When Calculating CPM
1. Forgetting to multiply by 1,000
The CPM formula measures cost per 1,000 impressions. Dividing cost by impressions without multiplying by 1,000 gives the cost per individual impression instead of CPM.
2. Using the wrong impression count
Make sure the impression number corresponds to the same campaign, reporting period, and cost being analyzed.
3. Mixing different currencies
If the advertising cost and CPM are being compared across campaigns, make sure the monetary values are expressed in a consistent currency.
4. Confusing CPM with CPC
CPM measures cost per 1,000 impressions, while CPC measures cost per click. They are different advertising metrics and use different calculations.
Calculate CPM Online
If you don’t want to calculate CPM manually, you can use the CPM Calculator from CPMinsider.
Enter any two of the following values:
- Total advertising cost
- CPM
- Total impressions
The calculator can then determine the missing value.
Calculate Your CPM Now
Use the free CPM calculator to calculate CPM, advertising cost, or impressions.
Open CPM CalculatorFrequently Asked Questions About Calculating CPM
How do you calculate CPM?
Calculate CPM by dividing total advertising cost by total impressions and multiplying the result by 1,000.
What is the formula for calculating CPM?
The CPM formula is: CPM = (Total Cost ÷ Total Impressions) × 1,000.
How do you calculate CPM from cost and impressions?
Divide the total cost by the number of impressions and multiply by 1,000. For example, $500 spent on 100,000 impressions results in a $5 CPM.
How do you calculate advertising cost from CPM?
Multiply CPM by the number of impressions and divide by 1,000. The formula is: Total Cost = (CPM × Impressions) ÷ 1,000.
How do you calculate impressions from CPM?
Divide total advertising cost by CPM and multiply by 1,000. The formula is: Impressions = (Cost ÷ CPM) × 1,000.
Why is CPM multiplied by 1,000?
CPM means Cost Per Mille, or cost per thousand impressions. Multiplying by 1,000 converts the cost per individual impression into a cost per 1,000 impressions.
Can I calculate CPM without a calculator?
Yes. You only need the total advertising cost and total impressions. Apply the CPM formula manually or use a free online CPM calculator to calculate it automatically.
Final Takeaway
Calculating CPM is straightforward: divide the total advertising cost by the total number of impressions and multiply by 1,000.
Once you understand this formula, you can also calculate the required advertising cost or estimated impressions when CPM is known. For quick calculations, use the free CPM calculator .
