Profit and Cost Calculation