CTR is calculated by dividing the number of clicks by the number of impressions, then multiplying by 100.