1. Home
  2. Blog
  3. Accounting

Accounting

How to Manage Cash Flow: 13-Week Forecast, Cash Buffer and Scenario Analysis Guide

How to manage cash flow: a 13-week forecast, the impact of late collections, a cash buffer and scenario analysis, explained with worked examples.

Contents 12 sections
  1. What Is Cash Flow and Why Is Profit Not Cash?
  2. What Are Operating, Investing and Financing Cash Flows?
  3. How Do You Build a 13-Week Cash Flow Forecast?
  4. What Happens to Cash Flow if Collections Are 15 Days Late?
  5. How Many Days of Expenses Should a Minimum Cash Buffer Cover?
  6. How Do You Close a Cash Gap? Collections, Payment Terms and Inventory Compared
  7. What Are the Early Warning Indicators for Cash Flow?
  8. Scenario Analysis: Optimistic, Base and Pessimistic Forecasts
  9. How Can Cash Flow Forecasting Be Automated with Software?
  10. How Do You Set Up Cash Flow Management in Six Steps?
  11. Custom Software and Process Digitalization with İnovabil
  12. Frequently Asked Questions

Orders keep arriving through the dealer portal, sales grow every month, and the profit and loss statement looks healthy. Yet at month end the company is hunting for a bank loan to pay salaries and suppliers. This contradiction is common, and the reason is simple: profit is a calculation, while cash is a balance. The answer to how to manage cash flow is to see in advance where the balance is heading over the coming weeks.

In this guide we explain the difference between profit and cash, the three types of cash flow, how a 13-week cash flow forecast is built, what a 15-day collection delay does, how to calculate a minimum cash buffer, how three levers compare for closing a cash gap, which early warning indicators to watch, how scenario analysis works, and how the whole routine is automated with software. We use the figures of a small manufacturer that sells to dealers on credit through a dealer portal. They are representative (illustrative) numbers, not data from a real company or an industry average.

Key takeawayCash flow management is not reporting the past; it is forecasting the future week by week. Profit tells you how much you earned, cash tells you how much you can pay. Build the forecast 13 weeks ahead, update it every week with actuals, and track the balance as the number of days of expenses it covers (the buffer).

What Is Cash Flow and Why Is Profit Not Cash?

Cash flow is the difference between the money that enters and leaves your bank accounts and till over a period. Profit is recorded when the sale happens and the cost arises; the money does not have to move on that day. If you sell on credit, you book the sale as profit today and receive the money two months later; if you buy raw material on 30-day terms, you book the cost today and pay a month later.

Take a representative month. Sales are growing: ₺800,000 two months ago, ₺1,500,000 last month, ₺2,000,000 this month. Cost is 70% of sales. Sales are collected after 60 days, and costs are paid after 30 days. Here is the table.

In the same month: 600 thousand lira profit, minus 250 thousand lira net cash and a 975 thousand lira buffer target
The same month: positive profit, negative net cash.
MonthSalesCost (70%)ProfitCollections (sales 2 months earlier)Payments (cost 1 month earlier)Net cash
Month −2₺800,000₺560,000₺240,000———
Month −1₺1,500,000₺1,050,000₺450,000———
Month 0₺2,000,000₺1,400,000₺600,000₺800,000₺1,050,000−₺250,000
Month +1₺2,000,000₺1,400,000₺600,000₺1,500,000₺1,400,000+₺100,000
Month +2₺2,000,000₺1,400,000₺600,000₺2,000,000₺1,400,000+₺600,000

In Month 0 profit is ₺600,000 and net cash is −₺250,000. The ₺850,000 gap comes from the increase in working capital: receivables rose by ₺1,200,000 (₺2,000,000 of sales booked, ₺800,000 collected) and payables rose by ₺350,000 (₺1,400,000 of cost booked, ₺1,050,000 paid). The net difference is ₺1,200,000 − ₺350,000 = ₺850,000, and ₺600,000 − ₺850,000 = −₺250,000. In a growing business this gap is normal; unmanaged, a profitable company turns into one searching for a loan. Cash recovers in Month +2, but until then something has to cover the gap: a cash buffer, a loan or faster collection.

What Are Operating, Investing and Financing Cash Flows?

Cash movements are tracked in three groups, and the split shows where a gap comes from. A shortfall from daily operations calls for a different fix than one caused by a new machine or a loan instalment.

