Profit calculator

Gross profit = revenue − cost. Margin = gross profit ÷ revenue. Not tax or accounting advice.