Cash conversion cycle: DSO, DIO and DPO in DAX

How to calculate the cash conversion cycle, days inventory outstanding plus days sales outstanding minus days payables outstanding, each part's formula with a worked example, the DAX with closing balances, a waterfall of the cycle, and what shortens it.

Short answer: the cash conversion cycle (CCC) is the number of days cash is tied up between paying suppliers and collecting from customers: CCC = DIO + DSO - DPO. DIO (days inventory outstanding) = inventory / cost of goods sold × days; DSO (days sales outstanding) = receivables / revenue × days; DPO (days payables outstanding) = payables / cost of goods sold × days. With DIO 55, DSO 38 and DPO 41, the cycle is 52 days: each euro spent on stock comes back 52 days later than it left.

A growing company can be profitable and still run out of cash because the cycle is long. Shortening it by ten days frees cash without selling more.

How is it calculated?

ItemValueFormulaDays
Revenue12,000
Cost of goods sold8,000
Inventory at year end1,2051,205 / 8,000 × 365DIO 55.0
Receivables at year end1,2491,249 / 12,000 × 365DSO 38.0
Payables at year end899899 / 8,000 × 365DPO 41.0
Cash conversion cycle55 + 38 - 4152
A year with 365 days (k)
02040608010055Days inventory+38Days sales outstanding-41Days payables52Cycle
Cash conversion cycle in days

What is the DAX?

Inventory, receivables and payables are balances (closing values), revenue and COGS are flows (sums):

Closing Inventory =
CALCULATE ( SUM ( Balances[Inventory] ), LASTNONBLANK ( 'Date'[Date], CALCULATE ( SUM ( Balances[Inventory] ) ) ) )
Closing AR =
CALCULATE ( SUM ( Balances[Receivables] ), LASTNONBLANK ( 'Date'[Date], CALCULATE ( SUM ( Balances[Receivables] ) ) ) )
Closing AP =
CALCULATE ( SUM ( Balances[Payables] ), LASTNONBLANK ( 'Date'[Date], CALCULATE ( SUM ( Balances[Payables] ) ) ) )

Days in Period = COUNTROWS ( 'Date' )

DIO = DIVIDE ( [Closing Inventory], [COGS] ) * [Days in Period]
DSO = DIVIDE ( [Closing AR], [Revenue] ) * [Days in Period]
DPO = DIVIDE ( [Closing AP], [COGS] ) * [Days in Period]

CCC = [DIO] + [DSO] - [DPO]

Some teams use the average balance of the period (opening plus closing, divided by two) instead of the closing one; it smooths seasonal peaks. Pick one and write it in the KPI definition. See DSO and inventory turnover for the parts.

How can the cycle be shortened?

DIO downbuy smaller batches, clear slow movers, better forecasts
DSO downinvoice on delivery, shorter terms, follow up overdue invoices, card or direct debit
DPO upnegotiate longer supplier terms, pay on the due date, not early
Levers on each part

Each day of cycle ties up roughly (COGS / 365) of cash: here 8,000 / 365 ≈ 22k per day, so ten days shorter frees about 220k.

What goes wrong?

  • Summing balances over months. Take closing or average balances.
  • Revenue for DIO or DPO. Inventory and payables are at cost; divide by COGS.
  • Stretching DPO too far. Paying late damages supplier terms and prices.
  • A single company-wide number. The cycle differs by product line and region; break it down where inventory sits.

Where can you check this?

Where do you start?

Build the three closing balances and DIO, DSO, DPO by quarter, then the waterfall. Current and quick ratio shows the same balances as liquidity.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.