Investing guide

Operating Cash Flow Formula: How to Calculate OCF

investing5 min read

The operating cash flow formula using the indirect method, with working-capital adjustments, examples and how OCF differs from profit.

5 min read

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Want to learn more?

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Quick answer

Operating cash flow (OCF) is the cash a company generates from its normal business operations during a period. Most companies report it using the indirect method:

Explore Finelo's 28-day challenges

Turn learning into a daily habit with guided challenge paths.

View challenges

OCF = Net income + Non-cash expenses ± Changes in working capital

The SEC's beginner's guide to financial statements explains that this section of the cash flow statement reconciles net income to the actual cash the company received from or used in its operations, adjusting net income for non-cash items such as depreciation.

Example: a hypothetical company with net income of $200,000, depreciation of $50,000, a $30,000 increase in receivables and a $10,000 increase in payables has OCF of $230,000.

This guide explains each part of the formula, shows a worked example, and covers how to interpret OCF alongside profit.

How to calculate operating cash flow

1. Start with net income

Take net income from the bottom of the income statement. It includes revenue and expenses recorded on an accrual basis, not only cash that changed hands.

2. Add back non-cash expenses

Depreciation and amortization reduce net income but do not use cash in the current period. Other common non-cash items include stock-based compensation and impairment charges. Add them back.

3. Adjust for changes in working capital

Change during the period Effect on OCF Why
Accounts receivable increase Subtract Sales were recorded but cash not yet collected
Inventory increase Subtract Cash was spent on stock not yet sold
Accounts payable increase Add Expenses recorded but cash not yet paid
Accrued expenses increase Add Same as above
Any of these decrease Opposite effect

4. Worked example

Item Hypothetical value
Net income $200,000
+ Depreciation $50,000
− Increase in receivables ($30,000)
+ Increase in payables $10,000
Operating cash flow $230,000

The direct method

A few companies use the direct method, listing cash received from customers minus cash paid to suppliers, employees and others. It reaches the same total. Most public companies use the indirect method, so learning to read it is more practical.

Where OCF fits on the cash flow statement

The cash flow statement has three sections. The SEC guide describes investing activities as generally including purchases or sales of long-term assets, such as property and equipment, and financing activities as covering items like selling stock, issuing bonds or borrowing from banks.

Operating cash flow is the first section and often the most watched, because it shows whether the core business funds itself. Subtracting capital expenditures from OCF gives free cash flow, a common next step in analysis.

What to know before deciding

Profit and cash can diverge. A company can report rising net income while OCF falls, for example if customers are paying more slowly. The reverse also happens. A persistent gap deserves attention.

Working capital swings are often temporary. A big inventory build ahead of a busy season can depress OCF for one quarter and reverse later. Look at full-year and multi-year figures.

Classification differences exist. Under U.S. GAAP, interest paid is generally an operating cash flow, while other accounting frameworks allow different classifications. When comparing companies across countries, check the notes.

One-off items can flatter OCF. Selling receivables to a third party or delaying supplier payments can boost OCF in the short term without improving the business.

Common mistakes

  • Treating OCF as identical to EBITDA. EBITDA ignores working capital changes and taxes paid.
  • Forgetting the sign: an increase in an asset reduces cash; an increase in a liability adds to it.
  • Comparing OCF across companies of very different size without scaling it, for example as a percentage of revenue.

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Decision framework

What you see Possible meaning Next question
OCF consistently above net income Strong cash conversion, large non-cash charges Are depreciation charges covering real reinvestment needs?
OCF consistently below net income Cash tied up in receivables or inventory Are collections slowing?
OCF negative while profitable Rapid growth consuming working capital, or quality issues How is the company funding the gap?
OCF jumps in one year Working capital release or one-off Will it repeat?
OCF stable and growing Healthy core operations What share goes to capital spending?

Worked example: profit up, cash down

A hypothetical fast-growing wholesaler reports net income of $400,000. Depreciation adds back $60,000. But receivables rose by $300,000 as it extended credit to new customers, and inventory rose by $250,000 to support growth. Payables increased by $90,000. Operating cash flow is $400,000 + $60,000 − $300,000 − $250,000 + $90,000 = $0.

The business is profitable on paper but generated no cash from operations this year. That is common in rapid growth, because cash goes into working capital before it comes back. It becomes a concern if it persists: the company must fund the gap with borrowing or new equity, and if customers fail to pay, the profits may never turn into cash. When you see a pattern like this, check the financing section of the cash flow statement and the company's debt levels to see how the gap is being covered.

Build the habit with guided practice

Finelo's interactive courses explain how the three financial statements connect, and its AI Mentor can clarify any adjustment you do not understand. Try reconciling net income to operating cash flow for one company using its latest annual report.

A useful quick check is the ratio of operating cash flow to net income over several years. A ratio consistently near or above 1.0 suggests profits are turning into cash; a ratio that stays well below 1.0 is worth investigating in the working capital notes.

The SEC's beginner's guide is a helpful companion when reading your first cash flow statement, because it explains how the operating, investing and financing sections relate to the income statement and balance sheet. Reading the three statements together, rather than in isolation, is what turns the operating cash flow figure into real insight.

Next step

For practice, open one company's cash flow statement and list the three largest adjustments between net income and OCF. Those lines explain most of the gap between profit and cash.

For related reading, continue with reconciling net income to operating cash flow and free cash flow formula.


Work through one practical example on your own, using real figures or a historical chart, and note which assumptions matter most. If the underlying concepts still feel difficult to connect, build the foundations step by step; explore Finelo’s learning path and return to the example with clearer questions about assumptions, costs, and risk.

Finelo provides financial education, not personalized financial, investment, legal, or tax advice. Investing and trading involve risk, including the loss of money. Verify current details with official sources and your broker before acting.

Frequently asked questions

Is operating cash flow the same as net income?

No. Net income uses accrual accounting; OCF tracks actual cash. The cash flow statement reconciles the two.

Why is depreciation added back?

Depreciation spreads the cost of an asset over its life. The cash left when the asset was bought, so the yearly charge reduces profit without reducing cash.

What is the operating cash flow ratio?

It divides OCF by current liabilities to gauge whether operations generate enough cash to cover short-term obligations.

Where do I find OCF?

At the top of the cash flow statement, usually labeled "net cash provided by (used in) operating activities."
InvestingOperating Cash FlowCash Flow StatementBeginner

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

About the author

Finelo Team

The Finelo Team creates practical investing and trading education designed to help beginners learn faster with structured challenges, simulator practice, and bite-sized lessons.

Keep reading — Related articles

Make your next read a first step.

Take what sparked your curiosity and explore it through a guided, 28-day learning challenge.

Find your learning path