Warehouse bin location numbering system
A warehouse bin location numbering system gives every bin an address you can read in the order you walk. Use four parts, from biggest to smallest: zone, aisle, bay, level. Write every number with the same count of digits.
P-03-05-B means pick area P, aisle 03, bay 05, level B (the second shelf up from the
floor).
By Navexa Updated How we check facts
More examples:
P-01-01-A: aisle 1, the first bay on your route, floor levelP-01-02-C: across the aisle from it, third shelf upR-02-14-A: reserve area R, aisle 2, bay 14, floor level
Pad the numbers (03, not 3) because Shopify sorts bin names one character at a time, so A-10 lands before A-9.1 Then put the SKUs that appear on the most
orders in the first bins on your route.
A numbering scheme that sorts the way you walk
Each part of the name narrows the search. A picker reads it left to right, like a street address. The fifth part, position, is optional.
| Part | What it names | Format | Example |
|---|---|---|---|
| Zone | An area of the building: the pick shelves, reserve stock, a back room | One letter | P (pick), R (reserve) |
| Aisle | The walkway the picker stands in | Two digits | 03 |
| Bay | One shelf unit on one side of the aisle. With shelves on both sides, each shelving section has two bays: the odd one on the picker’s left, the even one on the right | Two digits, or three if an aisle could ever pass 99 bays | 05 |
| Level | The shelf height, counted from the floor | One letter, A at the floor | B |
| Position | Optional: a slot on one shelf, counted left to right | Two digits | 02 |
A full name with a position looks like P-03-05-B-02. Use positions only when one
shelf holds several SKUs that a picker could confuse.
Why fixed width matters
Shopify explains its sort rule on its bin locations help page:
Bin locations are sorted in an alphabetical order. Characters are compared one-by-one from left to right and each position is evaluated separately before moving to the next position.1
It gives the example: “A-10 comes before A-9 because 1 comes before 9 in the first position after A-.” Its advice: “For
proper sorting use A-01 instead of A-1 and use A-09 instead of A-9.”1
Here is what that does to six bins named without padding:
| Typed | How Shopify’s rule sorts them | Padded | Padded, sorted |
|---|---|---|---|
| A-1 | A-1 | A-01 | A-01 |
| A-2 | A-10 | A-02 | A-02 |
| A-9 | A-11 | A-09 | A-09 |
| A-10 | A-2 | A-10 | A-10 |
| A-11 | A-9 | A-11 | A-11 |
| B-1 | B-1 | B-01 | B-01 |
Four of the six names move. So choose the digit count for the biggest number you might ever need. If an aisle could grow past 99 bays, use three digits from the start. Renaming every bin later means relabelling every shelf.
The rest of the rules
- Use one separator. Shopify suggests sections “separated by
-, such asaisle-unit-shelf-bin”.1 Pick the hyphen and use it in every name. - Use letters for levels.
03-05-02could be a bay and a level, or a level and a position.03-05-Bcan’t be misread. Letters give you up to 26 levels. - Use capital letters only. Shopify’s page doesn’t say how it compares capital and lowercase letters. One case avoids the question.
- Use a prefix for each area. Shopify’s own example: “For retail stores with
front and back areas, use prefixes, such as
F-andB-.”1 - Keep the SKU out of the bin name. In Shopify, “Multiple SKUs can be assigned to the same bin.”1 A bin is a place. Its contents change, and its name should not.
- Plan reserve bins around one bin per SKU. Shopify’s rule is: “Each product variant can be assigned only to one bin per location.”1 So if a SKU’s pick stock sits in a P bin, Shopify can’t also record its reserve stock in an R bin at the same location. Use R bins in Shopify for SKUs you keep only in reserve, or track reserve stock outside Shopify.
- Never reuse a name in one location. Shopify: “Bin names must be unique within a location.”1
Check the names you use now
Already have bins? Paste their names, one per line. The checker sorts them the way Shopify
describes, shows which names land out of number order, and suggests padded names. It also flags
two names that become the same once padded, such as A-1 and A-01,
because one location can’t have both.
Check your bin names
Paste your bin names, one per line. You see the order Shopify’s rule puts them in, the names that land out of number order, and padded names.
Each run of digits is padded to the longest run in the same place in any name on the list. The names stay in this page; nothing is sent anywhere.
4 of 6 names out of number order.
| Typed | How Shopify’s rule sorts them | Padded | Padded, sorted |
|---|---|---|---|
| A-1 | A-1 | A-01 | A-01 |
| A-2 | A-10 | A-02 | A-02 |
| A-9 | A-11 | A-09 | A-09 |
| A-10 | A-2 | A-10 | A-10 |
| A-11 | A-9 | A-11 | A-11 |
| B-1 | B-1 | B-01 | B-01 |
Walk order
Call the end of the aisles nearest your packing bench the front, and make aisle 01 the aisle nearest the bench. The simplest route that walks every aisle once is then a snake. You go up aisle 1 from the front, come down aisle 2 from the back, go up aisle 3, and so on. With an even number of aisles, the route ends at the front, back at the bench. With an odd number, it ends at the back of the last aisle.
That route creates a problem for any list sorted by bin name. Say every aisle is numbered from the front. Bay 01 of aisle 2 is at the front, but you reach aisle 2 at the back. A list sorted by name has you start every aisle at the front, so after each aisle you walk back to the front without picking anything.
Here is a small warehouse: two aisles, three shelving sections per aisle, shelves on both sides, one level.
| Walk step | Aisles numbered from the front | Even aisles numbered from the back |
|---|---|---|
| 1 | P-01-01-A | P-01-01-A |
| 2 | P-01-02-A | P-01-02-A |
| 3 | P-01-03-A | P-01-03-A |
| 4 | P-01-04-A | P-01-04-A |
| 5 | P-01-05-A | P-01-05-A |
| 6 | P-01-06-A | P-01-06-A |
| 7 | P-02-05-A | P-02-01-A |
| 8 | P-02-06-A | P-02-02-A |
| 9 | P-02-03-A | P-02-03-A |
| 10 | P-02-04-A | P-02-04-A |
| 11 | P-02-01-A | P-02-05-A |
| 12 | P-02-02-A | P-02-06-A |
In the middle column, four of the 12 walk steps don’t match the name order (bold). In a warehouse with 4 aisles of 10 sections, shelves on both sides and 4 levels, 160 of the 320 bins come up out of order: every bin in aisles 2 and 4.
You can fix this in two ways:
- Number even aisles from the back. Then the names sort in walking order, as in the right column. Odd bays stay on the picker’s left as they walk. The cost: bay 01 of aisle 2 sits at the far end, away from the bench. Put a sign at each aisle end that shows which bays start there.
- Keep every aisle numbered from the front, and add a walk-order number. Sort pick lists and count sheets by that number instead of the name. This works only if your system can sort by a second field.
The generator below gives you both: names in either numbering, and a walk-order number for every bin.
If you count stock on a schedule, the cycle count template orders each day’s counts by location, then bin name, then SKU. Bins named in walking order give the counter the same route as the picker.
Generate bin names and walk order
Enter each zone’s size. The generator writes every bin name, in the order you walk, with a walk-order number starting at 1. If you have more than one zone, enter them in letter order (P before R), so the names still sort in walking order.
Bin names and walk order
Enter each zone’s size. You get every bin name in the order you walk, numbered from 1.
Columns: walk_order, bin_name, zone, aisle, bay, level, position, side. The slotting tool and the label sheet below use this list.
The generator makes up to 20,000 bins at a time. Your entries stay in this page; nothing is sent anywhere.
320 bins, from P-01-01-A to P-04-20-D.
| Walk order | Bin name | Aisle | Bay | Level | Side as you walk |
|---|---|---|---|---|---|
| 1 | P-01-01-A | 1 | 1 | A | Left |
| 2 | P-01-01-B | 1 | 1 | B | Left |
| 3 | P-01-01-C | 1 | 1 | C | Left |
| 4 | P-01-01-D | 1 | 1 | D | Left |
| 5 | P-01-02-A | 1 | 2 | A | Right |
| 6 | P-01-02-B | 1 | 2 | B | Right |
| 7 | P-01-02-C | 1 | 2 | C | Right |
| 8 | P-01-02-D | 1 | 2 | D | Right |
| 9 | P-01-03-A | 1 | 3 | A | Left |
| 10 | P-01-03-B | 1 | 3 | B | Left |
| 11 | P-01-03-C | 1 | 3 | C | Left |
| 12 | P-01-03-D | 1 | 3 | D | Left |
| 13 | P-01-04-A | 1 | 4 | A | Right |
| 14 | P-01-04-B | 1 | 4 | B | Right |
| 15 | P-01-04-C | 1 | 4 | C | Right |
| 16 | P-01-04-D | 1 | 4 | D | Right |
| 17 | P-01-05-A | 1 | 5 | A | Left |
| 18 | P-01-05-B | 1 | 5 | B | Left |
| 19 | P-01-05-C | 1 | 5 | C | Left |
| 20 | P-01-05-D | 1 | 5 | D | Left |
With the default inputs you get 320 bins. Ten sections with shelves on both sides give bays 01
to 20 in each aisle, so the first bin is P-01-01-A and the last is P-04-20-D. The download is a CSV with these columns: walk_order, bin_name, zone, aisle, bay, level, position, side (L or R as you walk).
This list is not a Shopify import file yet. Each row of Shopify’s bin file is a product at a location, with its bin name. Shopify’s help page says new bins come in by CSV import: “To create new bin locations, you need to import bin locations using a CSV file.”1 So each bin needs a product first. The slotting tool below puts SKUs in these bins and writes the file Shopify imports.
Slot your busiest SKUs by pick lines
Count how many orders each SKU was on in the last 30 days. Each of those is a pick line: one SKU on one order. Rank the SKUs from most lines to fewest, and keep a running total. Class A holds the SKUs that take the running total to 80% of all lines, including the SKU that crosses 80%. Class B takes it to 96%. Class C holds the rest. Then put class A in the first bins on your route, class B next, and class C at the far end.
The tool treats the first bins on your route as the best ones, so start the route at your packing bench. The generator’s route visits the floor shelf of each bay first. If you want your busiest SKUs off the floor and the top shelf, paste your bins in your own best-first order instead.
Why lines, not units or sales
A picker walks to a bin once per line. Ten units of one SKU on one order is one trip. One unit on each of ten orders is ten trips. Units measure how much stock moves. Lines measure how often someone walks to the bin.
In the made-up worked example below, FILTER-100 sold 300 units in 30 days, the
second most of any SKU. But those units came on only 20 orders, 15 packs per order on average.
Ranked by units, it takes an A bin. Ranked by lines, it is class C, and SUP-MAG-60,
with 90 orders, gets that bin instead.
If you pick several orders in one walk, two lines of the same SKU can share one trip. Then lines overstate trips for your fastest SKUs. The ranking still starts with the SKUs that are on the most orders.
The cut-offs are a starting point
80% and 96% are this page’s defaults, not an industry standard. You can change both. Lower the class A cut-off if class A has more SKUs than your best bins hold.
Because the SKU that crosses 80% is class A, class A usually holds a little more than 80%. In the worked example, the first three SKUs hold 75% of lines, so the fourth is class A, and the four together hold 84%.
Get the counts from Shopify
- In Shopify, go to Orders, click Export, and choose Orders by date. Set the last 30 days and export as a CSV file. Shopify emails the file when you export by date.2
- Drop the CSV into the tool. You can add more than one file.
Shopify’s order export has one row per line item: “orders with multiple line items display their
additional line items on separate lines. Many of the fields are left blank to indicate that
multiple items were purchased on the same order.”2 The tool counts
each SKU once per order number, reading the Name, Lineitem SKU and Lineitem quantity columns. It fills in an order’s date from that order’s first row. It
skips:
- cancelled orders (a date in
Canceled at) - lines where
Lineitem requires shippingis false, such as gift cards - lines with no SKU (the tool tells you how many)
- orders older than 30 days before the newest order in the file
The column names above are spelled as on Shopify’s help page. The tool ignores capital letters
in column names and also accepts Cancelled at.
If you ship from more than one location, the counts cover all of them. The column list on
Shopify’s help page has no column for the location that shipped an order. Its Location column is “The location of the POS that sold the order.”2 To slot one warehouse, paste SKU,lines counts for that warehouse instead.
Not on Shopify? Paste two columns instead: SKU,lines. A third column for units and
a fourth for the current bin are optional.
To see where your SKUs sit now, also drop in Shopify’s inventory export and pick the location.
Export it from Products > Inventory > Export,
with All states chosen under Inventory states shown.3 The tool reads the SKU and Bin name columns. A SKU that has a bin but
no orders in the window joins the list at 0 lines, as class C, so the tool moves it out of your best
bins too. Without the inventory export, the tool assumes no SKU has a bin yet.
Slot SKUs by pick lines
Load your Shopify order export or paste SKU,lines counts. You get each SKU’s class, a bin for it on your route, and the moves in an order you can work through.
Load your Shopify order export, or paste SKU,lines counts. To try it first, : 6,259 made-up orders.
Your files are read in this page and never sent anywhere. The tool counts each SKU once per order number and ranks by pick lines, then units, then SKU.
The tool decides moves with four rules:
- A SKU already in a bin of its own class stays. A small change in rank isn’t worth a move.
- Every other SKU takes the first free bin of its class. A SKU moves further along the route only when a busier SKU takes its bin.
- A class C SKU kept in a bin that isn’t on your list, such as
OVERFLOW, stays there. - If you run out of bins, the SKU is listed as “No free bin”. Add bins, or allow more SKUs per bin.
The move list comes in an order you can work through: no step puts a SKU into a full bin. When moves form a loop (SKU 1 goes to SKU 2’s bin while SKU 2 goes to SKU 1’s), the list starts the loop by putting one SKU in a tote. A SKU with no free bin gets a step that takes it off the shelf, so the SKU that gets its bin has room. Shopify keeps showing its old bin until you add bins and run the tool again.
Worked example: 10 SKUs, 1,000 pick lines
This is made-up data for a small coffee and supplements brand. It has one aisle with three
shelving sections, shelves on both sides, and two levels: 12 bins, walked P-01-01-A, P-01-01-B, P-01-02-A and so on to P-01-06-B. The SKUs
were first shelved in SKU order, so COF-DECAF-12 sits in the first bin.
| Rank | SKU | Pick lines (30 days) | Units | Share of lines | Cumulative | Class |
|---|---|---|---|---|---|---|
| 1 | COF-HOUSE-12 | 410 | 520 | 41.0% | 41.0% | A |
| 2 | COF-DECAF-12 | 220 | 260 | 22.0% | 63.0% | A |
| 3 | TEA-EARL-50 | 120 | 150 | 12.0% | 75.0% | A |
| 4 | SUP-MAG-60 | 90 | 95 | 9.0% | 84.0% | A |
| 5 | SUP-D3-90 | 60 | 64 | 6.0% | 90.0% | B |
| 6 | MUG-STONE | 40 | 44 | 4.0% | 94.0% | B |
| 7 | COF-HOUSE-5LB | 25 | 25 | 2.5% | 96.5% | B |
| 8 | FILTER-100 | 20 | 300 | 2.0% | 98.5% | C |
| 9 | TEA-MINT-50 | 10 | 12 | 1.0% | 99.5% | C |
| 10 | GIFT-BOX | 5 | 5 | 0.5% | 100.0% | C |
Four SKUs are class A and hold 840 of the 1,000 lines. So the first four bins on the route are class A bins, the next three are class B, and the last five are class C.
COF-HOUSE-12 and COF-DECAF-12 already sit in the first two bins, so
they stay. SUP-D3-90, MUG-STONE and TEA-MINT-50 are already
in bins of their own class, so they stay too. Five SKUs move:
| SKU | Class | From | To |
|---|---|---|---|
| TEA-EARL-50 | A | P-01-05-A | P-01-02-A |
| SUP-MAG-60 | A | P-01-04-B | P-01-02-B |
| COF-HOUSE-5LB | B | P-01-02-A | P-01-03-A |
| FILTER-100 | C | P-01-02-B | P-01-04-B |
| GIFT-BOX | C | P-01-03-A | P-01-05-A |
The moves form two loops, so the working order has seven steps:
TEA-EARL-50: P-01-05-A to a toteGIFT-BOX: P-01-03-A to P-01-05-ACOF-HOUSE-5LB: P-01-02-A to P-01-03-ATEA-EARL-50: tote to P-01-02-ASUP-MAG-60: P-01-04-B to a toteFILTER-100: P-01-02-B to P-01-04-BSUP-MAG-60: tote to P-01-02-B
Before the moves, the first four bins on the route held SKUs with 675 of the 1,000 lines (67.5%). After them, they hold 840 (84.0%). Over the same 30 days, that is 165 more trips that end in the first four bins instead of further down the aisle.
Try it on a bigger file
The example file has 6,259 made-up orders over 30 days. The tool skips the 33 cancelled orders (61 rows) and 22 gift card rows. It counts 10,000 pick lines for 300 SKUs from the other 6,226 orders. At 80% and 96%, 63 SKUs are class A, 142 are class B and 95 are class C. Those sizes come from the popularity curve we chose for the made-up file. Your own export will give different ones.
Download the example orders file or download it as SKU and lines.
Class A SKUs are also the ones a stockout hurts most. To set when to reorder them, use the reorder point calculator.
Send the new bins to Shopify
Shopify’s bin page lists five columns for a bin file: Handle, Location, Bin name, On hand (current) and On hand (new).1 The “All states” inventory export already has all five columns,3 and the bin page notes: “The exported CSV file already contains the Bin name column.”1
If you loaded your inventory export, the tool writes an edited copy of it. The copy keeps only
the rows at your chosen location for SKUs that move. In those rows it changes the Bin name cell and nothing else. On hand (new) stays empty.
Shopify’s bin page describes that column: “The new inventory quantity that you want to set. Leave empty when you don’t want to change inventory quantities.”1 Its inventory CSV page adds that leaving it empty “is useful when you’re updating other information, such as bin names”.3
Two things in particular can stop rows from importing:
- Stock that changed after you exported. Shopify’s bin page says
On hand (current)“ensures safety validation during import”.1 Its inventory CSV page describes a check that compares your stock at import with theOn hand (current)values: “If your inventory changes after your export, then the affected rows don’t import and you get an email with details about the validation failures.”3 That page doesn’t say whether the check runs whenOn hand (new)is empty, as it is in this file. So export, run the tool and import on the same day, outside packing hours. - A location name that doesn’t match. “The location name is case sensitive and must match your Shopify location name exactly.”3 The tool copies it from your export, so leave it as it is.
Shopify also caps the file: “Your inventory CSV file can’t exceed 15 MB.”3 The edited copy holds only the rows that change, so it is smaller than your export.
To import, go to Products > Inventory and click Import.1 Move the stock first, then import, so the shelf and Shopify agree when the next order prints.
Barcodes on bin labels
Code 128 suits internal codes such as bin names. It encodes letters, digits and hyphens, so P-03-05-B goes into the barcode exactly as written. The JsBarcode library’s
documentation puts it this way: Code 128 “has support for all 128 ASCII characters”.4 Print the bin name in large type above the barcode. The picker reads the name, and the scanner
reads the bars.
Keep bin codes apart from product codes. A scanner only reads; your software decides what a code means. When two things share a code, the software can’t tell them apart. Shopify’s stock counts show the same problem with products: “If the same barcode is assigned to more than one product, then scanning that barcode returns an error. Resolve any duplicate barcodes before you count.”5 Before you print, check that no bin name matches a barcode in your product list.
Product barcodes such as UPCs are a separate system with their own rules. This page doesn’t cover them.
The tool below prints one label per bin, with the bin name in large type and a Code 128 barcode under it. Choose 4×6 for rack and aisle-end labels, or 2×1 for shelf edges. Print one label at the size you plan to use, and scan it with the scanner your pickers will use, before you print the whole run.
Print bin labels
One label per bin: the name in large type, a Code 128 barcode under it.
Bars are sized in whole printer dots, at least 2 dots wide at 203 dpi and 3 at 300 dpi. Check your printer’s resolution on its spec sheet. In the print dialog, choose the label printer and the 4×6 in label size, set the scale to 100% (not “fit to page”), and turn off headers and footers.
Print one label and scan it with your pickers’ scanner before you print the run.
320 labels at 4×6 in.
Sources
- Creating and managing bin locations with CSV files Shopify Help Center. Checked on
- Exporting orders Shopify Help Center. Checked on
- Exporting and importing inventory with a CSV file Shopify Help Center. Checked on
- JsBarcode wiki: CODE128 JsBarcode (Johan Lindell and contributors). Checked on
- Creating and managing stock counts Shopify Help Center. Checked on
Change log
- First published.