The equation for working out gross profit: Revenue – Cost of sales = Gross profit Expenses (overheads) – these are the costs that do not change as production increases or decreases.