calculate the selling price