GroupWhat it coversExample itemsHow to read it
OperatingDay-to-day tradingDealer collections, supplier payments, salaries, rent, tax and contribution paymentsIf it stays negative, the business model or credit terms are the problem
InvestingBuying and selling long-lived assetsMachinery purchase, software investment, vehicle saleNegative can be a sign of growth
FinancingRaising and repaying fundsLoan drawdown, loan instalment, owner capitalCovers a gap temporarily, does not fix it

If operations do not generate cash on a continuing basis, financing only postpones the gap. Details such as which group interest belongs to depend on the accounting standard applied; ask your financial advisor (certified accountant). For a day-to-day bookkeeping setup, our pre-accounting guide is a good start.

How Do You Build a 13-Week Cash Flow Forecast?

A 13-week forecast is a table that looks at the next three months in weekly columns and rolls forward one week every week. A monthly table hides the low point of a week; where payroll and a tax payment fall in the same week, the balance can go negative mid-month. A weekly table exposes these dips.

Use the direct method: instead of working backward from the profit statement, you list the money that will enter and leave the till item by item, with dates. The indirect method (start from profit, then add or subtract working capital changes) suits reporting; for short-term planning the direct method gives a clearer answer. Below are the first four weeks of such a table with representative numbers. Opening cash is ₺600,000. This table covers representative weeks of a steadier period, separate from the growth example above; the two examples' figures are not linked.

ItemWeek 1Week 2Week 3Week 4Total
Opening cash₺600,000₺720,000₺560,000₺450,000₺600,000
Dealer collections₺420,000₺380,000₺450,000₺350,000₺1,600,000
Supplier payments₺300,000₺280,000₺320,000₺300,000₺1,200,000
Salaries—₺260,000——₺260,000
Rent——₺60,000—₺60,000
Tax and contribution payments——₺180,000—₺180,000
Loan instalment———₺150,000₺150,000
Total outflow₺300,000₺540,000₺560,000₺450,000₺1,850,000
Net flow+₺120,000−₺160,000−₺110,000−₺100,000−₺250,000
Closing cash₺720,000₺560,000₺450,000₺350,000₺350,000

Each week's closing balance is the next week's opening balance: ₺600,000 + ₺420,000 − ₺300,000 = ₺720,000; ₺720,000 + ₺380,000 − ₺540,000 = ₺560,000, and so on. After four weeks the balance falls to ₺350,000, so total net flow is −₺250,000. The balance is still positive, but it has declined three weeks in a row after week one, and that is a warning.

The quality of the table depends on its inputs. Write the collections line not only by invoice due date but by each dealer's payment history; place an overdue invoice in the week you realistically expect payment, not on its due date. The basis for this is the aging and collection flow in our guide to tracking customer accounts. Tax and contribution amounts and payment dates depend on legislation; get them from your financial advisor (certified accountant).

What Happens to Cash Flow if Collections Are 15 Days Late?

A collection delay pulls one large, one-time slice out of the balance. The method is simple: work out daily collections and multiply by the number of days of delay. With a 30-day month, daily collections are ₺1,600,000 ÷ 30 ≈ ₺53,333 (four weeks of collections are approximated as one month).

  • Amount pulled from the balance: ₺53,333 × 15 days = ₺800,000.
  • Week 4 closing: ₺350,000 − ₺800,000 = −₺450,000.
  • One month of financing that gap (at a representative 60% annual simple interest rate): ₺450,000 × 60% ÷ 12 = ₺22,500.

So a 15-day delay turns a positive balance negative. The interest rate is illustrative; ask your bank and financial advisor (certified accountant) about real borrowing costs, terms and collateral. The main lesson: if you see the delay in the forecast early, you negotiate with the bank three weeks ahead, not in the week the gap appears.

How Many Days of Expenses Should a Minimum Cash Buffer Cover?

The buffer is the minimum balance that keeps you operating when the forecast misses. The calculation takes two steps: convert monthly fixed costs to a daily figure, then multiply by the target number of days. In the example, fixed costs are salaries (₺260,000), rent (₺60,000), tax and contribution payments (₺180,000) and the loan instalment (₺150,000), a total of ₺650,000.

  • Daily fixed cost: ₺650,000 ÷ 30 ≈ ₺21,667.
  • 45-day buffer: ₺650,000 ÷ 30 × 45 = ₺975,000.

