Cash flow from operating activities: Formula and examples

- What is cash flow from operating activities (CFO)?
- Why operating cash flow matters
- Direct vs. indirect methods to calculate cash flow
- Step-by-step operating cash flow calculation
- Operating cash flow formula cheat sheet
- How to read the operating activities section of a cash flow statement
- What cash flow from operating activities includes and excludes
- How US GAAP and IFRS classify operating cash flows
- Examples of operating activities by industry
- Limitations and red flags in analyzing operating cash flow
- How to improve operating cash flow with automation
- Strengthen operating cash flow with Ramp
Cash flow from operating activities (CFO) is the cash your business generates or spends through its core, day-to-day operations, not just the profit your income statement shows. While net income tells you about profitability on paper, operating cash flow reveals whether you have enough cash to pay bills, invest in growth, and keep the lights on.
Understanding CFO helps you spot cash problems before they become issues and make better decisions about how to manage your working capital. Once you know how CFO works, you can tighten collections, optimize payment timing, and keep more cash available for growth.
What is cash flow from operating activities (CFO)?
Cash flow from operating activities is the cash your company generates from day-to-day business operations, such as selling products or services and paying suppliers, employees, and other operating expenses. Also called operating cash flow (OCF), it's the first section of the cash flow statement and arguably the most important because it shows whether your core business activities generate enough cash to sustain operations.
Unlike net income, which follows accrual accounting rules, operating cash flow tracks actual cash inflows and outflows. For example, you might show a profit on your income statement while struggling to pay bills if customers aren't paying invoices quickly enough. That's where CFO becomes essential for understanding your true financial position.
Why operating cash flow matters
Operating cash flow shows the actual cash moving through your business, while net income includes non-cash items like depreciation and changes in accounts receivable (AR) that don't immediately affect your bank balance. A company can report strong profits while having negative cash flow if it's not collecting receivables or if it's building up inventory.
Positive operating cash flow indicates your business generates enough cash from operations to cover expenses and fund growth without relying on external financing. Negative operating cash flow signals potential problems: You're burning through cash faster than you're bringing it in, which isn't sustainable over the long term, even if you're showing accounting profits.
Net cash flow from operating activities and net income diverge the most in three situations:
- Aggressive revenue recognition inflates net income without generating cash, since you've booked revenue that customers haven't actually paid yet.
- High depreciation charges suppress net income but don't reduce cash.
- Rapid inventory buildup or slow collections tie up cash in goods or outstanding invoices rather than letting it flow into your account.
To go a step further, subtracting capital expenditures from operating cash flow gives you free cash flow, the cash actually available for growth, debt repayment, or distributions. To see how operating cash flow stacks up against your short-term obligations, use the operating cash flow ratio.
Direct vs. indirect methods to calculate cash flow
You can calculate operating cash flow using two approaches: the direct method and the indirect method. Both arrive at the same number but take different paths to get there.
| Aspect | Direct cash flow | Indirect cash flow |
|---|---|---|
| Method | Lists all sources of cash receipts and payments in detail | Starts with net income and notes changes in working capital accounts to arrive at cash flow from operating activities |
| Reconciliation of net income | Under US GAAP, you still have to provide a separate reconciliation of net income to operating cash flow | The starting point for cash generated from operating activities is net income |
| Accounting standard acceptance | Accepted under both GAAP and IFRS | Accepted under both GAAP and IFRS |
| Prevalence | Not widely used by most companies | The most commonly used cash flow presentation method |
Direct method
The direct method lists actual cash receipts from customers and subtracts cash payments for operating expenses like salaries, rent, and supplier payments. While this approach provides clearer visibility into specific cash flows, it's less common because tracking every cash transaction requires more detailed recordkeeping than most accounting systems provide by default.
Here's how the cash flow direct method works using a hypothetical Company A:
- Cash received from customers: $500,000
- Interest received: $10,000
- Cash paid to suppliers: ($300,000)
- Salaries paid: ($100,000)
- Taxes paid: ($20,000)
Operating cash flow (direct method) = $500,000 + $10,000 – $300,000 – $100,000 – $20,000 = $90,000
Indirect method
The indirect method starts with net income from your income statement and adjusts for non-cash items and working capital changes. Since most companies already track net income and balance sheet changes, this method requires less additional work and is the method most companies use.
Using the cash flow indirect method for the same Company A:
- Start with net income: $70,000
- Add back depreciation: +$15,000
- Subtract AR increase: −$10,000
- Add inventory decrease: +$5,000
- Add AP increase: +$10,000
Operating cash flow (indirect method) = $70,000 + $15,000 – $10,000 + $5,000 + $10,000 = $90,000
Both methods arrive at the same $90,000. The indirect method is more common because it uses figures already available in your financial statements.
Step-by-step operating cash flow calculation
The formula for calculating cash flow from operating activities using the indirect method is:
Cash flow from operating activities = Net income + Non-cash expenses ± Non-operating gains and losses ± Changes in working capital
You'll pull these figures from your income statement and balance sheet, so it's essential that you're working with accurate, up-to-date financial data.
The four steps below follow the same order as the operating section of a real cash flow statement, so your operating cash flow calculation mirrors what you'll see when you read one. Company A works as the running example: $70,000 in net income becomes $90,000 in operating cash flow.
1. Start with net income
Your starting point is net income from the income statement. This is the bottom line that shows your company's profit after all revenues and expenses.
Net income includes both cash and non-cash transactions, so you'll need to adjust it to reflect actual cash movement. Think of this as your baseline that you'll modify to get to the real cash number.
2. Add non-cash expenses
Non-cash expenses don't involve actual cash payments but reduce earnings on your income statement. The most common non-cash expenses are depreciation and amortization, accounting entries that spread the cost of assets over their useful life.
Since depreciation was deducted when calculating net income but didn't require a cash payment, you add it back to net income. Other non-cash expenses to add back include stock-based compensation, asset impairments, and losses on asset sales.
3. Adjust for working capital changes
Working capital equals current assets minus current liabilities. Changes in these accounts directly affect your cash position: Increases in AR or inventory consume cash, while increases in accounts payable (AP) or accrued expenses add cash.
Here's how each component affects your calculation:
- Accounts receivable increase: When accounts receivable increases, sales revenue on a cash basis decreases because customers purchased goods or services but haven't paid for them yet.
- Inventory increase: When inventory increases, cost of goods sold (COGS) on a cash basis increases, creating a cash outflow.
- Accounts payable increase: More unpaid bills mean you've kept cash that would have gone to suppliers, which improves cash flow.
4. Remove non-operating gains and losses
Net income can include gains or losses from events outside your core operations, like selling equipment, and that cash belongs in investing or financing activities. To keep operating cash flow clean, you subtract those gains and add back those losses.
Example: You sell a used delivery van for $12,000 that's on your books at $9,000. Subtract the $3,000 gain here; the full $12,000 shows up in investing activities.
Interest and taxes work differently: they're already in net income and stay in operating activities, so you don't subtract them again. Under U.S. GAAP, interest paid is an operating cash flow. IFRS currently lets companies choose operating or financing, but IFRS 18 amendments to IAS 7, effective for periods beginning on or after Jan. 1, 2027, require most nonfinancial companies to classify interest paid as financing.
Operating cash flow formula cheat sheet
| Adjustment type | Effect on cash flow | Common examples |
|---|---|---|
| Non-cash expenses | Add back | Depreciation, amortization, and stock compensation |
| Asset increases | Subtract | Higher accounts receivable, inventory, prepaid expenses |
| Liability increases | Add | Higher accounts payable, accrued expenses, deferred revenue |
| Asset decreases | Add | Lower accounts receivable, inventory, prepaid expenses |
| Liability decreases | Subtract | Lower accounts payable, accrued expenses, deferred revenue |
How to read the operating activities section of a cash flow statement
To find cash flow from operations, look at the first section of the cash flow statement, usually labeled "Cash flows from operating activities." The statement starts from net income and reorders information from your income statement and balance sheet into cash terms.
Here's what net operating cash flow looks like for Company A:
| Line item | Amount |
|---|---|
| Net income | $70,000 |
| Depreciation | +$15,000 |
| Increase in accounts receivable | −$10,000 |
| Decrease in inventory | +$5,000 |
| Increase in accounts payable | +$10,000 |
| Net cash provided by operating activities | $90,000 |
Read the bottom line against two benchmarks. First, compare it to net income: Company A's operating cash flow is $20,000 higher, mostly because of the $15,000 depreciation add-back. Second, compare it to prior periods to see whether that gap is stable or growing.
A large, recurring gap driven by working capital is the signal to dig in. If receivables keep climbing faster than sales or payables keep stretching, the operating cash number may not hold up next period.
What cash flow from operating activities includes and excludes
Understanding what belongs in operating activities versus investing or financing activities helps you classify cash flows correctly and avoid mixing different types of business activities. Operating activities cover cash from running the business; anything tied to long-term assets or to how you're funded sits elsewhere.
Example: A $40,000 equipment purchase never touches operating cash flow, even though it drains your bank account the same month.
Cash inflows
Your primary sources of operating cash inflows include:
- Cash received from customers for products and services sold
- Interest received on short-term investments or loans made to others
- Dividends received from equity investments in other companies
This list follows U.S. GAAP. Under IFRS, interest and dividends can sit elsewhere (see the GAAP vs. IFRS section below).
Cash outflows
Operating cash outflows represent money spent on day-to-day business activities:
- Payments to suppliers and vendors for inventory and services
- Employee salaries, wages, and benefits
- Rent payments for office space, warehouses, or retail locations
- Utility payments for electricity, water, and internet services
- Tax payments to federal, state, and local governments
- Interest payments on loans and lines of credit
This list follows U.S. GAAP. Under IFRS, interest and dividends can sit elsewhere.
What operating activities exclude
Operating cash flow excludes investing and financing activities. The SEC's guide separates them this way:
- Investing activities: Buying or selling long-term assets like property, plant, and equipment, plus investment securities
- Financing activities: Loan proceeds and repayments, equity you raise, and dividends you pay
As a rule of thumb, if the cash relates to a long-term asset or to how the business is funded, it's not operating. A cash outflow from operating activities, like a supplier payment, keeps the business running day to day, while an investing outflow, like an equipment purchase, builds long-term capacity.
How US GAAP and IFRS classify operating cash flows
The same payment can land in different sections depending on your accounting framework, which changes the operating cash flow you report. That matters when you compare companies or report to IFRS-based investors or a parent company.
Under generally accepted accounting principles (GAAP), interest paid, interest and dividends received, and income taxes all stay in operating activities. IFRS gives companies more choice today, but IFRS 18 removes most of those options for periods beginning on or after Jan. 1, 2027.
| Item | U.S. GAAP | IFRS today (IAS 7) | IFRS 18 (periods beginning Jan. 1, 2027) |
|---|---|---|---|
| Interest paid | Operating | Operating or financing | Financing |
| Interest received | Operating | Operating or investing | Investing |
| Dividends received | Operating | Operating or investing | Investing |
| Dividends paid | Financing | Operating or financing | Financing |
| Income taxes | Operating | Generally operating | Generally operating |
| Finance lease principal | Financing | Financing (IFRS 16) | Financing (IFRS 16) |
| Operating lease payments | Operating | Principal generally financing (IFRS 16) | Principal generally financing (IFRS 16) |
IFRS 18 rules apply to most nonfinancial companies; banks and insurers differ. U.S. GAAP lease classifications follow ASC 842.
IFRS 18 also changes the IFRS indirect-method starting point from profit to operating profit, according to KPMG's summary of the IAS 7 amendments.
Examples of operating activities by industry
Operating cash flow behaves differently depending on your business model. A SaaS company collecting annual subscriptions up front will have a very different cash flow profile than a retailer managing seasonal inventory cycles.
SaaS company example
A software company collects $1 million in annual subscription revenue up front, but recognizes it monthly over 12 months. The operating cash flow shows the full $1 million as a cash inflow when received, while net income only includes the portion earned each month.
Customer acquisition costs like sales commissions hit cash flow immediately when paid. Meanwhile, the company adds back depreciation expenses on laptops and amortization of capitalized software development costs since these don't require cash payments.
Retail and e-commerce example
A retailer buying inventory for the holiday season sees cash flow decrease when paying suppliers in October, even though sales won't come in until November and December. When those sales occur, AR might increase if wholesale customers buy on net terms, temporarily reducing cash flow despite strong sales.
The company's operating cash flow also reflects timing differences in supplier payments. Taking advantage of 30-day payment terms lets you sell inventory before cash leaves your bank account.
Healthcare services example
A medical practice bills insurance companies $500,000 for services but only collects $350,000 during the period due to claim processing delays. The $150,000 increase in AR reduces operating cash flow even though the practice recorded the full revenue.
Medical supply purchases paid in cash immediately impact cash flow. However, if the practice negotiates payment terms with suppliers, it can delay cash outflows while still recording the expense.
Limitations and red flags in analyzing operating cash flow
Operating cash flow doesn't tell the whole story about your company's financial health. It excludes capital expenditures needed to maintain or grow your business, and it can be manipulated through timing of payments and collections.
Watch for these warning signs in operating cash flow:
- Consistently negative CFO despite positive net income suggests collection problems or aggressive revenue recognition.
- Sudden improvements from working capital changes may indicate unsustainable stretching of payables or aggressive collection tactics.
- Large one-time adjustments can mask underlying operational issues.
Timing differences between periods can distort the picture. A company might delay paying suppliers at year-end to boost cash flow, but this isn't sustainable and will reverse in the next period.
How to improve operating cash flow with automation
Better operational management through finance automation can improve your cash position without requiring external financing or cutting essential expenses.
Accelerate receivables
Speed up cash collection by automating your invoicing process to bill customers immediately upon delivery. Set up automated payment reminders that go out before invoices are due, reducing the likelihood of late payments.
With Ramp Accounts Receivable, AI prepares each collections follow-up using the timing and tone policy your finance team sets. Your team reviews and sends every message, and incoming payments are matched to the right open invoice.
Offer multiple digital payment options like ACH transfers, credit cards, and online payment portals. Customers pay faster when it's convenient, and automated processing means cash hits your account sooner.
Optimize payables timing
Set up automated approval workflows to efficiently process invoices and maximize the time before payment. This keeps cash in your account longer without risking late fees or damaging vendor relationships.
With Ramp Bill Pay, you can route approvals and schedule ACH, check, virtual card, or wire payments for the due date instead of paying early. Finance teams process invoices 2.4x faster than with legacy software.
Take advantage of early payment discounts when they exceed your cost of capital. Automated systems can flag these opportunities for you.
Control day-to-day operating expenses
Implement automated expense tracking to monitor spending in real-time rather than waiting for month-end reports. Set up alerts for unusual spending patterns or when expenses exceed budgeted amounts.
Create approval hierarchies that automatically route expenses to the right managers based on amount and category. This prevents unauthorized spending while keeping legitimate expenses moving through the system.
Automate expense and vendor workflows
Replace manual expense reports with automated capture and categorization of receipts. Employees snap photos of receipts, and the system extracts data and matches it to corporate card transactions.
Automate vendor onboarding and payment processing to reduce the time between invoice approval and payment. This improves cash flow predictability by standardizing payment cycles and eliminating processing delays.
Strengthen operating cash flow with Ramp
Compiling the operating activities section of your cash flow statement often means chasing down transaction data across multiple systems at month-end. You're pulling expense records from one tool, matching them against your general ledger in another, and manually coding transactions before anything syncs to your ERP.
Ramp's Accounting Agent takes the manual coding out of that loop. The moment a transaction posts, the Accounting Agent auto-codes every relevant ERP field, including GL account, department, class, and location. Routine, in-policy transactions flow through a zero-touch lane from swipe to sync, with no manual review required. Exceptions surface for your team through Smart Review, so you spend time only on the transactions that actually need attention.
The result is real-time visibility into your operating cash flows instead of a retroactive reconstruction at period-end. Your expense data is coded and synced continuously, which means the operating activities section of your cash flow statement reflects current reality, not last month's best guess. Ramp customers close their books 3x faster, with 98% accuracy on transactions flagged "ready to sync." Every coding decision comes with a confidence level and rationale, and your team can override it at any time.
Try an interactive demo to see how Ramp can help you track and improve cash flow from operating activities.

