What Is CPM?
CPM stands for cost per mille — mille being Latin for “thousand” — and refers to the price an advertiser pays for one thousand ad impressions. It's one of the most common pricing models in digital advertising because it lets advertisers compare the cost of reach across very different campaigns on a single, consistent basis.
CPM pricing shows up across display advertising, social media ads, video pre-roll, and programmatic buying. Publishers and ad networks quote CPM rates to sell inventory, while advertisers use CPM to budget campaigns, compare placements, and evaluate how efficiently their spend is reaching an audience.
Who Uses This CPM Calculator
The same three-variable formula serves a few different jobs depending on which side of the transaction you're on.
Advertisers
Budget a campaign before it launches by working out how much reach a given spend will buy, or check whether a quoted CPM is in line with what similar placements have cost before.
Publishers
Price ad inventory, sanity-check realized CPM against floor prices, and forecast revenue from a given traffic volume.
Agencies & Media Buyers
Compare CPM across vendors and platforms on a common basis, and translate results back into client-facing budget and reach numbers quickly during planning calls.
App & Game Developers
Estimate ad revenue from in-app inventory, and compare mediation networks or ad units that report CPM differently.
How to Calculate CPM
CPM is calculated by dividing total ad spend by total impressions, then multiplying by 1,000.
CPM = (Total Cost ÷ Total Impressions) × 1,000
- Add up the total amount spent on the ad campaign.
- Find the total number of impressions the campaign generated.
- Divide total cost by total impressions, then multiply the result by 1,000 to get the CPM.
CPM Calculator Formula for Cost and Impressions
The same relationship can be rearranged to solve for total cost or total impressions, which is exactly what the “Find Total Cost” and “Find Impressions” modes of the calculator above do:
Total Cost = (CPM × Total Impressions) ÷ 1,000
Total Impressions = (Total Cost ÷ CPM) × 1,000
Cost Per Impression Formula
Cost per impression is calculated by dividing total ad spend by total impressions — unlike CPM, there's no multiplying by 1,000, since this is the price of a single impression rather than a thousand of them.
Cost Per Impression = Total Cost ÷ Total Impressions
Cost per impression and CPM describe the same rate at two different scales, so you can also get there directly from a known CPM:
Cost Per Impression = CPM ÷ 1,000
Worked Example
An advertiser spends $500 on a campaign that generates 100,000 impressions.
Cost Per Impression = $500 ÷ 100,000 = $0.005
The calculator above shows this automatically as “Cost per single impression” whenever you use the “Calculate CPM” mode.
CPM Calculation Examples
Example 1: Find CPM
An advertiser spends $2,000 on a campaign that generates 400,000 impressions.
CPM = ($2,000 ÷ 400,000) × 1,000 = $5.00
Example 2: Find Total Cost
A publisher sells inventory at a $12 CPM, and the campaign is expected to run for 250,000 impressions.
Cost = ($12 × 250,000) ÷ 1,000 = $3,000
Example 3: Find Impressions
A marketer has a $1,500 budget and the platform's average CPM is $7.50.
Impressions = ($1,500 ÷ $7.50) × 1,000 = 200,000

