Cash flows for a business are calculated by computing the loss in cash flows due to outflow and subtracting it from the gain in cash flows due to inflows.