Introduction
CPM means "cost per mille," or the cost you pay for every 1,000 times your ad is shown. It is one of the most common ways to price online ads on YouTube, Facebook, TikTok, and display networks. This CPM calculator does the math for you in seconds.
You can solve for three things:
- CPM — enter your total ad spend and impressions.
- Total cost — enter a CPM rate and how many impressions you want.
- Impressions — enter your budget and a CPM rate to see the reach you can buy.
Pick your currency, choose what to solve for, and type in your numbers. The tool shows the answer, the formula, and a step-by-step breakdown so you can see how it works. You also get budget checkpoints, a cost chart, a side-by-side scenario compare tool for two CPM rates, and benchmark ranges to check if your CPM looks high or low.
Use it to plan a media budget, compare ad platforms, or check if a quote from a publisher is fair before you spend. Once your ads are live, pair it with our ROI Calculator and CAC Calculator to see what those impressions are actually worth.
How to use our CPM Calculator
Pick what you want to solve for, type in two numbers, and the calculator shows your CPM, total ad cost, or impressions, plus step-by-step math, budget checkpoints, and a cost chart.
Display currency: Choose the money type you want to see, like USD, EUR, GBP, SGD, or JPY. The math stays the same — only the symbol changes. If you buy media in one currency and report in another, run the rate through our Currency Calculator first.
Choose what to solve for: Click one of the three buttons. Pick "Calculate CPM" if you know your cost and impressions, "Find Total Cost" if you know your CPM rate and impressions, or "Find Impressions" if you know your budget and CPM rate.
Load an example campaign: Click YouTube Ads, Facebook Ads, or TikTok Ads to fill the form with sample ad numbers. This is a fast way to see how the CPM formula works. If you are on the other side of the screen and want to know what ads pay creators, try the YouTube Money Calculator.
Total Campaign Cost: Type the full amount of money you spend on the ad campaign, like 6,000. Use this field when you are solving for CPM or impressions. To see where that spend fits in your wider plan, use the Budget Calculator.
Impressions: Type how many times your ad is shown, like 500,000. Impressions are views of the ad — not clicks, and not the number of people.
CPM Rate: Type the price you pay for every 1,000 ad views, like 12.00. Use this field when you are solving for total cost or impressions.
Calculate and Start Over: Results update as you type, but you can click Calculate to run the math again. Click Start Over to clear the fields and keep your mode and currency. Click Copy Result to save the answer to your clipboard.
Impressions Goal (shared): In the comparison tool, type the number of impressions you want to buy. This same goal is used for both scenarios.
Scenario A — CPM Rate: Type your first cost per 1,000 impressions, like 12.00. This is often your current ad rate.
Scenario B — CPM Rate: Type a second cost per 1,000 impressions, like 8.50. Click Compare Scenarios to see which rate costs less, the dollar gap, and the percent difference. Our Percent Difference Calculator is handy if you want to check that gap on other metrics too.
What Is CPM?
CPM means cost per mille. "Mille" is Latin for one thousand. So CPM is the price you pay for every 1,000 times your ad is shown. It is one of the most common ways to buy online ads on places like Google, YouTube, Facebook, Instagram, and TikTok.
What Is an Impression?
An impression is counted each time your ad loads on a screen. It is not a click. It is not one person. If the same person sees your ad three times, that counts as three impressions. CPM only measures how much it costs to be seen, not how many people buy. To measure how people react to what they see, use the Engagement Rate Calculator.
The CPM Formula
The math is simple. You only need two of the three numbers below to find the third.
- CPM = (Total Cost ÷ Impressions) × 1,000
- Total Cost = (CPM × Impressions) ÷ 1,000
- Impressions = (Total Cost ÷ CPM) × 1,000
Example: You spend $600 and your ad is shown 50,000 times. $600 ÷ 50,000 = $0.012 per view. Times 1,000 = a $12.00 CPM. It is the same kind of unit-rate math you would run in a Ratio Calculator, just scaled to blocks of 1,000.
Why CPM Matters
CPM tells you how cheap or costly it is to reach people. Marketers use it to plan a budget before a campaign starts and to check if they paid a fair price after it ends. A lower CPM means you get more eyeballs for the same money. But cheap views are not always good views. A $5 CPM that reaches the wrong crowd is worse than a $30 CPM that reaches real buyers. What matters in the end is whether the revenue per customer beats the cost of getting them — check that with the Customer Lifetime Value Calculator.
What Changes Your CPM
- Industry: Finance and B2B software cost more because those customers are worth more.
- Audience: Narrow targeting costs more than broad targeting.
- Country: The U.S. and U.K. cost more than markets like India.
- Time of year: CPMs jump in November and December when everyone runs holiday ads.
- Ad quality: Ads people like get better placement for less money.
- Placement: Video and top-of-feed spots cost more than side or banner spots.
Rising media costs also track wider price pressure, so it helps to sanity-check year-over-year rate hikes with an Inflation Calculator or our Year Over Year Growth Calculator.
CPM vs. CPC vs. CPA
These three pricing models answer different questions:
- CPM — you pay per 1,000 views. Best for brand awareness and reach.
- CPC — cost per click. You pay only when someone clicks. Best for traffic.
- CPA — cost per action. You pay when someone buys or signs up. Best for sales, and closely tied to your customer acquisition cost.
Use CPM when your goal is to be seen by as many of the right people as possible.
How to Use CPM in Planning
Start with your budget or your reach goal. If you have $5,000 and the going rate is a $10 CPM, you can buy about 500,000 impressions. If you need 1 million impressions at that same rate, you need $10,000. Comparing two CPM rates side by side shows you how much a cheaper buy really saves over the whole campaign.
Before you commit the spend, work out how much revenue the campaign must bring in to wash its face using the Break Even Calculator, and check your product pricing with the Margin Calculator or Markup Calculator so your ad budget still leaves room for profit.
Note: CPM ranges shift over time and change by platform, season, and market. Treat any benchmark as a starting point, then track your own real numbers.