CPM, or Cost Per Mille, is the cost per thousand ad impressions, crucial for understanding ad revenue potential. It's calculated by dividing the total campaign cost by total impressions, then multiplying by 1,000. Factors like niche popularity, geographic location, and ad format influence CPM rates. To boost CPM, focus on quality content, optimize ad formats, and enhance site performance.