Forty-five days is this article's example choice; the right buffer depends on sales volatility, collection reliability and access to credit. A seasonal company, or one that depends on a few large dealers, may hold a longer buffer; a company with prompt, regular payers may hold a shorter one. The example's ₺350,000 closing balance covers only ₺350,000 ÷ ₺21,667 ≈ 16.2 days; against a ₺975,000 target the gap is ₺625,000. One month of financing that gap costs ₺625,000 × 60% ÷ 12 = ₺31,250.

How Do You Close a Cash Gap? Collections, Payment Terms and Inventory Compared

Besides a loan there are three sources: collecting from dealers sooner, getting longer terms from suppliers, and reducing cash tied up in stock. Each frees working capital from a different place. Representative assumptions: monthly sales ₺1,600,000, monthly supplier payments ₺1,200,000, inventory value ₺2,400,000; interest 60% a year (5% a month).

LeverCalculationCash releasedMonthly interest savedWatch out for
Speed up collections (60 → 50 days)₺1,600,000 ÷ 30 × 10₺533,333₺26,667An early payment discount is a cost
Extend payment terms (30 → 40 days)₺1,200,000 ÷ 30 × 10₺400,000₺20,000Suppliers may ask for a price or relationship cost
Cut inventory (15%)₺2,400,000 × 15%₺360,000₺18,000Stockout risk rises
Total₺1,293,333₺64,667

If all three are applied, ₺1,293,333 is released, roughly twice the ₺625,000 buffer gap. Do not decide without seeing the cost of each lever. For example, if you give half your dealers a 1% early payment discount, it costs ₺1,600,000 × 50% × 1% = ₺8,000 a month; the interest saving is ₺26,667, so the net gain is ₺18,667. Inventory decisions must be weighed against product cost and capacity; the reorder point and safety stock calculation in our inventory tracking guide helps strike that balance. For the cash impact of price and margin decisions, see our guide to calculating product cost.

What Are the Early Warning Indicators for Cash Flow?

An indicator is a measure that warns you before a gap forms. The five below are derived from the weekly table; the thresholds are illustrative and should be set for your company. We explained how to pick indicators in our KPI guide.

IndicatorHow it is calculatedIn the exampleWarning rule
Buffer daysClosing cash ÷ daily fixed cost₺350,000 ÷ ₺21,667 ≈ 16.2 daysBelow 45 days amber, below 15 days red
Consecutive negative weeksNumber of weeks with negative net flowWeeks 2–4: 3 weeks3 weeks in a row: open a review
Overdue receivables ratioOverdue receivables ÷ total receivablesTaken from the account cardAlert if it rises versus last month
Collection realization rateActual collections ÷ forecast collectionsWeekly comparisonBelow 90%: rebuild the forecast
Payment concentrationWeek's outflow ÷ monthly outflowWeek 3: ₺560,000 ÷ ₺1,850,000 ≈ 30.3%Above 35% in one week: spread payments

Scenario Analysis: Optimistic, Base and Pessimistic Forecasts

A single-number forecast misleads. Building three scenarios shows which assumption moves the balance most. The base scenario is the table above. In the optimistic scenario collections rise 10%; in the pessimistic scenario collections fall 15% and supplier payments rise 5% (₺1,200,000 × 1.05 = ₺1,260,000).

Scenario4-week collections4-week outflowClosing cashBuffer daysBuffer gap
Optimistic (+10% collections)₺1,760,000₺1,850,000₺510,000≈ 23.5₺465,000
Base₺1,600,000₺1,850,000₺350,000≈ 16.2₺625,000
Pessimistic (−15% collections, +5% suppliers)₺1,360,000₺1,910,000₺50,000≈ 2.3₺925,000

The calculations: optimistic ₺600,000 + ₺1,760,000 − ₺1,850,000 = ₺510,000; pessimistic ₺600,000 + ₺1,360,000 − ₺1,910,000 = ₺50,000. In all three scenarios the balance stays below the buffer target; in the pessimistic one cash covers only about two days of fixed costs. To guess which dealer will pay late, the order and payment history in your dealer portal, as discussed in our B2B e-commerce guide, is a good input.

How Can Cash Flow Forecasting Be Automated with Software?

A hand-kept spreadsheet works in the first month; by the third month the data is stale. The goal of automation is to feed the table from three sources and refresh itself at the start of every week.

  • Customer account (current account): Open invoices, due dates and dealer payment history produce the collections line.
  • Bank: The actual balance and transactions verify the opening cash and actual collections.
  • ERP and purchasing: Orders, supplier terms, stock and the production plan produce the payments line. In our ERP guide we explain how this data comes together in one place.
  • Calendar: Salaries, rent, loan instalments, tax and contribution payments are loaded as fixed items; amounts and dates come from your financial advisor (certified accountant).

