Working Capital Modelling: How to Forecast Debtors, Stock and Creditors

Working capital modelling forecasts the cash tied up in debtors and inventory, less the funding provided by creditors, using drivers such as debtor days, inventory days and creditor days. Linked to a three-way model, it explains why profit and cash differ and shows how changes in payment terms affect funding needs.

Profitable businesses run out of cash more often than people expect. Sales grow, customers pay later, stock builds up, and the bank balance falls even as the profit and loss looks healthy. Working capital is often the biggest moving part in cash flow forecasting.

Working capital is usually the reason, and working capital modelling is how you see it coming. Modelling it properly turns a vague worry about cash into specific numbers: how much is tied up, where, and what changing the terms would release.

Key terms

  • Working capital: Current assets less current liabilities; in modelling, usually trade debtors plus inventory less trade creditors.
  • Debtor days (DSO): The average number of days customers take to pay.
  • Inventory days (DIO): The average number of days stock is held before it is sold.
  • Creditor days (DPO): The average number of days the business takes to pay suppliers.
Working Capital Modelling: How to Forecast Debtors, Stock and Creditors: example output from an EXL Cloud model
Example output from an EXL Cloud driver-based model.

What is working capital modelling?

Working capital modelling forecasts the balance sheet items that sit between profit and cash: trade debtors, inventory and trade creditors. Each balance is driven by activity in the profit and loss and a timing assumption, so changes in sales, purchases or payment terms flow through to the balance sheet and cash flow automatically.

Which drivers matter in working capital modelling?

Three drivers do most of the work.

BalanceDriverTypical formula
Trade debtorsDebtor daysRevenue (incl. GST) x debtor days / days in period
InventoryInventory daysCost of sales x inventory days / days in period
Trade creditorsCreditor daysPurchases (incl. GST) x creditor days / days in period

The cash conversion cycle combines them: debtor days plus inventory days less creditor days. The longer the cycle, the more cash the business needs to fund growth.

How do you forecast debtors, inventory and creditors?

In working capital modelling, forecast each balance from its driver and the activity it relates to. For example, a business with annual revenue of $12 million and debtor days of 45 carries debtors of about $1.48 million. Reducing debtor days to 35 brings the balance down to about $1.15 million, releasing roughly $329,000 of cash.

For more precision, use payment profiles instead of a single days figure. A profile spreads collections or payments across periods, such as 60% in the month after sale and 40% the month after that, which suits monthly models and seasonal businesses.

How does working capital modelling link to a three-way model?

Movements in working capital balances flow into the operating section of the cash flow statement. An increase in debtors or inventory uses cash; an increase in creditors provides it. In a well-built three-way model, these movements reconcile automatically, so the balance sheet balances and closing cash matches the bank forecast.

What are common working capital modelling mistakes?

Common mistakes include ignoring GST in debtor and creditor balances, applying annual days to monthly figures without adjusting the period, forecasting balances as a flat percentage of revenue, and missing seasonality. Another is hardcoding opening balances that do not tie to the actual balance sheet. Good working capital modelling starts from reconciled actuals and documents every timing assumption.

Can AI forecast working capital?

AI can help analyse the inputs, such as ageing reports, payment patterns by customer and supplier terms, and it can draft commentary on why debtor days moved. Those tasks save time and are easy to verify against the ledger.

The forecast itself belongs in the model. Working capital is exactly where AI-built models tend to go wrong, because timing assumptions flow straight into the balance sheet and cash. In one of our evaluations, AI-built models matched operating results almost perfectly but missed the balance sheet badly. Keep days and payment profiles as documented inputs in a driver-based model, and use AI around it.

If your books are in Xero, EXL Cloud, our own SaaS modelling platform, pulls the trial balance and transactions straight into Excel and rolls them into a driver-based cash flow forecast, with Claude skills that help automate the monthly roll-forward.

Frequently asked questions

What is working capital modelling?

Working capital modelling forecasts trade debtors, inventory and trade creditors using timing drivers such as debtor, inventory and creditor days. Linked to the profit and loss, balance sheet and cash flow, it shows how much cash is tied up in operations and how changes in sales, payment terms or stock levels affect funding needs.

How do you calculate debtor days?

Debtor days equal trade debtors divided by revenue for the period, multiplied by the number of days in the period. If revenue includes GST in the debtor balance, use GST-inclusive revenue for consistency. Track debtor days monthly, because a rising figure is often an early warning of collection problems or changing customer behaviour.

What is the cash conversion cycle?

The cash conversion cycle is debtor days plus inventory days less creditor days. It measures how long cash is tied up between paying suppliers and collecting from customers. A shorter cycle means the business needs less funding to grow, while a longer cycle increases the cash needed as sales rise.

Should I use days or payment profiles?

Days-based drivers are simple and suit annual or quarterly models. Payment profiles, which spread receipts or payments across several periods, give more accurate monthly cash forecasts and handle seasonality and mixed customer terms better. Many models use days for high-level planning and profiles for detailed monthly cash forecasting.

Why does working capital affect cash flow?

Profit records revenue and costs when they are earned or incurred, but cash moves when customers pay and suppliers are paid. Increases in debtors or inventory absorb cash, while increases in creditors release it. That is why a growing, profitable business can still face cash shortfalls if working capital is not managed.

What is a good cash conversion cycle?

A shorter cash conversion cycle is generally better because less cash is tied up in operations, but what is achievable depends on the industry. Retailers that collect cash at the till can run very short or even negative cycles, while manufacturers and project businesses often run longer ones. Compare against your own trend and similar businesses.

Need a cash forecast that explains the gap between profit and cash? See our Fractional CFO services and Financial and Business Modelling services.

Related reading: 3-way cash flow modelling and Driver-based planning.

Further reference: business.gov.au.

About the Author

Lance Rubin is CEO and Founder of Model Citizn, and founder and Chief Excel Officer of EXL Cloud, the SaaS platform that connects Xero to Excel with driver-based financial models, dashboards and Claude AI skills. He is a Chartered Accountant, FMI Certified Trainer, co-author of the CA ANZ Financial Modelling Study Guide, and creator of the AI-Powered Accountant programme on Maven, currently live at Level 1 with Level 2 in design, and author of the companion book “AI-Powered Accounting with Excel and Power BI” (Packt). He has worked at PwC, KPMG, Investec, and NAB, and is based in Melbourne, Australia.

Share This

Related Articles

Project or Infrastructure Finance is arguable one of the most complex forms of financial modelling and the outcome most beneficial for the public.
In the early days one had to learn to read the punched holes to identify the card, but later with the advent of the print punch, the details would be typed along the top of the card.