An average is a single number standing in for a whole distribution, and it can look reassuring while concealing the thing that will actually hurt you. Five units a day for six days running gives a mean average of five. One, then ten, then fifteen, then two, across the same week, can give a very similar mean. The first product is predictable and can be stocked to its average. The second cannot, and stocking it to its average guarantees you will be short stocked on its best days.
The same blind spot appears wherever an average is used as a summary. A mean average dispatch time can look healthy because most orders go out same day, while a small tail of orders takes a week; invisible in the average but extremely visible to the customers who experience the long tail delays.
A mean average margin can look identical across two products.
1. Item A earns it’s average margin consistently
2. Item B swings between losing money and making a great deal of it on any given day
For a buyer, the practical consequence is that decisions made from mean averages alone are systematically wrong in one direction: they under-stock volatile products and over-trust stable-looking averages.
What a percentile actually tells you that a mean cannot. A statistical percentile answers a different question to the calculation of a mean average. The 90th percentile of daily demand describes roughly what demand looks like on the busiest 10% of days. If that figure sits far above the mean average, the product has real spikes the average is masking, and the safety stock calculation needs to know about it. If it sits close to the mean average, demand is stable and a smaller buffer is genuinely sufficient.
Both facts are commercially useful, and neither is visible from an average.
Two products can show an identical average margin while behaving completely differently. On one, the cost from the supplier is stable and the margin is much the same on every sale. On the other, supplier costs move around and the margin swings between very little and a great deal. Percentiles on margin surface that difference, which matters when choosing between two lines that look equivalent on a summary report.
If the mean average margin is the same on both items, the more consistent item (calculated daily mean margin) is probably the less stressful item to hold because your daily margin outcome is more certain.
Percentiles are computed on available stock across each rolling 30, 60 and 90 day window.
This is what makes it possible to distinguish a product that has been comfortably in stock all quarter from one that has spent much of the quarter hovering close to zero, even where both currently show stock on hand. The first is well managed; the second has been quietly at risk.
Percentiles are calculated each night and stored for all SKUs, not calculated on request. They exist as pre-computed values in the nightly snapshot alongside the mean averages and standard deviations, which is what allows the AI to reason about distribution shape in a conversation without performing statistical work in the moment. It is the same principle that underpins everything else in the data lake: calculate in advance, interrogate instantly.
If speed and accuracy are important to you, then understanding how an AI model delivers calculated data to you on demand is a critical question to ask during the software buying cycle.
What do you like best about Stok.ly – Inventory-Centric Cloud ERP?
“we have been a user for the last 4 years and we cannot think of life without it for our retail business. it makes listing to shopify and other marketplaces easy, keeps inventory accurate online and the POS is easy to use. accurate inventory across all sales channels is the big win for us.”
| Metric | Windows held | Statistics held | What the distribution tells you |
|---|---|---|---|
| Daily demand | 30, 60, 90 days | Total, mean, standard deviation, P30, P60, P90 | Whether demand is stable or spiky, and how large a buffer is genuinely required |
| Gross margin | 30, 60, 90 days | Total, mean, P30, P60, P90 | Whether margin is earned consistently or swings with supplier cost |
| Revenue | 30, 60, 90 days | Total, mean, percentiles | Whether revenue concentration sits in a few large days or spreads evenly |
| Available inventory | 30, 60, 90 days | Mean, P30, P60, P90 | Whether the product has been comfortably stocked or hovering near zero |
| Inventory value | 30, 60, 90 days | Mean | Feeds the GMROII calculation as the average capital employed |
| Decision | With the mean only | With mean and percentiles |
|---|---|---|
| Setting a stock buffer | One buffer rule applied to everything | Buffer scaled to that product’s actual variability |
| Choosing between two products with equal average margin | Coin toss, or gut feel | The consistently profitable one is identifiable |
| Assessing service level | Looks fine because most orders are fine | The tail of bad days is visible and quantified |
| Judging whether a product has been in stock | Current stock on hand only | Whether it has been near zero for much of the quarter |
| Explaining a purchasing decision | Because it averages this much | Because on its busiest tenth of days it needs this much |
Positions below reflect vendor-documented capability as at 27 July 2026.
Use the same anonymised data set and the same questions with every vendor, and insist on a live workflow rather than slides.
Score on time taken, number of clicks, whether the answer is traceable to source records, and whether the insight becomes an editable draft without rekeying.
Both. The nightly data lake computes the mean, the standard deviation and the 30th, 60th and 90th percentiles for demand, margin, revenue and available inventory across rolling 30, 60 and 90 day windows, so the AI can reason about the shape of a distribution rather than only its centre.
Because an average can describe a stable product and a volatile one with the same number. The 90th percentile tells you what the busiest tenth of days actually looks like, which is the figure that determines whether you are in stock when it matters. Stocking a spiky product to its mean guarantees being short on its best days.
They are computed using a t-digest algorithm with a documented error margin below 0.1%, which is indistinguishable from exact percentiles for planning purposes. Exact recalculation across full history for every SKU at every location every night would be computationally impractical at this scale.
Yes. The same methodology is applied to gross margin, revenue and available inventory. Margin percentiles are particularly useful when choosing between two products with a similar average margin but very different consistency.
It is the direct input into the statistical safety stock calculation. A high standard deviation means erratic demand and earns a larger buffer automatically; a low one earns a smaller buffer and releases capital.
Yes. Percentiles on available inventory across the trailing windows show whether a product has been comfortably in stock or hovering near zero for much of the period, which current stock on hand alone cannot reveal.
Yes, via API including for Power BI, reading the same pre-computed fields, so dashboard figures and conversational answers agree.
All our sales, support and development team are located in Hereford and Cheltenham in the U.K. Please submit the contact form and we will contact you within the same business day.