CPM Equation

The CPM equation is: 

Cost per impression = 1 000 x Total advertising cost / Total measured impressions.

For example, an advertiser spends $200 on an ad campaign that brings 100, 000 impressions. The CPM of such a campaign is:

CPM = 1000 x 200/100, 000;
CPM = $2.