Skip to main content

Cashflow Formula Explained: How to Calculate It

Maud Berger

Cashflow measures the actual money moving in and out of your business over a given period. Unlike profit, it reflects real liquidity — your ability to pay employees, suppliers, and expenses on time. There are several cashflow formulas to know, from operating cashflow to free cashflow and discounted cashflow. Each one reveals a different dimension of your financial health. This guide breaks them all down with clear calculations and practical examples. 

Cashflow formula explained

What is cashflow in business?

Cashflow is the movement of money into and out of a business over a certain period of time, typically a month, quarter, or fiscal year. It gives businesses an accurate picture of how much cash is available to cover expenses, debt repayments, capital expenditures, and future growth.

Positive cashflow means more cash is coming in than going out. Negative cashflow means total cash outflow is greater than cash inflow. Over time, consistent negative cashflow can strain operations, limit investment, and make it harder for companies to meet liabilities. 

Cashflow definition

Cashflow is the net amount of cash and cash equivalents transferred into and out of a business during a specific period. Cash inflow includes money from customers, lenders, investors, or asset sales. Cash outflow includes payroll, supplier payments, taxes, capital expenditures, loan payments, and dividends.

Cashflow vs. profit: What's the difference?

While profit and cashflow are related, they aren't the same thing. Profit is an accounting measure calculated as revenue minus expenses. Cashflow tracks the actual movement of money throughout your organization.

A company needs both measures to truly understand their financial position. Here's why. Under accrual accounting, revenue may be recognized before a company receives cash. Expenses may also be recorded before cash leaves the business. This can create a gap between reported net income and available cash.

For example, a business may report $200,000 in profit because it completed several large customer projects. But if most of that amount is still sitting in accounts receivable, the business may not have much cash available to pay employees or suppliers. That's why cashflow from operations often gives a clearer view of day-to-day liquidity than profit alone.

Why is cashflow management important for businesses?

Cashflow management is important because businesses need cash to survive, not just revenue or profit on paper. Small businesses are especially vulnerable because they often operate with limited reserves and depend on steady customer payments.

Poor cashflow management can lead to missed payroll, delayed supplier payments, late fees, higher borrowing costs, and reduced operational efficiency. Even profitable businesses can run into trouble if they don't collect invoices quickly enough or if too much money is tied up in inventory, equipment, or unpaid receivables.

Strong cashflow management helps businesses:

  • Maintain enough cash for daily operations
  • Prepare for seasonal revenue changes
  • Avoid unnecessary debt
  • Plan capital expenditures more carefully
  • Support informed decisions about hiring, expansion, and future growth

The 3 types of cashflow

The three main types of cashflow are operating cashflow, investing cashflow and financing cashflow. Together, they make up the cashflow statement.

1. Operating cashflow (OCF)

Cashflow from operating activities, also called cashflow from operations, measures the cash generated or used by the company’s core business activities. This includes cash received from customers and cash paid for expenses such as payroll, rent, taxes, and supplier invoices.

Operating cashflow is one of the most important indicators of financial health because it shows whether the business can generate cash from its normal operations. A company that consistently produces positive cashflow from operations is usually in a stronger position than one that relies heavily on loans or investors.

2. Cashflow from investing activities (CFI)

Investing activities show how cash is used for long-term assets and investments. This includes purchases or sales of property, equipment, vehicles, technology, securities, or other business assets.

For example, if a manufacturing company buys a new machine, that purchase is a use of cash and appears as an investing cash outflow. If the company sells old equipment, the money received becomes an investing cash inflow.

Keep in mind that investing activities that reduce cash aren't necessarily a bad thing. A decrease in cash from investing may simply mean the company is investing in future capacity, operational efficiency, or growth.

3. Cashflow from financing activities (CFF)

Cashflow from financing shows how a company raises or returns money to creditors, lenders, owners, and stockholders — think loans, debt repayments, issuing stock, repurchasing shares, and paying dividends.

Cashflow from financing can reveal whether a business depends on outside funding or is returning value to investors. For example, receiving a bank loan creates cash inflow, while repaying principal creates cash outflow. Paying dividends is also a cash outflow to stockholders.

How do you calculate cashflow?

The basic cashflow formula is:

Cashflow = Total cash inflow - Total cash outflow 

For example, if a business receives $100,000 in cash during the month and pays out $75,000, its cashflow is: 

