What is cash flow from operating activities (CFO)? Definition, 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
- What cash flow from operating activities includes and excludes
- Examples of operating activities by industry
- Operating cash flow formula cheat sheet
- Operating cash flow ratio
- 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) reveals the actual cash your business generates from its core operations, not just what shows up on your income statement. 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.
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 | Not part of the reconciliation of net cash flow from operating activities | 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 used by the vast majority of public and private companies.
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 – Working capital changes
You'll pull each of the figures from your income statement, so it's essential that you're working with accurate, up-to-date financial data.
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. Subtract interest and tax cash outflows
Remove the actual cash payments for interest and taxes from your operating activities calculation. These represent real cash leaving your business for financing costs and government obligations.
Some companies include interest and taxes in operating activities, while others classify them separately. Double-check your company's accounting policies to ensure consistent treatment.
Under generally accepted accounting principles (GAAP), interest paid is typically classified as an operating activity. Under IFRS, companies can classify interest paid under either operating or financing activities.
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.
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
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
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 customers use store credit cards, 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 means expenses hit their income statement before cash leaves the 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.
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 |
Operating cash flow ratio
The operating cash flow ratio measures how well your company can cover short-term obligations using cash generated from core operations.
Operating cash flow ratio= Cash flow from operations / Current liabilities
A ratio above 1.0 means you generate more than enough operating cash to cover your current liabilities. Below 1.0 signals potential short-term liquidity risk, because your operations alone aren't producing enough cash to meet obligations coming due within the year.
Example: If your operating cash flow is $500,000 and current liabilities are $400,000, your ratio is 1.25. You generate $1.25 from operations for every $1 of short-term debt.
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.
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.
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 eliminates that manual reconciliation 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."
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 generally accepted accounting principles (GAAP), dividends received from investments are classified as operating cash flow. This differs from international financial reporting standards (IFRS), which typically classify dividend income as investing activities.
Lease payments appear as operating cash outflows since they represent cash paid for the use of assets. Under current accounting standards, you add back the depreciation portion of the right-of-use asset as a non-cash adjustment when calculating operating cash flow using the indirect method.
Negative operating cash flow means your business is spending more cash on daily operations than it's bringing in. While this can be normal for fast-growing companies investing heavily in inventory or extending payment terms to customers, persistent negative CFO signals that core operations aren't self-sustaining and may require external financing.
“Most banks treat the back office as a cost to keep down. We treat ours as a return to compound, which is why we run it on Ramp. Now we put our clients on Ramp, too.”
Patrick Gaughen
President & COO, Hingham Institution for Savings

“Browserbase builds infrastructure so AI agents can do real work. Ramp is doing the same for finance. It’s not another tool. It’s a system purpose-built for AI-driven finance, and that’s why we chose Ramp as our financial operating system from day one.”
Paul Klein IV
Founder & CEO, Browserbase

“We used to pay up to $20k a year for our AP platform. With Ramp, we’re earning back well over that amount. That's money that belongs to the mission now, not to the back-office software.”
Heidi Coffer
Chief Financial Officer, Boys & Girls Clubs of San Francisco

“The tricky thing about corporate travel policy is timing. We didn't need a stricter policy. We needed the policy to show up earlier. With Ramp Travel, it finally does.”
Keith Frantz
Director of Enterprise Risk Management, Prosper

“We're accountable to our funders, our partners, and the families we serve. That accountability starts with how we manage every dollar. Ramp makes it easy for our team to spend wisely, track in real time, and keep overhead low so more resources reach the families navigating infertility.”
Rachel Fruchtman
CFO, Jewish Fertility Foundation

“Each member of our team has an outsized impact due to our focus on using high-leverage tools like Ramp.”
Lauren Feeney
Controller, Perplexity

“With Ramp, we haven’t had to add accounting headcount to keep up with growth. The biggest takeaway is that instead of hiring our way through it, we fixed the workflow so we can keep supporting the organization as we scale.”
Melissa M.
VP of Accounting at Brandt Information Services

“In the public sector, every hour and every dollar belongs to the taxpayer. We can't afford to waste either. Ramp ensures we don't.”
Carly Ching
Finance Specialist, City of Ketchum



