The cost per impression (CPI) formula is CPI = total ad spend ÷ total impressions, where impressions are the number of times an ad is displayed. For example, if you spend $500 and your ad is shown 100,000 times, your CPI is $0.005 per impression, often quoted as $5.00 per thousand impressions (CPM).
Why Cost per Impression Matters
Cost per impression is one of the oldest and most widely used metrics in digital advertising. It tells advertisers how much they pay each time their ad is served, regardless of whether anyone clicks, watches, or buys. This makes it a pure "visibility" cost — you are paying for the chance to be seen, not for a result.
The metric is especially relevant for brand awareness campaigns, where the goal is to reach as many people as possible. Unlike cost per click (CPC) or cost per acquisition (CPA), CPI focuses on the top of the marketing funnel. It helps advertisers compare the efficiency of different publishers, platforms, or ad formats when the objective is exposure.
Publishers and ad networks also use CPI to price their inventory. A website with high-traffic pages can charge more per impression if its audience is valuable to advertisers. Understanding CPI allows both sides to negotiate fairly and measure whether a campaign is cost-effective.
The Basic Formula and Its Variations
The core formula is straightforward:
- CPI = Total Cost ÷ Total Impressions — this gives the cost for a single impression, usually a very small number like $0.002.
- CPM = (Total Cost ÷ Total Impressions) × 1000 — this is the same formula scaled to a thousand impressions, which is the standard way the industry quotes prices.
- Cost per thousand viewable impressions (vCPM) — only counts impressions that were actually visible on screen, using the same formula but with a filtered impression count.
For example, if a campaign costs $2,000 and generates 400,000 impressions, the CPI is $0.005 and the CPM is $5.00. The two numbers are interchangeable — you just multiply or divide by 1000.
Another related metric is effective CPM (eCPM), which is used to compare revenue across different ad units. For a publisher, eCPM = (total earnings ÷ total impressions) × 1000. It helps answer: "How much money did I make per thousand ad views?"
How to Calculate It Step by Step
To compute cost per impression manually, follow these steps:
- Find your total ad spend — this includes all fees paid to the ad platform, not just the bid amount. For example, $1,500.
- Find your total impressions — the number of times your ad was served. This is usually available in the campaign reporting dashboard. Example: 300,000.
- Divide cost by impressions — $1,500 ÷ 300,000 = $0.005 per impression.
- Multiply by 1000 to get CPM — $0.005 × 1000 = $5.00 CPM.
Most ad platforms (Google Ads, Meta Ads Manager, etc.) show CPM directly in the reporting table, so you rarely need to calculate it manually. But knowing the underlying math helps you verify the numbers and understand how changes in spend or delivery affect your costs.
What Is a "Good" Cost per Impression?
There is no universal benchmark for a good CPI because it varies wildly by industry, platform, audience, and ad format. However, some general ranges can give you a starting point:
- Display ads (banners) — often $0.50 to $2.00 CPM on general websites.
- Social media (Facebook, Instagram) — typically $5 to $15 CPM, but can be higher for competitive audiences.
- Video ads (pre-roll, in-stream) — usually $10 to $30 CPM because video is more engaging.
- LinkedIn — among the highest, often $20 to $50 CPM due to the professional audience.
Rather than comparing to a fixed number, you should compare your CPI to your own historical performance and to the average for your specific niche. A "good" CPI is one that allows you to achieve your campaign objective at an acceptable cost. For a brand awareness campaign, that might mean a low CPI; for a direct response campaign, you might accept a higher CPI if the conversion rate is strong.
Common Mistakes and Misconceptions
One frequent error is confusing impressions with reach. Impressions count every time an ad is displayed, even if the same person sees it multiple times. Reach is the number of unique people who saw it. If you use reach instead of impressions in the formula, your CPI will be artificially high.
Another misconception is that a low CPI always means a successful campaign. That is not necessarily true — an ad can be cheap to show but ineffective if it doesn't generate clicks, engagement, or sales. Always pair CPI with other metrics like click-through rate (CTR) and conversion rate.
Also, be careful with how impressions are counted. Some platforms count an impression only when the ad is at least 50% visible for one second (viewable impression), while others count every server request. This can lead to significant differences in reported impressions and therefore in CPI. Always check the platform's definition before comparing numbers.
Finally, don't forget that ad spend includes more than the bid. Platform fees, data fees, and creative production costs are often excluded from the reported "spend" but are real costs. For a true cost per impression, include all campaign-related expenses.
CPI vs. CPC vs. CPA
Cost per impression is just one of several pricing models. Understanding the differences helps you choose the right one for your goal:
- CPI (cost per impression) — you pay for views. Best for brand awareness and reach.
- CPC (cost per click) — you pay only when someone clicks. Best for driving traffic to a website.
- CPA (cost per acquisition) — you pay only when a specific action is completed (a sale, a signup, a download). Best for performance campaigns.
Each model has trade-offs. CPI is the cheapest per interaction but gives you no guarantee of engagement. CPC is more expensive per interaction but indicates interest. CPA is the most expensive per action but directly tied to revenue. Many advertisers use a mix: CPI for top-of-funnel awareness, CPC for mid-funnel engagement, and CPA for bottom-funnel conversions.
For example, a new product launch might start with a CPI campaign to build awareness, then retarget those viewers with a CPC campaign to drive clicks, and finally use a CPA campaign for the actual purchase. Each stage uses the metric that matches its objective.
How to Lower Your Cost per Impression
If your CPI is higher than you'd like, several strategies can help reduce it:
- Refine your targeting — a narrower, more relevant audience often leads to better engagement and lower costs because the platform rewards relevance.
- Improve ad quality and relevance — platforms like Google and Meta use quality scores; higher scores lead to lower costs.
- Choose less competitive placements — sidebar ads or lower-traffic sites are cheaper than premium placements.
- Use frequency capping — limit how often the same user sees your ad to avoid wasted impressions.
- Test different ad formats — sometimes a simple image ad has a lower CPI than a video ad, depending on the platform.
- Optimize your bid strategy — switch from automatic to manual bidding if you have data to guide your bids.
Keep in mind that lowering CPI is not always the goal. If your campaign is profitable, a higher CPI might be acceptable. Always evaluate CPI in the context of your overall return on ad spend (ROAS).
Frequently Asked Questions
What is the difference between CPI and CPM?
CPI is the cost for a single impression, while CPM is the cost for 1,000 impressions. They are mathematically the same — CPM = CPI × 1000. The industry uses CPM because it avoids dealing with tiny decimal numbers. For example, a CPI of $0.004 is the same as a CPM of $4.00.
How do I calculate cost per mille (CPM) from total spend and impressions?
Divide your total spend by total impressions, then multiply by 1,000. For instance, if you spent $800 and got 200,000 impressions, your CPM is ($800 ÷ 200,000) × 1,000 = $4.00. This is the standard formula used across advertising platforms.
Is a lower cost per impression always better?
Not necessarily. A low CPI means you are paying less for visibility, but if those impressions don't lead to clicks or conversions, the campaign may still be ineffective. Always look at the full picture: click-through rate, conversion rate, and return on ad spend. Sometimes paying more per impression for a highly targeted audience yields a better overall ROI.
Why does my cost per impression vary so much between platforms?
Different platforms have different audience sizes, targeting options, ad formats, and competition levels. For example, LinkedIn ads are expensive because the professional audience is niche and valuable to B2B advertisers. Display networks are cheaper because they have massive reach but lower engagement. Your targeting settings also play a big role — a broad audience is cheaper than a narrow, highly specific one.
Can I use cost per impression for social media ads?
Yes, social media platforms like Facebook, Instagram, and TikTok all report impressions and allow you to calculate CPI or CPM. However, social platforms often emphasize engagement metrics like clicks and video views, so CPI is most useful when your goal is brand awareness or reach. For direct response, CPC or CPA is usually more relevant.
What is a viewable impression and how does it affect CPI?
A viewable impression is one that actually appears on the user's screen — typically at least 50% visible for one second (for display) or two seconds (for video). Platforms may count only viewable impressions when calculating vCPM. If your reported impressions include non-viewable ones, your CPI will appear lower than the true cost of viewable impressions. Always check whether the platform reports viewable or served impressions.