impression calculation formula