The formula to calculate profit is: Total Revenue - Total Expenses = Profit. Profit is determined by subtracting direct and indirect costs from all sales earned. ... For businesses, profit is often calculated by profit margin formula: (( Revenue - Cost of goods) / Revenue)*100.