Calculating the new price