Forecast Working Capital in Excel with DSO, DPO and DIO

A distributor sells 1,300,000 in December and 800,000 in January on 45-day terms. The forecast says receivables at the end of January are 1,161,290 and January collections are strong. Treasury plans a debt repayment on that basis. The real receivables balance is about 1,387,000, because half of December’s big month has not been collected yet, and the repayment has to wait.

Working capital is where a profitable forecast turns into a cash forecast, and it is driven by three numbers: days sales outstanding, days inventory outstanding and days payables outstanding. This post shows how to forecast each in Excel 2021 or 365, why the standard formula misstates receivables in seasonal months, and two better methods.

The three balances and what drives them

BalanceDays metricDriven byWho owns the assumption
ReceivablesDSORevenueCredit and collections
InventoryDIOCost of goods soldOperations, supply chain
PayablesDPOCost of goods sold or purchasesProcurement, AP

The cash conversion cycle is DSO plus DIO less DPO: how many days of cash the business funds between paying suppliers and collecting from customers. At 45 days DSO, 60 DIO and 40 DPO, that is 65 days. On 12,000,000 of annual revenue, each day of DSO ties up about 32,900 of cash. A two-day improvement in collections is worth 65,800, which is why these assumptions deserve an owner and a source note, not a number carried forward from last year’s model.

The simple method and where it fails

The standard monthly formula scales the month’s revenue by DSO over days in the month:

=Revenue * DSO / DAY(MonthEnd)

DAY(MonthEnd) returns 31 for January, 28 for February, so the formula adjusts for month length. For January in the example: 800,000 × 45 / 31 = 1,161,290.

The formula assumes every month looks like this one. With 45-day terms, the January balance actually holds all of January’s invoices and the last 14 days’ worth of December’s. When December was much bigger than January, the simple formula understates receivables by the difference. In a business with steady sales it is fine. In a seasonal one it is wrong exactly when the cash forecast matters most: right after the peak.

The count-back method

Count-back builds receivables from the most recent months backwards until the DSO days are used up. For DSO up to about two months:

=IF(DSO <= DAY(C$4),
    C10 * DSO / DAY(C$4),
    C10 + B10 * MIN(1, (DSO - DAY(C$4)) / DAY(B$4)))

C10 is this month’s revenue, B10 last month’s, C4 and B4 their month-end dates. For January: all 800,000 of January, plus 14/31 of December’s 1,300,000 (587,097), for receivables of 1,387,097. That is 225,807 more than the simple method. The difference is cash the simple forecast says arrived in January and did not.

For DSO longer than two months, extend the pattern one more month or use a collection curve.

Collections then come from the balance sheet movement:

Collections = Opening AR + Revenue - Closing AR

This is the line that goes into the cash forecast, and it ties to the balance sheet automatically.

Collection curves from payment terms

DSO is an average. Collections and treasury teams think in terms: what share of a month’s invoices is paid in the month, the next month, and the month after. If history shows 10% paid in the month of sale, 60% the next month and 30% the month after:

=0.10*C10 + 0.60*B10 + 0.30*A10

Put the percentages in an input table, one row per customer group if terms differ (enterprise on 60 days, small business on 30, a distributor that always pays at 75). The curve handles seasonality naturally and translates directly to the conversation with the credit team: “if we move the distributor from 75 to 60 days, here is the cash.”

Derive the curve from AR aging or cash receipts data, not from contract terms. Contract terms describe when customers should pay; the aging describes when they do.

Inventory and payables

The same ideas apply, with one twist.

Inventory is cost of goods sold scaled by DIO. Counting forward is often better for inventory, because stock is bought ahead of sales: 60 days of inventory at the end of October is November and December’s cost of sales, not October’s. In a business building stock for a peak, the forward-looking version is the only one that shows the cash going out early enough.

Payables are driven by purchases or COGS, scaled by DPO. If inventory is material, base payables on purchases (COGS plus the change in inventory), because the business pays suppliers for what it buys, not for what it sells.

From balances to the cash flow

Each balance feeds the cash flow statement as a movement: an increase in receivables or inventory uses cash, an increase in payables provides it. In the model:

Change in working capital = -(AR - AR prior) - (Inventory - Inventory prior) + (AP - AP prior)

Build each balance in its own schedule, link the closing balance to the balance sheet, and derive the cash flow from the movements. The three-statement build order post covers why that order makes the model balance by construction.

Where it breaks

Annual DSO on monthly data. A DSO calculated from annual revenue and year-end receivables misses seasonality in both. Calculate it monthly, on trailing revenue, and look at the pattern before choosing a forecast value.

One DSO for all customers. A shift in mix toward slower-paying customers raises DSO without anyone collecting worse. Segment where terms differ.

Payables on COGS when inventory swings. Building stock ahead of a peak increases purchases well above COGS. Payables based on COGS understate the liability and overstate cash outflow timing.

Days assumptions with no source. A DSO typed as 45 because it was 45 last year will be wrong the year the credit policy changes. Source-stamp it.

The free 5-Year Cash Flow Model drives receivables, inventory and payables from DSO, DIO and DPO inputs, monthly for the first year.

Similar Posts