Free tool

Free CPM Calculator

Calculate your CPM from ad spend and impressions. Add CTR and conversion rate to see effective CPC, CPA, ROAS, and whether your revenue per 1,000 impressions exceeds your cost.

Ad Spend & Impressions

$

Performance Metrics (optional)

%
%
$

CPM

$8.00

Cost per 1,000 impressions

Effective CPC

$0.67

3,000 clicks

CPA

$26.67

75 orders

ROAS

2.3x

$4,500 revenue

Revenue per 1K ($18.00) exceeds CPM ($8.00) — profitable impressions

CPM Breakdown

CPM$8.00
Cost per impression$0.0080
Impressions per $1125

Revenue per 1K (RPM)$18.00
Profit per 1K impressions$10.00

At This CPM

$5,000 budget gets625,000 impressions
$10,000 budget gets1,250,000 impressions

Full funnel250,000 imp → 3,000 clicks → 75 orders

What Is CPM?

CPM, or cost per mille, is the cost of showing an ad 1,000 times; “mille” means thousand. It helps Shopify merchants compare the cost of buying ad exposure across campaigns, audiences, and platforms.

A low CPM does not automatically mean a campaign is profitable. Compare the cost of impressions with the revenue those impressions generate, while accounting for product costs and other expenses before treating revenue as profit.

CPM Formulas

CPM = (Ad Spend ÷ Impressions) × 1,000
CPC = Ad Spend ÷ Clicks
CPC = CPM ÷ (CTR × 10)

Use CTR as a percentage in the second formula, such as 1% rather than 0.01.

CPA = Ad Spend ÷ Orders
ROAS = Revenue ÷ Ad Spend
RPM = (Revenue ÷ Impressions) × 1,000

RPM means revenue per 1,000 impressions. Comparing RPM with CPM shows whether the impressions generate more revenue than they cost, but it does not account for cost of goods, fulfillment, or other expenses.

How to Use This Calculator

  1. Ad Spend — Enter the total amount spent during the campaign or time period you want to assess.
  2. Impressions — Enter the number of times the ad was shown. Use the same campaign and date range as your spend.
  3. CPM — Enter a known CPM when you want to estimate impressions or required budget. When calculating CPM from actual results, use Ad Spend and Impressions instead.
  4. Budget — Enter your planned spend with a CPM to estimate how many impressions that budget can buy.
  5. CTR — Enter click-through rate as a percentage to estimate clicks and effective CPC. Use the rate reported for the same ads and period where possible.
  6. Conversion Rate — Enter the percentage of clicks that result in a purchase to estimate orders and CPA.
  7. Average Order Value — Enter average revenue per order to estimate revenue, ROAS, and RPM.

The calculator’s results are estimates when you use planned rates; actual clicks, orders, and revenue can differ from projections.

Step-by-Step Example

Suppose a Shopify store spends $1,500 promoting a reusable water bottle and receives 300,000 impressions. Its CTR is 0.8%, its click-to-purchase conversion rate is 3%, and its average order value is $75.

Metric Calculation Result
CPM ($1,500 ÷ 300,000) × 1,000 $5.00
Clicks 300,000 × 0.008 2,400
Effective CPC $1,500 ÷ 2,400 $0.63
Orders 2,400 × 0.03 72
CPA $1,500 ÷ 72 $20.83
Revenue 72 × $75 $5,400
ROAS $5,400 ÷ $1,500 3.6×
RPM ($5,400 ÷ 300,000) × 1,000 $18.00

The revenue RPM is higher than the CPM, so the campaign earns more revenue per thousand impressions than it spends on those impressions. That comparison is not a profit calculation: subtract product, shipping, payment, and operating costs before judging the campaign’s profitability. Use the ROAS Calculator to examine return after costs such as COGS.

How to Judge CPM by Platform

CPM varies with audience competition, placement, season, campaign objective, and creative performance. These directional ecommerce ranges are starting points for planning, not guaranteed prices or pass/fail targets.

