Basis Report/Resources/Operating Cash Flow

Cash flow analysis · Financial statements

Operating Cash Flow: Formula, Calculation & What It Means

Net income is what the accounting rules say a company earned. Operating cash flow is what actually landed in the bank account from running the business. Understanding the gap between the two — and how to calculate OCF from scratch — is one of the most useful skills in fundamental analysis.

Short answer

Operating cash flow (OCF) measures the cash a company generates from its core business operations — before investing or financing activities. OCF = Net Income + Depreciation & Amortization + Stock-Based Compensation ± Changes in Working Capital. It starts with net income and adjusts for non-cash items and working capital movements. Apple (AAPL) FY2024: $94.0B net income + $11.4B D&A + adjustments = $118.3B OCF.

OCF = Net Income + D&A + SBC ± ΔWorking Capital

What Is Operating Cash Flow?

Operating cash flow is the cash generated (or consumed) by a company's day-to-day business operations. It appears at the top of the cash flow statement, under "Cash flows from operating activities," and is reported every quarter in 10-Q filings and annually in 10-K filings.

The key distinction from net income: OCF strips away accounting conventions and measures cash reality. Net income includes non-cash charges like depreciation and amortization — real economic wear on assets, but not actual cash leaving the company today. It also includes revenue recognized before the customer actually pays, and expenses recorded before the supplier is actually paid. These accrual adjustments can make net income a misleading picture of what a business is really generating.

OCF adds back those non-cash charges and adjusts for changes in working capital (receivables, inventory, payables) to arrive at the actual cash the business produced. A company with $500M in net income but $300M in OCF is converting only 60% of its reported earnings to cash — a signal worth investigating before making any valuation judgment.

Formula: The Indirect Method (Step-by-Step)

The indirect method is what you'll see on virtually every U.S. public company's cash flow statement. It starts with net income and works backward to isolate cash from operations.

Start: Net income
$X
+ Depreciation & Amortization (D&A)
Always positive (non-cash expense)
+ Stock-Based Compensation (SBC)
Always positive (non-cash expense)
± Change in Accounts Receivable
Receivables up = cash out (negative)
± Change in Inventory
Inventory up = cash out (negative)
± Change in Accounts Payable
Payables up = cash in (positive)
± Other working capital changes
Deferred revenue, accruals, etc.
= Operating Cash Flow
Cash from operations

Working capital changes can be either a source or use of cash. When receivables grow faster than sales, the company is effectively lending to customers — cash out. When payables grow, the company is stretching supplier payments — cash in, but not infinitely sustainable.

Apple (AAPL) FY2024 Worked Example

Apple's FY2024 cash flow statement shows the indirect method in action. Starting from $94.0B in net income, Apple worked through non-cash adjustments and working capital changes to arrive at $118.3B in operating cash flow — a conversion ratio of 1.26x.

Net income (FY2024)
$94.0B
+ Depreciation & Amortization
+$11.4B
+ Stock-Based Compensation
+$11.7B
± Working capital & other adjustments
+$1.2B
= Operating Cash Flow
$118.3B

AAPL's OCF exceeds net income because D&A and SBC are non-cash expenses that reduce net income but don't reduce cash. Asset-light businesses like Apple consistently show OCF above net income — a sign of high earnings quality and strong cash conversion.

Direct Method (Brief Overview)

The direct method calculates OCF by listing all actual cash inflows and outflows: cash received from customers, cash paid to suppliers, cash paid to employees, and so on. The formula is:

OCF (Direct) = Cash Receipts from Customers − Cash Paid to Suppliers − Cash Paid to Employees − Other Operating Cash Payments

In theory, the direct method is more transparent because it shows where the cash actually came from and where it went. In practice, the vast majority of U.S. public companies use the indirect method because it requires less additional disclosure. When you read a cash flow statement in the real world, you will almost always see the indirect method.

OCF vs. Net Income vs. Free Cash Flow

These three metrics measure different things. Confusing them is one of the most common mistakes in fundamental analysis.

MetricWhat it includesBest used for
Net IncomeRevenue minus all expenses (including non-cash D&A, SBC)EPS, P/E ratio, headline earnings comparison
Operating Cash FlowCash generated from operations; adds back non-cash items, adjusts working capitalEarnings quality check; cash conversion analysis
Free Cash FlowOCF minus capital expenditures (CapEx)Valuation (DCF), dividends, buybacks, debt paydown capacity

