To calculate eCPM (effective cost per mille), divide your total earnings by the number of impressions and multiply by 1,000: eCPM = (earnings ÷ impressions) × 1,000. If an affiliate banner earned €45 from 30,000 impressions, its eCPM is €1.50. That is how to calculate eCPM for any traffic, whether the money came from CPA, revshare, leads or ads.

"Mille" is Latin for thousand. eCPM is "effective" because it converts revenue earned on any basis into a per-thousand figure, so you can compare it with CPM ad rates or with what you pay for traffic.

The eCPM formula

eCPM = (total earnings ÷ total impressions) × 1,000

"Impressions" can mean different things depending on what you are measuring, so be explicit:

  • Ad or banner impressions: how many times a placement was shown. Use this to compare an affiliate banner with a display ad in the same slot.
  • Page views: useful for comparing whole-page monetisation, such as page RPM in some ad platforms.
  • Visits or sessions: useful when measuring paid traffic you buy per visit, such as popunders.

eCPM also links neatly to EPC. If you know your click-through rate (CTR):

eCPM = EPC × CTR × 1,000

So an EPC of €0.50 with a 0.3% CTR gives eCPM = 0.50 × 0.003 × 1,000 = €1.50. See how to calculate EPC for the per-click side.

eCPM for publishers and media buyers

For publishers

If you own the traffic (an SEO site, a tube site, a blog), eCPM tells you what each thousand impressions of a placement earns. You can then decide whether a slot should carry an affiliate offer, a display ad or a direct sponsorship.

For media buyers

If you buy traffic on a CPM basis, eCPM is your revenue per thousand impressions purchased. Your margin is simple:

profit per 1,000 impressions = your eCPM − the CPM you pay

If you pay €1.20 CPM for popunder traffic and your affiliate offers produce €1.60 eCPM on it, you make €0.40 per thousand before any other costs. Our guide to CPM vs CPC traffic covers when each buying model suits you, and you can compare networks in the traffic sources directory.

Worked example: affiliate offer vs display ads

Hypothetical example. Numbers are invented to show the method, not to suggest typical rates.

A header slot on your site gets 100,000 impressions a month. You test three options for a month each:

OptionEarnings basisMonthly earningseCPM
Display ad network€0.90 CPM€90€0.90
CPA dating offer250 clicks, 6 sales at €30€180€1.80
Cam offer on revshare300 clicks, 8 customers€120 in month 1€1.20 (month 1)

The CPA offer wins on the first month. But if the revshare customers continue to earn, say, €200 more over the next year, that slot's 12-month eCPM rises to (€120 + €200) ÷ 100,000 × 1,000 = €3.20. For long-term comparisons, track revshare cohorts and use your own retention data rather than guessing; our guide to customer lifetime value for revshare explains how.

A fixed sponsorship is another option. If an advertiser offers €250 a month for the slot, that is a guaranteed €2.50 eCPM, which you can compare directly; see flat fee vs commission deals.

eCPM vs EPC: which should you use?

EPCeCPM
MeasuresEarnings per clickEarnings per 1,000 impressions or visits
Best forComparing offers on the same clicks; CPC buyingComparing placements, ads vs affiliate; CPM buying
Blind spotIgnores how many visitors clickMixes offer quality with creative and placement performance

Use both. EPC tells you which offer is worth more per interested visitor; eCPM tells you which use of the space or traffic earns more overall. An offer with a high EPC but a dull creative can lose on eCPM to a lower-EPC offer that people actually click.

How to improve eCPM on affiliate offers

  • Test creatives and placements. CTR is half the equation. Better relevance and positioning lift eCPM without changing the offer.
  • Match offers to geo and device. Route traffic to offers that pay well for each country and device, for example with adult smartlinks or your own rules.
  • Prune placements. On bought traffic, cut sources whose eCPM sits below your cost.
  • Negotiate. A higher payout feeds straight into eCPM.

Common eCPM mistakes

  1. Mixing impressions, page views and visits in the same comparison.
  2. Comparing a one-month revshare eCPM with a guaranteed CPM rate.
  3. Including pending commissions that may be reversed.
  4. Ignoring the user-experience cost of heavy ad loads, which can reduce return visits and long-term revenue.

Frequently asked questions

What does eCPM stand for?

Effective cost per mille, where mille means thousand. It is the revenue earned per thousand impressions, however that revenue was generated.

Is eCPM the same as RPM?

They are closely related. RPM (revenue per mille) is the term some ad platforms use for publisher earnings per thousand page views or impressions. Check each platform's definition before comparing.

Can eCPM be used for revshare offers?

Yes, but measure it at several intervals, such as 30, 90 and 365 days, because revshare earnings grow over time.

Next steps

Pick your three highest-traffic placements and calculate eCPM for what they carry now, then test one alternative per slot. For the bigger picture, read affiliate links vs display ads or browse the other commission models guides.