Cash flow is calculated by making certain adjustments to net income by adding or subtracting differences in revenue, expenses, and credit transactions (appearing on the balance sheet and income statement) resulting from transactions that occur from one period to the next.