In digital advertising, getting more impressions isn’t necessarily the goal — getting those impressions at the right cost is.
You can have millions of people seeing your ads, but if you’re paying too much to reach them, your marketing budget may not be working efficiently.
That’s where Cost Per Mille (CPM) comes in.
CPM tells you how much you’re paying, on average, to generate 1,000 ad impressions. It is one of the fundamental metrics used to understand the cost of buying attention across advertising platforms.
For ecommerce businesses, CPM is particularly useful for understanding the cost of reaching an audience before those people click, purchase, or become customers.
CPM stands for Cost Per Mille, where mille means one thousand.
CPM measures the cost of serving 1,000 impressions of an advertisement.
The basic formula is:
CPM = (Total Ad Spend ÷ Total Impressions) × 1,000
For example, suppose you spend $500 on an advertising campaign and generate 100,000 impressions.
Your CPM would be:
($500 ÷ 100,000) × 1,000 = $5 CPM
This means you’re paying an average of $5 for every 1,000 times your ad is shown.
Google defines CPM as the cost for 1,000 impressions, while Shopify similarly describes it as the cost an advertiser pays to generate 1,000 ad views.
Before understanding CPM, it’s important to understand impressions.
An impression generally represents an instance where an advertisement is served or displayed.
For example:
So, 1,000 impressions does not necessarily mean 1,000 unique people.
If 500 people each see your ad twice, you’ve generated:
500 people × 2 views = 1,000 impressions
Google defines an impression as each time an ad is shown, although the exact measurement can vary by advertising platform and ad format.
Read more: Impressions: Definition
This distinction becomes important when evaluating reach vs. frequency.
Example 1: Simple CPM calculation
A Shopify store spends $1,200 on Meta Ads and generates 300,000 impressions.
CPM = ($1,200 ÷ 300,000) × 1,000
CPM = $4
The business paid an average of $4 per 1,000 impressions.
Example 2: Comparing two campaigns
Imagine you have two campaigns:
| Metric | Campaign A | Campaign B |
|---|---|---|
| Ad Spend | $1,000 | $1,000 |
| Impressions | 250,000 | 125,000 |
| CPM | $4 | $8 |
Both campaigns spent exactly the same amount.
But Campaign A generated twice as many impressions.
From a pure impression-cost perspective, Campaign A is more efficient.
However, that doesn’t automatically mean Campaign A is the better campaign.
Why?
Because CPM only tells you about the cost of generating impressions.
It doesn’t tell you:
That’s why CPM should rarely be analyzed in isolation.
This is one of the most important things to understand about CPM.
A low CPM doesn’t necessarily mean your advertising is successful.
Imagine:
Campaign A
CPM: $3
CTR: 0.5%
Conversion Rate: 1%
Revenue: $2,000
Campaign B
CPM: $8
CTR: 2.5%
Conversion Rate: 4%
Revenue: $15,000
Campaign A looks better if you’re only looking at CPM.
But Campaign B may be dramatically more valuable to the business.
The goal isn’t always to buy the cheapest impressions.
The goal is to turn your marketing investment into valuable business outcomes.
This is why CPM should be evaluated alongside metrics such as CTR, CPC, CPA, ROAS, conversion rate, AOV, MER, and ultimately profit.
Google specifically notes that CPM is most useful when comparing ads, ad groups, and campaigns
rather than treating the metric in isolation.
Read more: About YouTube ads and view metrics
CPM helps ecommerce businesses understand how expensive it is to reach their target audience.
If CPM suddenly increases, you may be paying more to get the same amount of exposure.
For example:
Before
$10 CPM → $1,000 spend → 100,000 impressions
After
$15 CPM → $1,000 spend → ~66,667 impressions
The same $1,000 budget now buys significantly fewer impressions.
That can eventually affect the rest of your funnel.
Fewer impressions can mean:
Fewer visitors → fewer opportunities to convert → potentially fewer customers
But the relationship isn’t always linear because ad quality, targeting, conversion rate, AOV, and customer behavior can change at the same time.
CPM isn’t a fixed price.
It can change significantly depending on the advertising environment and your campaign.
1. Audience Competition
![]()
One of the biggest factors is how many advertisers are competing for the same audience.
If many brands want to reach the same audience, the cost of that advertising inventory can increase.
For example, an audience interested in luxury fashion may be more competitive than a broad audience.
As competition increases, CPM can rise.
2. Audience Size

A very narrow audience can sometimes become expensive because there is less available inventory and more competition for the same people.
For example:
Broad audience:
Women interested in beauty
vs.
Narrow audience:
Women aged 25–34 in New York who purchased premium skincare products in the last 30 days
The second audience may be more valuable — but it can also be more expensive to reach.
3. Geography