CPM vs CPC vs CPA vs eCPM vs RPM
CPM is one of several ways to price and measure advertising. Here's how it compares to the other common metrics — see CPM vs CPC vs CPA for a deeper look at choosing between them.
| Metric | Formula | Who Uses It |
|---|---|---|
| CPM | (Cost ÷ Impressions) × 1,000 | Advertisers buying reach and awareness |
| CPC | Cost ÷ Clicks | Advertisers paying for traffic |
| CPA | Cost ÷ Conversions | Advertisers paying for outcomes |
| eCPM | (Revenue ÷ Impressions) × 1,000 | Publishers comparing revenue across pricing models |
| RPM | (Revenue ÷ Total Units) × 1,000 | Publishers measuring revenue per thousand page views or videos |
| CPM from CPC | CPM = CPC × CTR × 1,000 | Converting a click-based campaign into an equivalent CPM |
Pros and Cons of CPM Pricing
CPM's biggest strength is also its biggest limitation: it's simple and easy for both sides to bill and understand, but it's only loosely tied to results. Paying for impressions tells you how much reach you bought — not how well that traffic converted.
CPC pricing moves that risk slightly toward the advertiser's favor, since you only pay when someone actually clicks. CPA pricing shifts it further still, charging only when a user completes an action like a signup or purchase — but that puts more risk on the publisher, who has to trust the advertiser to convert the traffic they're sending.
None of the three models is universally “better” — they trade simplicity for risk differently, and the right choice depends on whether you're optimizing for reach, traffic, or outcomes.
eCPM Calculator: Effective CPM Explained
eCPM (effective CPM) measures the actual revenue or cost per thousand impressions a campaign achieved, calculated after the fact rather than the rate agreed upfront.
eCPM = (Total Revenue ÷ Total Impressions) × 1,000
Publishers and app developers rely on eCPM because it puts campaigns priced very differently — CPC, CPA, or CPM — onto a single, comparable per-thousand-impressions basis. If a CPC campaign earns $600 in clicks from 120,000 impressions, its eCPM is ($600 ÷ 120,000) × 1,000 = $5.00, directly comparable to a $5.00 CPM deal.
CPC to CPM Calculator: Convert Cost Per Click to CPM
To convert CPC to CPM, multiply your cost per click by your click-through rate and by 1,000.
CPM = CPC × CTR × 1,000
Worked Example
A campaign has a $0.50 CPC and a 2% CTR (0.02 as a decimal).
CPM = $0.50 × 0.02 × 1,000 = $10.00
This conversion is useful for comparing a click-priced campaign against CPM-priced inventory, or for estimating what a CPC campaign would cost if it were billed on impressions instead.
What Affects CPM?
- Audience targeting — more specific or competitive audience segments typically cost more to reach.
- Placement — above-the-fold or high-visibility placements tend to command higher rates than less prominent ones.
- Ad format — video, rich media, and native formats are priced differently than standard display banners.
- Seasonality — demand fluctuates around holidays and peak shopping periods, pushing CPMs up when advertiser competition is highest.
- Competition — more advertisers bidding for the same inventory drives CPM higher, especially in auction-based buying.
- Region — CPM rates vary widely by country and market due to differences in advertiser demand and purchasing power.
How to Lower Your CPM
Lowering CPM generally comes down to improving how relevant and efficient your targeting, creative, and bidding are to the auction you're competing in.
- Refine audience targeting — narrower, more relevant audiences often face less advertiser competition than broad segments.
- Improve ad relevance and quality — ad platforms tend to reward higher-relevance, higher-engagement ads with lower effective rates.
- Test creative variations — rotating fresh creative can reduce fatigue and keep engagement, and therefore rates, favorable.
- Adjust bidding strategy — switching bid types or setting bid caps can prevent overpaying in high-competition auctions.
- Exclude underperforming placements — removing low-quality inventory from a campaign can improve its overall average CPM.
- Manage frequency capping — limiting how often the same user sees an ad helps avoid paying for diminishing-return impressions.
CPM Calculator for Google Ads, Meta, YouTube & Programmatic
The CPM formula is the same everywhere — only the numbers you pull from each platform's reporting change.
- Google Ads (formerly Google AdWords) — use the cost and impressions columns from your campaign report as the Total Cost and Total Impressions inputs.
- Meta (Facebook & Instagram) — pull “Amount Spent” and “Impressions” from Ads Manager.
- YouTube — use the cost and impressions figures from your video campaign's performance report.
- Programmatic / DSPs — use the spend and delivered-impressions totals from your demand-side platform's dashboard.
Enter those two numbers into the calculator above to get a CPM you can compare consistently across platforms. For platform-specific detail, see the Google Ads and Meta Ads CPM guides.
From the Blog
For deeper dives into specific platforms and pricing models, see the full blog.
Ad Metrics Glossary
A few terms that come up constantly alongside CPM, defined briefly.
- Impression
- One instance of an ad being served or loaded, whether or not it was actually seen. This is the unit CPM is priced against.
- Reach
- The number of unique people who saw an ad at least once, as opposed to impressions, which count every view including repeats from the same person.
- Frequency
- The average number of times a single person saw the ad, calculated as impressions divided by reach.
- Ad Inventory
- The total pool of ad space a publisher has available to sell, across all its pages, apps, or videos.
- Fill Rate
- The percentage of ad requests that were actually filled with an ad, rather than returning empty. Low fill rate leaves inventory unsold even when demand exists elsewhere.
- Viewability
- Whether an impression actually met a minimum visibility threshold, rather than simply being served. See CPM vs vCPM for the full standard.
- Header Bidding
- A programmatic setup where multiple ad exchanges bid on the same impression at once, rather than being offered it one at a time in sequence.
CPM Calculator FAQ
How is CPM calculated?
CPM is calculated by dividing total ad spend by total impressions, then multiplying by 1,000. The formula is CPM = (Total Cost ÷ Total Impressions) × 1,000.
How do you calculate CPM from CPC and CTR?
Multiply CPC (cost per click) by CTR (click-through rate, as a decimal), then multiply by 1,000: CPM = CPC × CTR × 1,000. This converts a cost-per-click campaign into an equivalent cost-per-thousand-impressions figure.
How many impressions will I get for my budget?
Divide your total budget by the CPM, then multiply by 1,000: Impressions = (Budget ÷ CPM) × 1,000. Use the "Find Impressions" mode above to calculate this instantly for your own numbers.
How do you calculate cost per impression?
Divide total ad spend by total impressions: Cost Per Impression = Total Cost ÷ Total Impressions. Unlike CPM, there's no multiplying by 1,000 — it's the same rate expressed per single impression instead of per thousand, so it also equals CPM ÷ 1,000.
What does the "M" in CPM stand for?
The "M" is the Roman numeral for 1,000 (mille). CPM stands for cost per mille, or cost per thousand impressions.
What's the difference between CPM and eCPM?
CPM is the rate you're charged (or bid) per thousand impressions, agreed upfront. eCPM (effective CPM) is calculated after the fact from actual results, so it can be used to compare the real performance of campaigns priced differently, such as CPC or CPA campaigns, on a common per-thousand-impressions basis.
What is a good CPM?
There's no single "good" CPM figure — it depends heavily on the channel, audience, format, and region. Rather than comparing against a fixed number, judge your CPM against your own historical campaigns, your industry and channel norms, and whether the resulting cost per outcome (clicks, conversions) meets your goals.
What is a bad CPM?
A bad CPM is one that sits well above the norm for your industry and channel, and keeps rising. It means you're paying more for the same reach, which tends to push up downstream costs like CPC and CPA as well and squeeze your margins.
How can I improve my CPM?
Focus on the levers that make your ads more relevant and efficient in the auction: tighten your audience targeting, refresh creative regularly to keep engagement up, and test different platforms and placements rather than relying on just one. See "How to Lower Your CPM" above for the full list.
Is this CPM calculator free? Does it store my data?
Yes, this calculator is completely free to use. All calculations happen in your browser — the numbers you enter are processed locally and are not sent to or stored on any server.
