(Total Cost / Total Impressions ) x 1,000 = CPM
The CPM formula our calculator uses starts by you dividing your total ad cost by the number of impressions that ad received. This will give you the cost per 1 impression. To calculate CPM you then need to take the number you just got and multiply it by 1,000 to get cost per 1,000 impressions.