Calculate the CPM

CPM Margin Calculator

Determine the profit margin on your ad inventory transactions by comparing the CPM rate you pay to acquire impressions against the CPM rate at which you sell them.

Calculated ROI
0.00%
Net Profit: $0.00
ROI Formula: ((Revenue - Spend) ÷ Spend) × 100

Break-Even Benchmarks

Cost Per Click (CPC) $0.00
Cost Per Acquisition (CPA) $0.00
Margin per Product Sale $0.00
If your CPA is lower than your Average Order Value (AOV), your campaign is profitable!

Campaign Forecast Results

Forecasted Spend $0.00
Forecasted Clicks 0
Forecasted Conversions 0
Estimated Inventory Value
$0.00
Formula: (Impressions ÷ 1,000) × CPM

What Is the CPM Margin Calculator?

The CPM Margin Calculator computes the percentage profit earned when reselling advertising impressions. It takes the difference between your sell-side CPM and buy-side CPM, then expresses it as a percentage of the sell price.

Ad networks, exchanges, and media resellers operate on CPM margin — the spread between what they pay publishers for inventory and what they charge advertisers. Understanding this margin is critical for pricing strategy and profitability analysis.

The calculator also helps publishers evaluate offers from demand partners by revealing how much margin the intermediary is capturing, enabling more informed negotiations for higher revenue shares.

Profit Spread Buy vs. sell CPM gap
Margin % Instant profitability metric
Pricing Strategy Set competitive sell rates

CPM Margin Formula

The margin is calculated as the percentage of the sell-side CPM that represents profit after subtracting the buy-side cost.

CPM Margin (%) = ((Sell CPM − Buy CPM) / Sell CPM) × 100

Margin Example

$500
$10 $10,000
100,000
1K 1M
Margin: (($10.00 − $4.00) / $10.00) × 100 = 60% $5.00 You earn $6.00 profit per 1,000 impressions

$500 ÷ 100,000 = 0.005 × 1,000 = $5.00

How to Calculate CPM Margin

Follow these steps to determine the profit margin on your ad inventory transactions.

1

Enter Buy CPM

Input the CPM rate you pay to acquire impressions from publishers, exchanges, or SSPs.

Example

Example: Buy-side CPM of $4.00 from an SSP

2

Enter Sell CPM

Input the CPM rate at which you sell those impressions to advertisers or DSPs.

Example

Example: Sell-side CPM of $10.00 to a brand advertiser

3

Review Margin Percentage

The calculator shows your margin as a percentage, plus the dollar profit per 1,000 impressions.

Example

Example: 60% margin = $6.00 profit per 1,000 impressions

4

Optimize Pricing

Experiment with different sell CPM levels to find the sweet spot between margin and volume. Lower sell CPMs may attract more demand and increase total profit.

Example

Example: Dropping sell CPM to $8.00 (50% margin) could increase volume by 40%

Frequently Asked Questions

What is a healthy CPM margin for ad networks?
Healthy margins typically range from 30% to 60%. Margins below 20% leave little room for operational costs, while margins above 70% may indicate overpricing that could reduce demand volume.
How do I calculate CPM margin?
Subtract your buy CPM from your sell CPM, divide the result by the sell CPM, and multiply by 100. For example, if you buy at $4.00 and sell at $10.00: (($10 − $4) / $10) × 100 = 60% margin.
What is the difference between CPM margin and markup?
Margin is the profit as a percentage of the sell price, while markup is the profit as a percentage of the buy price. A $4 buy and $10 sell gives 60% margin but 150% markup. Margin is the industry standard for ad tech.
Can CPM margin be negative?
Yes. If your buy CPM exceeds your sell CPM, you have a negative margin, meaning you're losing money on every thousand impressions. This can happen when buy-side rates spike unexpectedly or sell-side contracts have fixed pricing.
How do I increase my CPM margin?
Negotiate lower buy-side rates through volume commitments, target higher-value demand sources for better sell-side CPMs, or add data enrichment to your inventory to justify premium pricing.
Does ad quality affect CPM margin?
Absolutely. High-viewability, brand-safe inventory commands higher sell CPMs, widening your margin. Investing in inventory quality — viewability, fraud prevention, and contextual relevance — directly improves profitability.

Free Marketing Calculators

Explore our suite of free online calculators for digital marketers. Each tool is designed to help you measure, compare, and optimize your advertising campaigns.