Platform or campaign type Directional ecommerce CPM What to compare
Facebook and Instagram $8–$20 Revenue and orders by audience and placement
TikTok $6–$15 Creative engagement and downstream conversion
Google Display $2–$6 Qualified visits and assisted conversions
Google Shopping $8–$15 Product-level revenue and purchase intent
YouTube $6–$12 View quality, site visits, and later conversions

A higher CPM can still be the better buy if the audience converts at a higher rate or spends more per order. A lower CPM can waste budget if impressions produce few clicks or purchases. Compare campaigns using the same attribution window and date range, and check the CPC Calculator when click cost is the more useful comparison.

7 Tips to Improve Campaign Efficiency

  1. Test a broader audience: Change a narrowly defined audience of 50,000 people to a 500,000-person audience and compare CPM and purchase rate. A larger audience may reduce auction pressure, but monitor whether it remains relevant.
  2. Compare placements: Test Feed against Reels or Stories in separate ad sets, then compare cost per purchase—not CPM alone.
  3. Refresh creative before fatigue builds: Run two new hooks against your current ad and compare CTR and conversion rate over the same period.
  4. Check the landing page: If clicks rise but purchases do not, test a faster product page, clearer shipping information, or a more prominent add-to-cart button.
  5. Review seasonality: Compare a campaign’s CPM with the same period in a previous month or year before assuming a price increase comes from poor creative; auction competition can change around major sales periods.
  6. Set a target CPA from contribution margin: If an order contributes $32 before advertising, set a CPA ceiling below that amount to leave room for overhead and profit.
  7. Plan spend from a sales goal: Enter your target revenue and campaign assumptions in the Meta Ads Budget Calculator or Google Ads Budget Calculator to compare channel budgets.

When selecting audiences or making performance claims, base decisions on evidence from your own campaigns. The U.S. Small Business Administration’s market research guide outlines ways to assess customers and competitors, while the FTC’s advertising guidance explains that advertising claims must be truthful and supported.

Frequently Asked Questions

How do you calculate CPM?

CPM = (Total Ad Spend / Total Impressions) × 1,000. For example, if you spent $2,000 and received 250,000 impressions: ($2,000 / 250,000) × 1,000 = $8.00 CPM. This means you pay $8.00 for every 1,000 times your ad is shown.

What is a good CPM for ecommerce ads?

A good CPM depends on the platform, audience, and campaign goal; the table above gives directional platform ranges. Judge it alongside revenue per 1,000 impressions (RPM): a higher CPM can be worthwhile when the impressions generate enough revenue, while cheap impressions can still lose money.

What is the difference between CPM and CPC?

CPM is the cost per 1,000 impressions, while CPC is the cost per click. They are related through CTR: CPC = CPM / (CTR × 10), with CTR entered as a percentage; CPM buying can suit reach goals, while CPC helps compare traffic costs, but neither metric alone proves purchases are profitable.

How do I lower my CPM?

Test more relevant creative, broaden an overly narrow audience, compare placements, and refresh ads when engagement falls. Avoid judging a change from CPM alone: check whether the new setup also preserves purchase volume and CPA.

What is RPM and how does it relate to CPM?

RPM is the revenue generated per 1,000 impressions, while CPM is the advertising cost for those impressions. RPM above CPM means revenue exceeds media spend per thousand impressions, but it does not necessarily mean the campaign is profitable after product and operating costs.

Should I choose a campaign with a lower CPM?

Not automatically; choose the campaign that meets your business target for purchases or contribution after costs, even if its CPM is higher. If your goal is awareness, reach and qualified engagement may matter more than immediate orders, so compare results against the campaign objective.

About This Calculator

Luis Dev Studio built this CPM calculator for Shopify merchants to estimate impression costs and related campaign metrics. For help planning or improving your store’s marketing, contact us or explore our services.

Updated by Luis Gonzalez · Jan 3, 2026

Explore next

Related Tools