What is the formula to calculate premium