CPM can vary substantially between countries and regions.
Reaching consumers in one market may cost significantly more than reaching consumers in another.
This means comparing your CPM with a business operating in a completely different country can be misleading.
Google also notes that a “good” average CPM can vary by country because market conditions and auction dynamics differ.
Read more: About YouTube ads and view metrics
4. Time of Year

Advertising demand changes throughout the year.
During major shopping periods, more advertisers may compete for attention.
Think about:
A campaign that costs $6 CPM during one period might cost considerably more during another.
Therefore, a CPM increase doesn’t necessarily mean your campaign suddenly became worse.
The advertising market itself may have changed.
5. Ad Placement

Different placements can have different costs.
For example:
The available inventory, audience, competition, and engagement behavior can all influence CPM.
6. Creative Quality

Your creative can also influence advertising performance.
If your ads consistently fail to capture attention, users may be less likely to engage with them.
Over time, poor creative performance can contribute to weaker campaign economics.
This is one reason ecommerce advertisers should regularly test:
A lower CPM is useful, but a compelling creative that produces better downstream results can be more valuable even if its CPM is higher.
CPM is only one of several important advertising cost metrics.
The easiest way to understand the difference is to look at what you’re measuring the cost of.
CPM and CPC are closely connected.
Suppose you have:
For every 1,000 impressions, approximately:
1,000 × 2% = 20 clicks
You spent $10 to generate those 20 clicks.
Therefore:
CPC = $10 ÷ 20 = $0.50
So, approximately:
CPC = CPM ÷ (1,000 × CTR)
This relationship is extremely useful because it shows why CPM alone doesn’t determine CPC.
A campaign can have a high CPM but still generate inexpensive clicks if the ad has a strong CTR.
Likewise, a low CPM can still result in expensive clicks if very few people engage with the ad.
Consider two campaigns.
Campaign A
Campaign B
Campaign A has the lower CPM.
But Campaign B may generate significantly more traffic from the same number of impressions.
This illustrates an important principle:
A more expensive impression isn’t necessarily a more expensive customer.
You need to follow the numbers further down the funnel.
CPM → CTR → CPC → Conversion Rate → CPA/CAC → Revenue → Profit
That’s a much more useful way to evaluate advertising performance.
No.
This is a common mistake.
Imagine you’re selling a premium product worth $500.
You could potentially lower CPM by targeting a very broad audience.
But if those impressions reach people who are unlikely to buy, the cheaper CPM may not help your business.
Alternatively, you might pay a higher CPM to reach a highly relevant audience that converts much better.
For example:
| Campaign A | Campaign B | |
|---|---|---|
| CPM | $4 | $9 |
| CTR | 0.7% | 2.5% |
| Conversion Rate | 1% | 4% |
| Customer Quality | Low | High |
Campaign B looks worse if CPM is your only metric.
But it could be significantly more profitable.
The cheapest audience isn’t always the most valuable audience.
Another important distinction is between impressions and unique reach.
Suppose your campaign generates:
100,000 impressions
That doesn’t necessarily mean:
100,000 people saw your ad.
You might have reached:
40,000 people
with an average frequency of:
2.5 impressions per person
This matters because repeatedly showing the same advertisement to the same audience can eventually lead to ad fatigue.
Shopify also highlights ad fatigue as something advertisers should watch for when running social advertising, particularly when creative is not refreshed regularly.
So when CPM changes, don’t just look at impressions.
Look at:
CPM + Reach + Frequency + CTR + Conversion
together.
You may also encounter vCPM, or viewable CPM.
Traditional CPM is based on impressions.
vCPM focuses on viewable impressions.
The distinction matters because an ad can technically be served without necessarily being meaningfully visible to the user.
Google describes vCPM as a model where advertisers pay based on impressions that are measured as viewable.
This can make vCPM useful when the goal is not simply to have an ad served, but to have it actually seen.
If your MER is declining, don’t immediately assume you need to cut ad spend.
Look at the entire equation.
A useful ecommerce advertising analysis could look like this:
CPM is a measurement of advertising cost, not advertising success.
It tells you how much you’re paying to generate 1,000 impressions, making it particularly useful for understanding the cost of reaching an audience and comparing advertising campaigns.
But CPM becomes much more valuable when you connect it to the rest of your ecommerce funnel:
CPM → CTR → CPC → Conversion Rate → CPA/CAC → Revenue → Profit
A campaign with a higher CPM can outperform a campaign with a lower CPM if it reaches better customers, generates more conversions, produces higher AOV, or creates stronger profitability.
So instead of asking:
“How do I get my CPM lower?”
ask:
“What am I getting from the impressions I’m paying for?”
That shift takes you from optimizing ad costs to optimizing business performance.
For Shopify merchants, this is especially important because advertising performance doesn’t exist in isolation. Your real results depend on how advertising connects with sales, COGS, AOV, conversion rate, customer retention, and profit.
The cheapest impression isn’t always the best impression. The best impression is the one that contributes to profitable growth.