Aug 13, 2026
Enterprise

Operating cash flow formula: turn accrual profit into operating cash

Calculate operating cash flow from net income, non-cash charges and working-capital changes, with a worked example.

Dominic Okoye

By Dominic Okoye · Staff Writer

· 4 min read

The operating cash flow formula starts with net income, adds back non-cash charges, then adjusts for cash tied up in or released from working capital. It explains why reported profit and cash generated by core operations can diverge in the same period.

Operating cash flow (OCF) = Net income + non-cash expenses − increase in working capital. A decrease in working capital has the opposite effect and increases OCF. Operating cash flow, also called cash flow from operations or cash flow from operating activities, covers cash generated or used by regular business activity during a stated period. It excludes investing cash flows, such as capital expenditures, and financing cash flows, such as issuing stock or borrowing.

The operating cash flow formula, line by line

The indirect method begins with accrual-based net income, then converts that accounting result to cash from operations.

  • Net income: the starting profit or loss under accrual accounting. Revenue may be recorded before a customer pays, and expenses may be recorded before the company pays them.
  • Non-cash expenses: add back expenses that reduced net income without using cash in the period. Depreciation and amortization are standard examples. Cash-flow statements can also include stock-based compensation, deferred taxes, and unrealized gains or losses as separate adjustments.
  • Working-capital changes: adjust for timing differences in operating assets and liabilities.

The compact formula can conceal sign errors. Ask whether a balance-sheet change tied up cash or supplied it.

  • Accounts receivable increases: subtract it. The company recorded revenue that customers have not yet paid in cash.
  • Inventory increases: subtract it. Cash has been committed to goods not yet sold.
  • Accounts payable increases: add it. Expenses were recorded, but suppliers have not yet been paid.
  • Accrued expenses increase: add it for the same timing reason.
  • Unearned revenue increases: add it.

Worked example: operating cash flow formula

Hypothetical inputs for a quarter: A software company reports net income of $800,000. Its income statement includes $250,000 of depreciation and amortization and $300,000 of stock-based compensation. During the quarter, accounts receivable rises by $180,000, unearned revenue rises by $500,000, and accounts payable falls by $70,000.

  1. Start with net income: $800,000.
  2. Add non-cash expenses: $250,000 + $300,000 = $550,000.
  3. Adjust receivables: subtract the $180,000 increase.
  4. Adjust unearned revenue: add the $500,000 increase.
  5. Adjust payables: subtract the $70,000 decrease.

Calculation: $800,000 + $550,000 − $180,000 + $500,000 − $70,000 = $1,600,000 of operating cash flow.

The result exceeds net income by $800,000. In this example, the increase in unearned revenue and the non-cash expenses more than offset the cash absorbed by receivables and paid out through lower payables. The calculation does not include capital spending, debt repayments, equity fundraising, or the ending cash balance.

Direct method versus indirect method

The direct method calculates operating cash flow by listing actual operating receipts and payments rather than starting with net income.

  • Indirect method: net income, plus or minus reconciliation adjustments. It connects accrual earnings to operating cash flow and is widely used because it relies on information compiled for financial reporting.
  • Direct method: cash collected from customers and other operating receipts, less cash paid to suppliers, employees, taxes, and other operating costs. It is more transaction-specific and requires detailed cash records.

Where to find and how to read OCF

Find the reported number in the operating-activities section of the cash flow statement, typically the first of its three sections. The subtotal may be labeled net cash provided by (used in) operating activities. Investing and financing activities appear separately.

Positive OCF means core operations generated cash in the period, but it should be reviewed alongside net income, free cash flow, and other metrics. OCF excludes capital expenditures, which are investing cash flows.

Frequently asked questions

Why does an increase in accounts receivable reduce operating cash flow?

An accounts-receivable increase means the company recognized revenue but has not yet collected the associated cash from customers. Under the indirect method, that increase is subtracted from net income to convert accrual earnings into cash from operations.

Where is operating cash flow shown on a cash flow statement?

It appears in the operating-activities section, typically the first section of the cash flow statement. The total may be labeled “net cash provided by (used in) operating activities.”

Sources

More from Enterprise

All Enterprise →