$100,000 - $75,000 = $25,000

That means the business generated $25,000 in positive cashflow for the period.

If the same business receives $100,000 but pays out $120,000, the calculation becomes: 

$100,000 - $120,000 = -$20,000

That means the business had negative cashflow and ended the period with less cash than it started with.

The net cashflow formula

Net cashflow measures the total change in cash over a reporting period. It combines cashflow from operations, investing activities, and financing activities. The net cashflow formula is:

Net cashflow = Operating cashflow (OCF) + Investing cashflow (CFI) + Financing cashflow (CFF) 

Running this calculation at the end of each reporting period gives finance teams a concrete snapshot of whether the business gained or lost cash overall — not just from selling products, but across every dimension of activity.

A positive net cashflow signals that total inflows exceeded outflows across all three categories, strengthening the company's liquidity position. A negative result, on the other hand, doesn't automatically indicate financial distress — it may simply reflect a period of heavy capital investment or debt repayment.

Context matters. A company may show negative net cashflow because it's investing in equipment, repaying debt, or expanding, not necessarily because operations are weak.

Direct vs. indirect method for calculation

When preparing a cashflow statement, finance teams choose between two accepted approaches: the direct method and the indirect method.

The direct method lists every actual cash receipt and cash payment from operating activities — customer collections, supplier payments, wages, utilities, giving an unfiltered view of real money movement. Transparent and precise, it requires detailed transaction-level records, which makes it time-consuming for larger organizations.

The indirect method, far more common in U.S. corporate reporting, starts with net income and works backward. Noncash expenses like depreciation and amortization are added back, and changes in working capital accounts are adjusted to reconcile accrual-based profit with actual cash generated.

Both methods produce the same operating cashflow result. The indirect method is usually faster to prepare, while the direct method gives a clearer view of actual cash receipts and payments.

Essential cashflow formulas for financial health

Knowing which formula to use helps finance teams move from basic reporting to more strategic decision-making. A business sitting on strong net income but weak operating cashflow, for instance, faces a very different set of risks than one where all three metrics trend upward together.

How to calculate operating cashflow (OCF)

The operating cashflow formula can be calculated using the indirect method:

Operating cashflow = Net income + Noncash expenses + Changes in working capital 

Noncash expenses include items such as depreciation and amortization. These reduce profit on the income statement but don't involve an immediate cash payment, so they're added back when calculating operating cashflow.

Changes in working capital include accounts receivable, inventory, accounts payable, and other short-term assets or liabilities. For example, an increase in accounts receivable usually reduces operating cashflow because the business has recorded revenue but has not yet collected the money.

So, for example, if a company reports $75,000 in net income, adds back $10,000 in depreciation, and subtracts a $15,000 increase in accounts receivable, operating cashflow would be $70,000.

Free cashflow (FCF) formula & importance

Free cashflow, often shortened to FCF, shows how much cash a company has left after paying for capital expenditures. It's useful because it shows how much money remains for debt repayments, dividends, reinvestment, or reserves. Here's how to calculate it:

Free cashflow = Operating cashflow - Capital expenditures 

For example, if operating cashflow is $120,000 and capital expenditures are $35,000, free cashflow is $85,000.

A strong free cashflow position gives businesses more flexibility. They can invest in future growth, reduce debt, improve systems, or return value to investors. A weak or negative FCF figure may suggest that the company needs to control spending, improve collections, or increase operating cashflow.

What is the discounted cashflow (DCF) formula?

The discounted cashflow formula answers a specific question: What are a company's expected future cashflows worth in today's dollars? Unlike OCF or FCF, DCF is mainly used to value a business, project, or investment.

The core formula is:
DCF = CF₁ / (1+r)¹ + CF₂ / (1+r)² + … + CFₙ / (1+r)ⁿ 

where CF represents the projected cashflow for each period and r is the discount rate — typically the weighted average cost of capital (WACC).

Here's an example: If a project is expected to generate $100,000 annually for five years with a 10% discount rate, each year's cashflow is worth progressively less in present-value terms.

When the resulting DCF value exceeds the initial investment, the opportunity is generally considered financially sound.

How to prepare a cashflow statement

A cashflow statement pulls together data from three sources: the income statement, the balance sheet, and transaction records.