To connect the systems, you can use the approach in our API integration guide. The forecast the automation produces is a decision proposal; a person decides on the bank conversation, the supplier negotiation and the payment order. Before building automation, write down in a requirements analysis which report serves which decision.

How Do You Set Up Cash Flow Management in Six Steps?

Six steps of cash flow management: opening cash, collections, payments, closing, buffer and update
The six steps of a cash flow forecast.
  1. Fix the opening cash: Start from the real bank balance, not the ledger balance.
  2. Put collections into weeks: Use each dealer's realistic payment week, not the due date.
  3. Put payments into weeks: Keep suppliers, salaries, rent, tax and contribution payments and the loan instalment on separate lines.
  4. Calculate the closing balance: Opening + collections − outflow; each week's closing is the next week's opening.
  5. Compare with the buffer: Divide closing cash by daily fixed cost and compare with the target.
  6. Update weekly: Enter actuals, roll the table forward a week and extend it back to week 13.
We recommend reading: How to track customer accounts: aging analysis, collection period and reconciliation guide
We recommend reading: How to Track Project Costs and Profitability: Budget vs Actuals, EAC and Margin Guide
We recommend reading: What Is Multi-Currency and Exchange Difference Management? Realized vs Unrealized FX Gains, Revaluation and Matching Guide
We recommend reading: How to Do Budgeting and Variance Analysis: Flexible Budgets, Price-Volume Breakdown and Rolling Forecast Guide
We recommend reading: How to Manage Consignment Inventory: Consumption Notices, Reconciliation and Tied-Up Capital Guide
We recommend reading: How to Manage B2B Collections and Receivables: Aging, DSO, CEI and Collection Priority Guide
We recommend reading: How to Reconcile Online Payments: Order, Provider and Bank Matching, Net Payout and Chargeback Guide
We recommend reading: How to Speed Up the Month-End Close: Calendar, Checklist and Automatic Reconciliation Guide
We recommend reading: How to Automate Accounts Payable and Incoming Invoice Processing: Capture, Matching, Approval and Payment Guide
We recommend reading: What Is Expense Management Software? Receipts, Policy, Advances, Approval and Accounting Export

Custom Software and Process Digitalization with İnovabil

At İnovabil our focus is building software from scratch, tailored to each company: custom software, ERP, CRM, e-commerce, web, mobile and integration. In most companies the real obstacle is that the customer account, order, purchasing and inventory data a cash forecast relies on sits in different systems; consolidating that data and connecting the systems is something to settle in the requirements analysis. We suggest writing down together which report serves which decision.

We built CRM, purchasing and mobile for Avcılar İnşaat; a purchasing system for İZBAN; logistics and shipment planning with wholesale order management for Karyak; and warehouse management with a complaint and support management system for Sleepy. Send us a short summary of your current systems and reporting needs, and we will put together a written scope with you.

We recommend reading: Our software development process: from analysis to launch, step by step

Frequently Asked Questions

How do you manage cash flow, and where do you start?

Take the real bank balance as the opening cash and write the next 13 weeks of collections and payments into weekly columns. Enter actuals every week, roll the table forward, and compare closing cash with your daily fixed costs.

Why are profit and cash flow different?

Profit follows the moment a sale and a cost arise; cash follows the moment money enters and leaves the account. Credit sales and credit purchases push the two apart; in a growing company receivables rise faster than payables, so cash can be negative while profit is positive.

Why is a 13-week cash flow forecast preferred?

Three months of visibility leaves enough time for a bank conversation or a supplier negotiation, while weekly detail exposes balance dips mid-month. Because it rolls forward one week at a time, the forecast always stays 13 weeks ahead.

How big should a minimum cash buffer be?

There is no single right ratio. The example uses 45 days of fixed costs: ₺650,000 ÷ 30 × 45 = ₺975,000. Companies with volatile sales or late collections may aim for a longer period; set it for your own risk.

Can a cash gap be closed without borrowing?

Often in part. Speeding up collections, extending supplier terms and reducing stock all release working capital; in the example the three together release ₺1,293,333. Count the cost of each lever (discount, price, stockout risk). For tax, contribution and loan terms, consult your financial advisor (certified accountant) and your bank.

Let's talk about your project

Tell us briefly about the software you have in mind; we'll listen and prepare a tailored roadmap and proposal.

Get a quote