FAQs
Operating cash flow appears in the first section of the cash flow statement, typically labeled 'Cash flows from operating activities.' It's positioned above the investing activities and financing activities sections.
Stock-based compensation gets added back to net income when calculating operating cash flow because it's a non-cash expense. While it reduces reported earnings by recognizing the value of equity given to employees, no actual cash leaves the company.
Under U.S. GAAP, dividends received are operating cash flows. IFRS currently allows operating or investing, and from 2027 IFRS 18 requires most nonfinancial companies to report them as investing.
Under U.S. GAAP (ASC 842), operating lease payments are operating cash outflows, while finance lease principal repayments go in financing and the interest portion is operating. IFRS 16 lessees generally report lease principal in financing.
Negative operating cash flow means your business is spending more cash on daily operations than it's bringing in. It can be normal for fast-growing companies building inventory or extending customer terms, but persistent negative CFO signals that core operations aren't self-sustaining and may require external financing.
“I assumed I would have to choose between speed and control. What I found is that you can have both. A well-designed system takes friction out, for the finance function and for everyone else.”
Justin Webster
CFO, Denver Broncos

“A well-run district should not have to choose between getting work done at the school site and keeping control of the dollars behind it. We're not hiring more people to do more jobs, so we have to be smarter about the process. With Ramp, the purchase, the receipt, and the record stay together from the start. ”
Nick Brizeno
Director of Purchasing, San Marcos Unified School District

“In senior living, scale only works if the communities still feel personal. We needed the back office to carry more of the complexity, not the people serving residents. Ramp helped us build that infrastructure, so the experience in the community could stay human.”
Ryan Cole
CFO, Agemark Senior Living

“AI is moving faster than the finance context around it. Prices change, models change, and the value is not always obvious from an invoice. We needed enough detail to know which bets deserved more investment — and which ones did not.”
Greg Cooley
Controller, AngelList

“Invoices, cards, tokens. The categories change but the principle doesn't: know where the money is going, remove the work around it, and make sure the spend is worth it.”
Maciej Mylik. Finance
ElevenLabs

“We weren’t trying to retrofit an old finance system. We had a blank canvas, and Ramp gave us the foundation to build a global finance function of the future.”
Justin Dourado
Director of Finance, Othership

“There's just no surprises anymore. No more waiting two months to find out how a job did. We know how it's doing as it's happening.”
Erich Kuss
Financial Systems Manager, Infinity Home Services

“More token spend isn’t proof that AI is working. Less isn’t proof that it isn’t. What matters is whether we’re buying the right level of intelligence for the work. Ramp lets us make that judgment in the same place we manage every other type of spend.”
Cody Nutt
Senior Director of Business Systems, Daxko



