Formula
Profit = Revenue − (COGS + Operating Expenses + Other Costs)
FAQ
Pre-tax or after-tax?
This is pre-tax. Apply your effective tax rate separately, or use the net profit calculator which includes tax.
Why itemize at all?
Because the fix differs by category: COGS problems are sourcing/pricing problems; opex problems are structure problems. A single cost number hides this.