Revenue and Cost Calculation