The formula
CPM = (total spend ÷ total impressions) × 1,000
The M is the Roman numeral for a thousand. Single impressions are priced in fractions of a cent, so the industry quotes the cost of a thousand at a time.
Worked example
Acme spends $450 on a video campaign that delivers 150,000 impressions. $450 ÷ 150,000 × 1,000 = $3.00 CPM.
From CPM to CPC
If you know CTR, you can turn CPM into an expected cost per click: CPC = CPM ÷ (1,000 × CTR). A $3.00 CPM at a 0.5% CTR works out to $0.60 per click.