eCPM, RPM & CPM Calculator for Publishers

Most revenue conversations in ad ops come back to three numbers: how much you earned, how many impressions you served, and what each thousand of them was worth. This calculator converts between them in both directions, and if you add pageviews it also gives you page RPM and the number of ad impressions you serve per page. Pick what you want to solve for, type the other two numbers, and the results update as you type.

How to use the calculator

Start by choosing what you are solving for. The field you pick disappears, because the calculator works it out from the other two.

  • Solve for eCPM when you have a revenue report and want to know what your inventory was actually worth per thousand impressions.
  • Solve for revenue when you are forecasting: you know roughly how many impressions a new section or a traffic spike will bring, and you have a realistic eCPM from past months.
  • Solve for impressions when you have a revenue target and want to know how much inventory it takes to hit it at today’s prices.

Then add pageviews from your analytics tool for the same period and the same pages. Page RPM and ad density only mean something if the revenue, impressions and pageviews all describe the same slice of traffic. Mixing a site-wide revenue number with blog-only pageviews is the most common reason these figures look strange.

The formulas behind it

MetricFormulaWhat it tells you
eCPMrevenue ÷ impressions × 1,000What 1,000 impressions earned, across every buyer and line item
Revenueimpressions × eCPM ÷ 1,000Forecast or sanity check for a report
Impressionsrevenue ÷ eCPM × 1,000Inventory needed for a revenue target
Page RPMrevenue ÷ pageviews × 1,000What 1,000 pageviews earned, the number that pays the bills
Ad impressions per pageviewimpressions ÷ pageviewsAd density, how many paid impressions each page produces

The important relationship is the last one: page RPM = eCPM × ad impressions per pageview. RPM can go up because each impression sells for more, or because each page produces more sellable impressions. Those are two very different levers, and the calculator shows both side by side so you can see which one is moving.

A worked example

Take a publisher that earned $1,250 last month from 500,000 ad impressions on 200,000 pageviews. These are the default values in the calculator.

  • eCPM is $1,250 ÷ 500,000 × 1,000 = $2.50.
  • Page RPM is $1,250 ÷ 200,000 × 1,000 = $6.25.
  • Ad density is 500,000 ÷ 200,000 = 2.5 impressions per pageview.

Now suppose the same publisher adds a well-placed in-content unit and density rises to 3.0 impressions per pageview while eCPM stays at $2.50. Page RPM moves to $7.50, a 20% lift with no change in prices. If the new unit sits below the fold and drags average viewability down, buyers may lower their bids and eCPM can slip to $2.20. Page RPM then lands at $6.60. That is still up, but by far less than the impression count suggests. That is why I look at eCPM and density together instead of celebrating either number alone.

eCPM, CPM and RPM are not the same thing

CPM is a price. It is what an advertiser agrees to pay per thousand impressions on a specific deal or line item. eCPM (“effective” CPM) is an outcome. It is your total revenue divided by every impression you served, including the cheap backfill and the house ads that earned nothing. Page RPM goes one step further and measures earnings against pageviews, so it also captures how many ads each page carries and how many requests went unfilled.

In practice this means:

  • A strong CPM on one deal does not guarantee a strong eCPM. Unsold and low-value impressions dilute the average.
  • eCPM can rise while revenue falls, for example when a floor price blocks low bids and fill rate drops.
  • Page RPM is the fairest number for comparing months, sections or sites, because it is tied to traffic you already have.

If you want the longer explanation, read What Is CPM in Advertising? and What Is RPM in Advertising?.

Where to find the inputs

In Google Ad Manager, a basic report with the dimension Date and the metrics Total impressions, Total CPM and CPC revenue and Total average eCPM gives you the first three numbers. In AdSense, use the Impressions and Estimated earnings columns, and the Page RPM column if you want to cross-check the calculator. Pageviews come from your analytics tool. Make sure the date range and time zone match your ad server. A one-day shift between reports is enough to move RPM by several percent on a site with uneven daily traffic.

What to do with the result

  • Low eCPM, normal density: you have a pricing problem. Look at demand competition, floors and viewability. The header bidding uplift estimator and the floor price calculator help you size those changes.
  • Normal eCPM, low density: pages are not producing enough sellable impressions. Check unfilled requests with the fill rate calculator before you add more ad slots.
  • High density, falling eCPM: you may have too many ads per page. Check viewability with the viewability revenue calculator and compare RPM before and after any layout change.

Frequently asked questions

What is a good eCPM?

It depends on format, geography, season and audience, so a single benchmark is not very useful. Track your own eCPM by month and by ad unit, and compare against the same month last year. Q4 is usually the strongest quarter and January the weakest.

Why is my RPM higher than my eCPM?

Because you show more than one ad impression per pageview. With 2.5 impressions per page, RPM is 2.5 times eCPM. If RPM is lower than eCPM, you serve less than one impression per pageview, which usually points to lazy-loaded units that never load or to a high share of unfilled requests.

Should I optimize for eCPM or RPM?

Optimize for page RPM and use eCPM as a diagnostic. RPM ties revenue to the traffic you already have; eCPM tells you whether the price side or the volume side is moving it.

More practical guides are on the blog, and the full set of calculators is on the Tools page.

References and further reading

Related guides

JOIN THE NEWSLETTER
Be the first to know about new posts on ad ops, ad tech and publisher monetization.