Fill rate formula, and the sold-out days behind it
Fill rate is the percentage of customer demand you shipped from stock you already had, and the formula is units shipped divided by units ordered, times one hundred. It scores a month that has already closed, so this page gives you the formula first, then the number underneath it you can still act on: sales velocity measured over the days a SKU was actually in stock.
What fill rate means
Fill rate is the percentage of demand you met from stock on hand, without a backorder, a split shipment or a cancellation. The formula:
Fill rate = (units shipped / units ordered) x 100
The numerator is easy. You know what left the building. The denominator is the whole argument, because it is demand, not sales. Demand includes the units customers wanted and did not get.
The measure comes from warehousing and wholesale, where a buyer places a purchase order and you either fill it or you short it. The shortfall is written down, so the denominator sits there in the paperwork. A direct-to-consumer store has no purchase orders. Demand that arrives at a sold-out product page leaves no record at all, which is why fill rate is simple to define and awkward to measure for a 50 to 2,000 SKU catalogue.
Three ways the number gets counted
| Measure | Formula | What it answers |
|---|---|---|
| Unit fill rate | Units shipped / units ordered | How much of the demand, in units, you covered |
| Line fill rate | Order lines shipped complete / order lines ordered | How many SKU lines went out whole |
| Order fill rate | Orders shipped complete / orders placed | How many customers got everything in one shipment |
A worked month, three different answers
Take one month: 380 orders, 450 order lines, 1,000 units of demand. One SKU sits at zero for nine days. Across those nine days, 60 units of demand go unmet, spread over 30 order lines in 28 orders.
- Unit fill rate: 940 / 1,000 = 94 percent
- Line fill rate: 420 / 450 = 93.3 percent
- Order fill rate: 352 / 380 = 92.6 percent
Same month, same single stockout, three numbers. Unit fill rate flatters you when the missing units are cheap and plentiful. Order fill rate is the harshest, because one missing item spoils a whole order, and it is the one closest to what the customer experienced. Pick one, write down which, and stop switching. A fill rate that changes definition between months tells you nothing.
The denominator a small store never records
Revenue is a sum of what you did ship. It has no slot for the order that never got placed.
When a SKU hits zero and overselling is off, the sale does not become a backorder and it does not become a cancellation. It becomes a sold-out button and a closed tab. Nothing reaches your reports. A month with a nine-day stockout on a strong seller can post respectable revenue, because the days either side were busy and the shortfall has no line of its own.
So for a store that takes no backorders, the honest version of fill rate is an estimate, not a true ratio. The method is straightforward:
- Take the days each SKU spent at zero, per location.
- Weight them by that SKU's units per day on the days it was actually in stock.
- Add the partial shipments and cancellations you can see, because those are recorded misses.
The day counting is the part you should not be doing from memory. Restoc records each stockout period per SKU and location from its syncs and Shopify webhooks, and shows those days beside the velocity it worked out. Turning them into a percentage is your arithmetic, and the percentage grades a month that has already closed.
The sold-out days bite twice
Those days at zero do more than dent a ratio.
Divide a 30-day window's units by 30 calendar days when nine of them were sold out, and the SKU's velocity reads about a third too low. A low velocity sets a low reorder point. A low reorder point buys too little cover. The next stockout then arrives on schedule, and the same SKU looks slower again. That is how a fast mover quietly demotes itself.
Divide by in-stock days instead and the loop breaks. The arithmetic is the same one fill rate asks for, read forwards rather than backwards: what this SKU sells on a day it has stock, how long your supplier takes, and how many days of cover are left on the shelf this morning.
The forward-looking half of the same problem
Velocity measured over in-stock days
Restoc records how long each SKU spent at zero, per location, then divides the window's units by the days the SKU was actually in stock. A SKU that sold out stops reading as a slow mover.
The excluded days are shown, not hidden
The sold-out days left out of the calculation appear in the per-SKU breakdown, in the weekly reorder report and in its CSV, so you can check the number by hand before you commit cash to an order.
Days of inventory remaining, per SKU
The dashboard lists current stock, days of inventory remaining and reorder status for every active SKU. That is the version of this question you can still answer with a phone call to the supplier.
Your window, your lead time
The reorder point comes from a sales velocity window of 7, 14 or 30 days and the lead time you enter per SKU, so the cover it asks for matches your supplier rather than an average one.
Related terms
Fill rate sits downstream of numbers you set yourself.
- Stockout. The event fill rate is scoring. One stockout on a strong SKU moves every version of the ratio.
- Backorder. The mechanism that turns invisible lost demand into recorded demand, at the cost of a promise you then have to keep.
- Days of inventory on hand. The forward-looking cousin. Same inventory, read before the gap instead of after it.
- Sales velocity. The units-per-day figure a stockout damages, unless the sold-out days come out of the divisor.
- Safety stock. The buffer you hold specifically to lift fill rate when demand or lead time runs hot.
- Reorder point. The trigger that keeps the buffer intact. If fill rate slipped, this is usually the number that was set too low.
- Service level. The stockout risk you decide to accept, which is where a fill rate target actually comes from.
- Sell-through rate. Often confused with fill rate. Sell-through measures how much of what you received has sold. Fill rate measures how much of what was wanted you could ship.
- Inventory carrying cost. The price of chasing a higher fill rate with more stock on the shelf.
Questions
What is the fill rate formula?
Units shipped divided by units ordered, times one hundred. Swap units for order lines or whole orders and you get line fill rate or order fill rate, which measure the same month and give lower numbers.
How do I measure fill rate when a sold-out item blocks the order?
You cannot measure it exactly, because the blocked demand is never recorded anywhere. The estimate takes the days each SKU spent at zero, weights them by that SKU's units per day on the days it was in stock, and adds the partial shipments and cancellations you can see. Restoc already records the stockout periods per SKU and location and shows those days in the breakdown, the weekly report and the CSV, so you are weighting a recorded day count rather than guessing at one.
Do sold-out days distort my sales velocity?
Yes, and in the direction that hurts. Dividing a window's units by calendar days when some of those days had nothing to sell understates units per day, which understates the reorder point for the next cycle. Restoc divides by the days the SKU was actually in stock and shows the excluded days, so you can check the figure by hand.
What counts as a good fill rate?
That is a decision, not a benchmark. The target depends on your margin per unit, your supplier lead time and how easily a customer substitutes a different product. High margin plus long lead time argues for more cover and a higher target. Low margin plus a quick reorder argues for accepting the occasional miss rather than paying to carry stock that may not move.
Is fill rate the same as sell-through rate?
No. Sell-through rate is units sold against units received, so it describes how well a buy performed. Fill rate is units shipped against units demanded, so it describes how often you could serve the demand you had. A SKU can show strong sell-through precisely because it sold out, which is a bad fill rate wearing a good costume.
Does a high fill rate mean I am holding too much stock?
It can. Pushing fill rate towards 100 percent means buying cover for demand peaks that may not arrive, and that cash sits on a shelf. The sensible test is per SKU: tight cover on slow movers, generous cover on the few items that carry your revenue.
Which number should I watch between restocks?
Days of inventory remaining and reorder status per active SKU, with velocity taken over in-stock days. A closed month's fill rate is useful for arguing about which SKUs deserve more cover. Days of cover left is the number you can act on while there is still time to place the order.