Before drafting the document, finance teams need to confirm the reporting period — monthly, quarterly, or annually — and gather figures for all three activity categories.

The preparation process typically follows this sequence:

  • Collect net income from the income statement as the starting point for operating activities.
  • Identify noncash adjustments, including depreciation, amortization, and stock-based compensation.
  • Record working capital changes by comparing current and prior period balance sheets.
  • Log investing and financing transactions separately, such as equipment purchases or loan repayments.

Accuracy at each stage directly affects the reliability of the final statement. Even a single misclassified transaction — say, recording a loan repayment under operating activities instead of financing — can distort all three sections and mislead stakeholders.

Step-by-step preparation from a balance sheet

When a cashflow statement is not readily available, the balance sheet becomes the primary source for deriving cashflow figures.

Comparing two consecutive balance sheets — for example, December 31, 2024, versus December 31, 2025 — reveals the net change in every asset and liability account, which is exactly what the indirect method requires.

Start with accounts receivable. If receivables grew from $80,000 to $95,000, that $15,000 increase signals cash not yet collected, reducing operating cashflow by that amount.

Inventory and accounts payable follow the same logic: A rise in inventory consumes cash, while a rise in payables preserves it. Property, plant, and equipment changes between the two periods point directly to capital expenditures or asset disposals under investing activities.

Debt balances and equity accounts then feed the financing section, capturing new borrowings, repayments, and any capital contributions made during the year.

Cashflow statement template & components

A standard cashflow statement template opens with the operating activities section, where net income sits at the top, followed by noncash adjustments and working capital changes. Below that, investing activities list asset purchases and disposals, while financing activities close the statement with debt movements and equity transactions.

The final line — ending cash balance — ties directly back to the balance sheet, confirming that both documents reconcile. Most U.S. companies filing under GAAP use the indirect method for the operating section, meaning net income is the anchor figure rather than raw cash receipts.

Formatting consistency matters more than many finance teams realize. A template that separates inflows from outflows within each section makes variance analysis faster and reduces the risk of misclassification during audits or investor reviews.

Advanced metrics: price-to-cashflow ratio formula

The price-to-cashflow ratio (P/CF) measures how much investors are willing to pay for each dollar of a company's operating cashflow. It's calculated as:

P/CF = Share price ÷ Operating cashflow per share 

Unlike earnings-based multiples, this ratio is harder to manipulate through accounting adjustments, making it a preferred tool among analysts evaluating valuation accuracy. A lower P/CF ratio can signal an undervalued stock, while a high ratio may indicate the market is pricing in strong future growth expectations.

To put this in concrete terms, a company trading at $50 per share with $5 in operating cashflow per share carries a P/CF of 10 — meaning investors pay $10 for every $1 of cash generated from operations.

Conclusion: using cashflow data for informed decisions

Every formula covered in this guide — from operating cashflow to discounted cashflow — serves one practical purpose: giving decision makers a reliable picture of where a business actually stands financially.

Raw numbers only become useful when they inform action. By tracking cashflow regularly, businesses can spot problems earlier, improve planning and make more confident decisions about spending, financing, and growth. Finance teams that monitor these metrics consistently, rather than only at year-end, gain a meaningful timing advantage.
 

Interested in learning more ?

Contact us now to see how Esker's solutions can help your business

Maud Berger

Maud Berger is Accounts Receivable Product Manager at Esker, with nearly 15 years of experience in AR. She helps shape Esker’s AR solution suite and writes about cash flow optimization, DSO, working capital, and finance operations. Working closely with R&D, sales, and marketing teams across regions, Maud brings a practical product perspective to revenue performance and customer outcomes.

View LinkedIn profile

Author Photo: 

A PROPOSITO DI ESKER

Esker è una multinazionale nata nel 1985 e negli anni ha sviluppato una piattaforma cloud globale che aiuta le aziende a gestire i processi business in modalità digitale. Unica piattaforma cloud che può gestire sia l’automazione del ciclo P2P (supplier management, contract management, procurement, accounts payable, expense management, payment management, sourcing) che O2C (order management, invoice delivery, collection&payment management, claims&deductions, cash allocation, credit management e customer management). Adottiamo tecnologie innovative che ci permettono di integrarci con gli ERP aziendali e in questi anni abbiamo ottenuto riconoscimenti da Gartner, IDC, Ardent Partner e Forrester.


 

Top