Key relationship: FCF = OCF − CapEx. OCF is the starting point; subtracting capital expenditures gives you the cash available to shareholders after maintaining and growing the asset base. See the free cash flow guide for the full FCF framework.

How to Read OCF on the Cash Flow Statement

The cash flow statement has three sections: operating, investing, and financing. Operating cash flow appears first — it's the most important section for assessing business quality.

On the actual statement, look for the line labeled "Net cash provided by (used in) operating activities." That single number is OCF. The lines above it (D&A, SBC, changes in working capital) explain how you get there from net income. Most data providers surface the final OCF number directly; to see the full reconciliation, pull the actual 10-K or 10-Q from SEC EDGAR.

Warning signs to watch for in the operating section:

  • Negative OCF with positive net income. Net income is positive but cash from operations is negative — the business is consuming cash despite reporting profits. Usually driven by working capital deterioration (receivables or inventory building faster than revenue). This is the most serious warning sign.
  • Rapid accounts receivable growth. Receivables growing faster than revenue means customers are paying more slowly. The company is recognizing revenue before collecting cash. Check the days sales outstanding (DSO) trend.
  • Inventory buildup without revenue growth. Inventory rising while revenue is flat or declining often precedes write-downs. The cash is already gone; the accounting hit comes later.
  • Shrinking accounts payable. If the company is paying suppliers faster than before, OCF declines. Could indicate suppliers demanding faster payment — a potential sign of deteriorating supplier relationships.

OCF Margin: Industry Benchmarks

OCF margin = Operating Cash Flow / Revenue. It tells you how many cents of operating cash a company generates for every dollar of revenue. Benchmarks vary significantly by industry.

IndustryTypical OCF MarginDriver
Software / SaaS30–50%Asset-light; deferred revenue; high margins
Consumer Staples15–25%Stable demand; predictable working capital cycles
Retail5–15%Low margins; inventory-intensive working capital
Capital-Intensive (Industrials, Energy)10–20%Solid OCF, but large CapEx needed to maintain operations
Financial ServicesVaries widelyOCF is less meaningful; use net interest margin instead

Always compare OCF margin within a sector rather than across sectors. A 12% OCF margin is excellent for a retailer and below average for an enterprise software company. For the DCF calculator, OCF margin is a useful sanity check on your free cash flow projections — FCF margin will always be lower than OCF margin by the CapEx percentage.

Why OCF Is More Reliable Than Net Income

Net income is an accounting construct. It can be legally and legitimately influenced through management's choices about depreciation methods, revenue recognition timing, expense capitalization, and acquisition accounting. Operating cash flow is harder to manipulate because it measures actual cash movements through a bank account — auditors can verify cash balances in ways that are more definitive than checking assumptions in a depreciation schedule.

The most common divergence pattern: a company reports rising net income quarter after quarter while OCF stagnates or declines. The gap is usually working capital — receivables ballooning as the company books revenue before collecting it, or inventory growing as the company produces more than it sells. Both show up as uses of cash in the operating section, dragging OCF below net income.

Tracking the OCF conversion ratio (OCF / Net Income) over time is one of the simplest and most effective earnings quality checks. A ratio consistently above 1.0 means the business generates more cash than it reports in profits — the hallmark of asset-light, high-quality businesses. A ratio below 0.7 that persists or deteriorates is worth serious investigation before committing capital.

For a deeper look at how OCF fits into the broader cash flow framework, see how to read a cash flow statement. For the DCF model inputs, OCF less CapEx gives you free cash flow — the foundation of any discounted cash flow valuation. And when assessing how efficiently a business deploys capital, OCF relative to invested capital connects to return on invested capital (ROIC).

🧮
Try the DCF Calculator
Use operating cash flow as the starting point for a full discounted cash flow model. Projects FCF and returns intrinsic value for any ticker.
Open Calculator →
Related guide
Free Cash Flow Guide →
FCF = OCF − CapEx. Learn the free cash flow framework, FCF conversion ratio, and how to use FCF yield as a valuation anchor.
Want the full picture on AAPL?See how our AI scores AAPL across earnings quality, capital allocation, moat, and 12 more dimensions.→ Generate Free AAPL Report