Profit is determined by the excess of total revenue over total expenses. Cash flow, on the other hand, is equal to net profit plus depreciation minus changes in non-cash assets.