The CPM formula is Total Ad Cost divided by Total Impressions, multiplied by 1,000. CPM stands for Cost Per Mille, the price advertisers pay for 1,000 ad impressions. It is the standard pricing unit for display, video, and social advertising.
TL;DR: What Is CPM?
- Core formula: CPM = (Total Cost / Total Impressions) x 1,000.
- What it measures: the price of 1,000 ad impressions, not clicks or conversions.
- Why it matters: CPM is the universal pricing unit across display, video, and paid social.
- Derived formulas: Cost = (CPM x Impressions) / 1,000 and Impressions = (Cost x 1,000) / CPM.
- Watch out: never compare raw CPM across channels without normalizing for audience and viewability.
What Is CPM (Cost per Mille)?
CPM stands for Cost Per Mille, where "mille" is Latin for 1,000. In advertising, CPM is the amount an advertiser pays to serve 1,000 impressions of an ad. An impression is counted each time an ad is fetched and rendered, even if the user does not click. CPM is the oldest and most common way to buy digital media because it scales cleanly with reach: you pay for attention potential, not outcomes.
For a startup ad-ops team, CPM is the first lens you use to compare the cost of attention across channels. A low CPM means cheap reach; a high CPM usually signals premium inventory, tight targeting, or strong competition. CPM alone does not tell you whether the campaign made money, but it is the entry point for every downstream metric, from click-through rate to return on ad spend.
Because CPM is so universal, it is also the easiest metric to benchmark externally. Agencies, platforms, and analytics tools all report it the same way, so you can compare your numbers against industry ranges without translation. That makes CPM the lingua franca of media buying, the one figure every stakeholder from founder to agency partner can read at a glance.
What Is the CPM Formula?
The CPM formula is a simple ratio that normalizes cost to a standard unit of 1,000 impressions:
CPM = (Total Cost / Total Impressions) x 1,000
In this formula, Total Cost is the amount spent on the campaign or ad set, and Total Impressions is the number of times the ad was shown. Multiplying by 1,000 converts the per-impression cost into a per-mille cost so the number is easy to read.
You can rearrange the formula to solve for the other two variables, which is useful when planning or auditing a campaign:
Cost = (CPM x Impressions) / 1,000
Impressions = (Total Cost x 1,000) / CPM
These three equations are the entire CPM math system. If you know any two values, you can always solve for the third. In practice, the derived formulas do most of the planning work: the Cost equation lets you set a budget once you pick a target CPM and impression goal, and the Impressions equation tells you how far a fixed budget will stretch at a given rate. Keep all three on a single cheat sheet so your team never rebuilds the math from scratch.
How Do You Calculate CPM?
Here is a step-by-step worked example using realistic campaign numbers. Suppose you ran a video campaign with a $5,000 spend and it delivered 2,000,000 impressions.
Step 1: Write down the inputs. Total Cost = $5,000. Total Impressions = 2,000,000.
Step 2: Divide cost by impressions. $5,000 / 2,000,000 = $0.0025 per single impression.
Step 3: Multiply by 1,000 to get the per-mille cost. $0.0025 x 1,000 = $2.50.
Step 4: State the result. The CPM is $2.50, meaning you paid $2.50 for every 1,000 impressions delivered.
This matches the derived formula: ($5,000 x 1,000) / 2,000,000 = $2.50. Always sanity-check your result by plugging it back into one of the rearranged equations. If you had started from a $2.50 target CPM and a 2,000,000 impression goal, the Cost equation would have told you to budget exactly $5,000, confirming the plan before a dollar was spent.
What Do CPM Formula Examples Look Like?
The table below shows how the same formula behaves across different spend and impression levels. Notice how a modest change in impressions swings CPM sharply when cost is fixed, and how an underperforming campaign (low impressions for the spend) produces a painful CPM.
| Scenario | Ad Cost | Impressions | CPM |
|---|---|---|---|
| Brand awareness video | $5,000 | 2,000,000 | $2.50 |
| Retargeting display | $3,000 | 1,500,000 | $2.00 |
| Premium LinkedIn push | $8,000 | 400,000 | $20.00 |
| Underperforming test | $5,000 | 250,000 | $20.00 |
| Break-even-ish social | $4,000 | 1,000,000 | $4.00 |
| High-volume programmatic | $12,000 | 6,000,000 | $2.00 |
The underperforming test and the premium LinkedIn push both land at $20 CPM, but for opposite reasons. LinkedIn is expensive because inventory is scarce and audiences are valuable; the test is expensive because delivery failed. Same number, completely different diagnosis. That is why CPM must always be read next to impressions and downstream conversion data. A $20 CPM that drives qualified pipeline is healthy; a $20 CPM from broken targeting is waste, even though the spreadsheet looks identical.
How Do You Calculate CPM in Excel?
Set up a small worksheet so you can reuse the formula across campaigns. Use these exact cells:
- Cell A1: type "Total Cost" and enter your spend (for example 5000) in cell B1.
- Cell A2: type "Total Impressions" and enter your impressions (for example 2000000) in cell B2.
- Cell A3: type "CPM" and enter the formula
=(B1/B2)*1000in cell B3. - Cell A4: type "Cost from CPM" and enter
=(B3*B2)/1000in cell B4 to reverse-check. - Cell A5: type "Impressions from CPM" and enter
=(B1*1000)/B3in cell B5 for planning. - Copy row 1-3 into new columns per campaign to build a CPM comparison sheet.
With this layout, B3 is your live CPM and B4 or B5 confirm the math. You can also turn it into a CPM calculator by exposing B1 and B2 as inputs.
What Is a Good CPM?
"Good" is relative to channel, audience, and format. As a rough guide, programmatic display often runs $2 to $5, social video $4 to $10, and premium B2B placements can exceed $15 to $20. Benchmark ranges shift by industry and season, so always compare within a channel.
For channel-specific context, see our Facebook CPM guide, the LinkedIn CPM explained breakdown, the TikTok CPM benchmarks for 2026, and the Meta vs Google CPM comparison for 2026. Reddit buyers should read the Reddit ads CPC and CPM benchmarks. A "good" CPM is simply one that leaves enough margin after clicks and conversions to hit your ROI target.
What Is the Difference Between CPM and CPC?
CPM prices attention: you pay for every 1,000 impressions served, regardless of action. CPC, or cost per click, prices engagement: you pay only when someone clicks. They answer different questions. CPM tells you the cost of reach; CPC tells you the cost of intent.
A third metric, CPA (cost per acquisition), prices the outcome: you pay when a conversion happens. Most startups blend all three. You might buy on CPM to build reach, optimize toward CPC to filter wasted clicks, and report on CPA to prove revenue impact. The relationship is a funnel: impressions (CPM) lead to clicks (CPC) lead to conversions (CPA). For the click-side mechanics, read our what is CPC explainer, and for tying it all to profit see the marketing ROI formula.
What Are Common CPM Mistakes?
Teams new to paid media repeat the same CPM errors. Avoid these specific traps:
- Mixing CPM and CPC in one report. Adding a $3 CPM next to a $0.80 CPC hides which metric you are actually optimizing.
- Forgetting the x1,000 step. Reporting $0.0025 as "CPM" makes the campaign look 1,000x cheaper than it is.
- Comparing CPM across formats. A $20 video CPM and a $2 display CPM are not directly comparable because the inventory is different.
- Ignoring viewability. A delivered impression is not a seen impression; cheap CPMs often buy unseen inventory.
- Using blended CPM blindly. Averaging across campaigns hides the one ad set burning budget at $25 CPM.
- Treating low CPM as automatically good. Low CPM with zero conversions is just cheap waste.
Key Takeaways
- Master the core ratio: CPM = (Total Cost / Total Impressions) x 1,000, and memorize its two rearrangements.
- Context beats the number: always read CPM next to impressions, viewability, and downstream conversions.
- Use CPM for planning: the derived Cost and Impressions formulas let you set budgets before launch.
- Keep metrics separate: CPM, CPC, and CPA describe different funnel stages and should not be averaged together.
- Benchmark within a channel: compare your CPM only against same-format, same-platform ranges to draw real conclusions.
Frequently Asked Questions
What Is the CPM Formula?
The CPM formula is CPM = (Total Cost / Total Impressions) x 1,000. It calculates the cost of 1,000 ad impressions by dividing total spend by total impressions and multiplying by 1,000. You can rearrange it to find cost or impressions when the other two values are known.
How Do You Calculate CPM?
To calculate CPM, divide total ad cost by total impressions, then multiply by 1,000. For example, a $5,000 campaign with 2,000,000 impressions gives $5,000 / 2,000,000 = $0.0025, times 1,000 = $2.50 CPM. Always verify by plugging the result back into a derived formula.
What Is a Good CPM?
A good CPM depends on channel and format. Programmatic display often runs $2 to $5, social video $4 to $10, and premium B2B placements $15 to $20 or more. The right CPM is one that still leaves margin to hit your target ROI after clicks and conversions are accounted for.
What Is the Difference Between CPM and CPC?
CPM charges for every 1,000 impressions served, while CPC charges only per click. CPM measures the cost of reach; CPC measures the cost of engagement. They sit at different funnel stages and are usually paired with CPA, which prices the final conversion.