Calculation of selling price