CPM Calculator LogoCPM Calculator

Calculate Campaign Cost from CPM

Quick answer: If you know your target CPM and how many impressions you want to reach, you can estimate the total ad spend before launching a campaign.

Cost = (Impressions / 1,000) × CPM

This is the most useful calculation for planning budgets. Enter your target impressions and expected CPM into our calculator to get an instant cost estimate.

When Do You Need This Calculation?

Advertisers use this calculation in three common situations:

  • Before launching a campaign. You have a target number of impressions and a CPM estimate. You need to know if the campaign fits your budget.
  • When comparing media options. Two publishers offer the same CPM but different minimum impression commitments. You need to calculate which option costs more or less.
  • During budget negotiations. A media vendor quotes a CPM. You want to quickly convert that into a total spend based on your planned impression volume.

The Formula for Total Campaign Cost

Cost = (Impressions / 1,000) × CPM

Divide your target impressions by 1,000, then multiply by the CPM rate

Breaking Down the Formula

This formula reverses the CPM calculation. CPM tells you the cost per thousand impressions, so multiplying the number of thousands by CPM gives you the total cost.

  • Impressionshow many times your ad will be served. This is your campaign goal in terms of reach.
  • 1,000the fixed conversion factor. CPM is always expressed per 1,000 impressions, so you must divide impressions by 1,000 to get the number of thousands you are purchasing.
  • CPMyour cost per 1,000 impressions. This rate comes from the advertising platform, publisher, or media plan you are evaluating.
  • Costthe result. This is your estimated total campaign spend.

Step-by-Step Calculation

Here is how to work through the formula manually:

  1. Take your target impressions. For example, you want 500,000 impressions.
  2. Divide by 1,000. 500,000 / 1,000 = 500. You are buying 500 batches of 1,000 impressions.
  3. Multiply by your CPM rate. If your CPM is $8, then 500 × $8 = $4,000.
  4. Your estimated campaign cost is $4,000.

The same logic applies with any numbers. The key is to remember that CPM is already normalized to 1,000 impressions, so you only need to scale it up or down based on your impression volume.

Real Campaign Examples

Example 1: Small Business Display Campaign

A local bakery runs a retargeting campaign on Meta. They want to reach 100,000 impressions of users who visited their website. The estimated CPM is $6.00.

Cost = (100,000 / 1,000) × 6.00 Cost = 100 × 6.00 Cost = $600.00

The bakery should budget $600 for this campaign.

Example 2: Mid-Market Brand Video Campaign

A direct-to-consumer apparel brand runs a pre-roll video campaign on YouTube. They target 1,500,000 impressions over a 30-day flight. The expected CPM for in-stream video is $12.00.

Cost = (1,500,000 / 1,000) × 12.00 Cost = 1,500 × 12.00 Cost = $18,000.00

The brand needs a budget of $18,000 to hit the 1.5 million impression target.

Example 3: B2B LinkedIn Campaign

A SaaS company targets 200,000 impressions of decision-makers in the IT industry on LinkedIn. The CPM for this audience segment is $35.00.

Cost = (200,000 / 1,000) × 35.00 Cost = 200 × 35.00 Cost = $7,000.00

The campaign requires a $7,000 budget. B2B platforms like LinkedIn typically carry higher CPMs due to narrow professional targeting.

Example 4: National Brand CTV Campaign

A consumer packaged goods brand runs a connected TV campaign during the holiday season. They want 2,000,000 CTV impressions. Holiday-season CTV CPM averages $28.00.

Cost = (2,000,000 / 1,000) × 28.00 Cost = 2,000 × 28.00 Cost = $56,000.00

The holiday season campaign requires $56,000. Seasonal demand significantly drives up CPM in competitive periods.

Using This Formula for Budget Planning

Knowing how to calculate campaign cost from CPM is essential for building realistic media plans. Here is how to apply it in practice:

Start with Your Budget, Not Your Impressions

Many advertisers start with a fixed budget. In that case, rearrange the formula to solve for impressions instead:

Impressions = (Cost / CPM) × 1,000

If you have a $5,000 budget and a $10 CPM, you can buy 500,000 impressions. This is the inverse of the cost calculation and it tells you what your budget actually buys.

Build a Simple Media Plan Table

When planning multiple campaigns or channels, build a quick reference table:

CampaignTarget CPMTarget ImpressionsEstimated Cost
Social Retargeting$6.00100,000$600
YouTube Pre-Roll$12.00500,000$6,000
LinkedIn B2B$35.00200,000$7,000
Display Network$4.00750,000$3,000
Total1,550,000$16,600

Factor in CPM Variability

CPM is not a fixed rate. It fluctuates based on competition, targeting specificity, ad format, seasonality, and placement. When estimating campaign cost:

  • Use conservative CPM estimates. If the platform shows a $8 CPM average, plan for $10 to leave room for auction volatility.
  • Check historical CPM from past campaigns. Your own data is the most accurate baseline for future estimates.
  • Allow for budget pacing adjustments. Campaigns that underdeliver on impressions may not spend the full estimated cost.

Common Mistakes to Avoid

Confusing CPM with Total Cost

Some beginners see a CPM quote and think that is the total cost. It is not. A $10 CPM means $10 per 1,000 impressions. If you buy 500,000 impressions, you pay $5,000, not $10.

Cost = (Impressions / 1,000) × CPM, not just CPM

Using Raw Impressions Instead of Divided by 1,000

The multiplier of 1,000 is essential. If you skip this step, your cost estimate will be 1,000 times too high.

Wrong: Cost = Impressions × CPM = 500,000 × 8 = $4,000,000Correct: Cost = (500,000 / 1,000) × 8 = $4,000

Assuming CPM Stays Constant

CPM changes throughout a campaign based on supply and demand. If you calculate cost based on a CPM that later increases, your actual spend will be higher than estimated. Build a buffer into your budget.

Frequently Asked Questions

What is the formula for calculating campaign cost from CPM?

Cost = (Impressions / 1,000) × CPM

Divide your target impression count by 1,000, then multiply by your CPM rate. The result is your estimated total campaign cost.

How do I calculate cost if I only know my budget and CPM?

If you know your budget and CPM, use this formula to find how many impressions you can buy: Impressions = (Budget / CPM) × 1,000. This tells you how many impressions your budget will deliver at the given CPM rate.

Is CPM quoted before or after taxes and fees?

CPM quotes typically refer to the base media rate. Additional fees such as production, agency commissions, technology costs, or taxes may be added on top. Always clarify what is included in the quoted CPM before calculating your campaign cost.

Can I use CPM to estimate cost for any ad format?

Yes. CPM applies to display banners, video ads, social feed ads, CTV, native ads, and most other impression-based ad formats. The formula works the same regardless of format. Just use the CPM rate that applies to the specific placement you are evaluating.

How accurate is this cost estimate?

The estimate is accurate when the CPM rate you use reflects actual market conditions. CPM fluctuates throughout a campaign, so your actual spend may be higher or lower depending on competition, pacing, and auction dynamics. Use historical CPM data from your platform for the most accurate estimates.

Conclusion

Calculating campaign cost from CPM is one of the most practical skills in media planning. When you know your target impression volume and your CPM rate, you can estimate total spend before launching a campaign, compare media options on equal terms, and build realistic budget plans.

The formula is simple: divide impressions by 1,000, then multiply by your CPM. Use our calculator to automate this calculation and get instant estimates for any campaign scenario.

Calculate Your Campaign Cost

Enter your target CPM and impressions below to estimate your total campaign cost instantly.

Open CPM Calculator

Related Resources