EN
Shipping and Logistics

How Do You Route Orders Across Multiple Warehouses? A Guide to the Shipping Cost Matrix, the Cheapest Warehouse Rule, Stock Constraints, the Cost of Splitting Orders and Warehouse Transfers

How do you route orders across multiple warehouses? Shipping cost matrix, cheapest warehouse rule, stock constraints and warehouse transfers: an 8-lesson guide with examples.

Contents 14 sections
  1. What will you be able to do by the end of this training?
  2. Lesson 1: Why does order routing matter when working with multiple warehouses?
  3. Lesson 2: How do you build a shipping cost matrix?
  4. Lesson 3: How much difference do shipping from a single warehouse and the cheapest warehouse rule make?
  5. Lesson 4: Which order gets priority when stock is insufficient?
  6. Lesson 5: How expensive is splitting an order across two warehouses?
  7. Lesson 6: When is moving stock to the warehouse closest to demand profitable?
  8. Lesson 7: How is the routing rule applied?
  9. Lesson 8: How is order routing monitored?
  10. What are the most common mistakes in multi-warehouse order routing?
  11. How does NetKasam make multi-warehouse management easier?
  12. Mini quiz: Test what you have learned
  13. Conclusion: Build your shipping matrix by region and warehouse
  14. Frequently Asked Questions About Multi-Warehouse Order Routing

One warehouse in Istanbul, one in Ankara. An order from a customer in Ankara ships from Istanbul, because the system always picks the same warehouse. Shipping is more expensive, delivery takes a day longer, while the same product sits on the shelves of the Ankara warehouse. The real gain of working with multiple warehouses is the order shipping from the right warehouse; but for that, warehouse selection needs to be tied to a rule.

This article is not a lecture but an 8-lesson hands-on training. We will answer the question how do you route orders across multiple warehouses using a business with two warehouses and 3,000 orders a month: the shipping cost matrix by region, the cost of shipping from a single warehouse, the cheapest warehouse rule, prioritization under stock constraints, the cost of splitting an order, the break-even point of transfers between warehouses, the operating routine and monitoring indicators. At the end there is a mini quiz and an answer key. You can find the process of moving stock between warehouses in the article how to transfer stock between warehouses; this article focuses on the decision of which warehouse an order ships from.

What will you be able to do by the end of this training?

In short: You will build the shipping cost matrix by region and warehouse, apply the cheapest warehouse rule, set priorities under stock constraints and calculate whether a transfer is profitable.

Training mapSix steps of multi-warehouse routing
  1. 01
    MatrixWrite down the shipping cost by region and warehouse.
  2. 02
    RuleAssign the cheapest warehouse to each region.
  3. 03
    StockIf stock is short, prioritize the region with the highest savings.
  4. 04
    SplittingFactor in the extra cost of splitting an order.
  5. 05
    TransferFind the break-even point of moving stock to the warehouse closest to demand.
  6. 06
    MonitoringTrack off-rule shipments and cost.

The 8 lessons of the training: (1) the purpose of working with multiple warehouses, (2) the shipping cost matrix, (3) the cheapest warehouse rule, (4) priority under stock constraints, (5) the cost of splitting orders, (6) transfers between warehouses, (7) the operating routine, (8) monitoring indicators.

Lesson 1: Why does order routing matter when working with multiple warehouses?

In short: Warehouse selection directly determines shipping cost and delivery time. Without a rule, orders ship from the nearest or easiest warehouse, not the cheapest one.

Businesses usually open a second warehouse for stock security or local customers, but leave order routing to habit: shipping from whichever shelf the warehouse staff find the product on, or shipping everything from one warehouse because it is the system default. Yet warehouse selection is a cost decision repeated for every order: with 3,000 orders a month, a small difference per order adds up to thousands of lira a month.

Sample business: an e-commerce business with two warehouses, in Istanbul and Ankara, receiving 3,000 orders a month. Orders are spread across three regions: Marmara 1,400, Central Anatolia 800, other regions 800. The shipping cost is taken as an example for an average 3-desi package; use the prices in your own carrier agreement (how to calculate desi).

Lesson 2: How do you build a shipping cost matrix?

In short: A shipping cost per order is written for each warehouse and region pair. The matrix shows in numbers which region is "close" to which warehouse.

RegionOrderFrom the Istanbul warehouseFrom the Ankara warehouseDifference (Ist. − Ank.)
Marmara1.40045 ₺62 ₺−17 ₺
Central Anatolia80062 ₺45 ₺+17 ₺
Other regions80070 ₺66 ₺+4 ₺
ChartRegional breakdown of orders: Marmara 46.7%, Central Anatolia and other regions 26.7% each
  • Marmara₺1,40046.7%
  • Central Anatolia₺80026.7%
  • Other regions₺80026.7%

Prepared with sample values.

Reading the matrix: Marmara is close to Istanbul and Central Anatolia to Ankara; the difference is ₺17 per order. For "other regions", the two warehouses are almost equal (₺4 difference). The regions where the carrier is strong also affect the figures in the matrix; regional shipping rules are a separate topic, explained in the article how to create region-based shipping rules. To build your own matrix, average the last three months of shipping invoices by region and shipping warehouse (how to check shipping invoices).

Lesson 3: How much difference do shipping from a single warehouse and the cheapest warehouse rule make?

In short: When all orders ship from a single warehouse, shipping cost is at its highest. The rule that assigns the cheapest warehouse to each region brings the cost down to its lowest level, provided there is enough stock.

FormulaThree formulas for warehouse selection
  1. Monthly shipping cost = Σ (Orders in region × Unit shipping from the chosen warehouse)
  2. Savings / order = Expensive warehouse shipping − Cheap warehouse shipping
  3. Rule savings = Orders shipped from the cheap warehouse × Savings / order

Prepared with sample values.

RegionAll orders from IstanbulCheapest warehouse ruleAssigned warehouse
Marmara1.400 × 45 = 63.000 ₺1.400 × 45 = 63.000 ₺Istanbul
Central Anatolia800 × 62 = 49.600 ₺800 × 45 = 36.000 ₺Ankara
Other regions800 × 70 = 56.000 ₺800 × 66 = 52.800 ₺Ankara
Total168.600 ₺151.800 ₺–
ChartMonthly shipping cost: the cheapest warehouse rule is ₺16,800 lower than shipping from a single warehouse
  1. All orders from Istanbul₺168,600
  2. Cheapest warehouse rule (enough stock)₺151,800
  3. Cheapest warehouse rule (Ankara stock 700 orders)₺156,700

Prepared with sample values.

The rule brings ₺16,800 in savings: 800 × 17 = ₺13,600 from Central Anatolia and 800 × 4 = ₺3,200 from other regions. The monthly savings reach ₺201,600 a year, achieved without any additional investment, just through warehouse selection. The third bar is the result of the stock constraint covered in the next lesson.

Lesson 4: Which order gets priority when stock is insufficient?

In short: If stock is limited in the cheap warehouse, prioritize the region with the highest savings per order. The remaining orders ship from the other warehouse.

The stock in the Ankara warehouse covers only 700 orders, while the rule calls for 1,600 orders (800 Central Anatolia + 800 other regions). The savings per order are ₺17 for Central Anatolia and ₺4 for other regions; so all 700 orders are allocated to Central Anatolia.

RegionAssigned warehouse and quantityAccountCost
MarmaraIstanbul, 1,4001.400 × 4563.000 ₺
Central AnatoliaAnkara 700, Istanbul 100700 × 45 + 100 × 6237.700 ₺
Other regionsIstanbul, 800800 × 7056.000 ₺
Total––156.700 ₺

Check: 63,000 + 37,700 + 56,000 = ₺156,700; savings compared with shipping from a single warehouse 168,600 − 156,700 = ₺11,900 (700 × 17). If you did not give priority to the region with the higher savings per order, for example if you allocated the 700 units of stock to "other regions", the savings would be only 700 × 4 = ₺2,800. The same stock earns 4 times more when allocated to the right place. When stock is limited, the rule is: rank orders by savings per order and assign them to the cheap warehouse in that order until stock runs out.

Lesson 5: How expensive is splitting an order across two warehouses?

In short: If an order's products are in different warehouses, two separate packages and two shipments are needed. Splitting is more expensive than the warehouse difference; if the stock can be completed in one warehouse, ship from that warehouse.

SituationShippingPackingTotal extra cost
One package from one warehouse (expensive warehouse, +₺17)+₺17 (warehouse difference)017 ₺
Two packages from two warehouses (split)+₺45 (second shipment at minimum)+₺10 (second packing)55 ₺

We took the lowest unit cost (₺45) for the second shipment; in a real split shipment it could be 62-₺70 depending on distance. Splitting adds an extra cost of ₺55, while shipping a single package from the non-cheapest warehouse costs only ₺17; a threefold difference. On top of that, the customer receives two separate packages and delivery times can get mixed up. So the rule is: if all the products are in one warehouse, ship from that warehouse (even if it is not the cheapest); only if no warehouse has the whole order, split it or wait until the stock is complete. For the packing routine, see the article how to pick and pack orders.

Delivery time also enters the decision: if delivery from Istanbul to Marmara usually takes one day and from Ankara to Marmara two days, warehouse selection determines not only cost but also customer experience. Consider the effect of fast delivery on sales and returns together with the approach in the article how to keep customers informed about orders.

Recommended readingHow to Transfer Stock Between Warehouses?

Lesson 6: When is moving stock to the warehouse closest to demand profitable?

In short: If the stock in the cheap warehouse is insufficient, moving stock there unlocks the full savings of the rule. If the transfer cost is lower than the remaining savings, the move is profitable.

If 900 more units of stock are moved to the Ankara warehouse (covering 100 Central Anatolia + 800 other region orders), the rule works fully: the cost drops to ₺151,800. The remaining savings are 156,700 − 151,800 = ₺4,900 (100 × 17 + 800 × 4). If the transfer cost is taken as ₺4,000 for example, the net gain is ₺900.

ChartMonthly shipping cost: from ₺168,600 to ₺155,800 with the stock constraint, the rule and a transfer
  1. All orders from Istanbul₺168,600
  2. Central Anatolia's 700 orders from Ankara−₺11,900
  3. Additional savings unlocked by the transfer−₺4,900
  4. Transfer cost₺4,000
  5. Monthly shipping cost after transfer₺155,800

Prepared with sample values. Total: 168,600 − 11,900 − 4,900 + 4,000 = ₺155,800.

Transfer costAdditional savingsClearDecision
2.000 ₺4.900 ₺+2.900 ₺Move
4.000 ₺4.900 ₺+900 ₺Move
₺4,900 (break-even)4.900 ₺0No difference
6.000 ₺4.900 ₺−1.100 ₺Don't move

But a transfer is not monthly; it is usually a one-off or periodic operation: 900 units of stock do not last just one month, they last several months. In that case, since the monthly savings (₺4,900) repeat every month, the transfer cost is spread over several months and the decision becomes even stronger. However, splitting stock across warehouses increases safety stock (both warehouses must hold their own safety stock); calculate its cost with the article how to calculate safety stock. To balance the two warehouses' stock and for stock visibility, you can also see the article how to manage store and e-commerce stock from one center.

Lesson 7: How is the routing rule applied?

In short: Write the region-warehouse assignment in a table, set the stock threshold and give it to the order preparation team as a clear rule. Off-rule shipments are recorded.

StepTo doNote
1. MatrixDerive region-warehouse cost from the last 3 months of shipping invoicesUse the average desi
2. AssignmentAssign a primary and a backup warehouse to each regionOrder of savings per order
3. Stock thresholdSwitch to the backup warehouse when warehouse stock drops below the thresholdUse critical stock alerts
4. Single warehouse ruleDo not split if the order can be completed from one warehouseSplitting is only an exception
5. Monthly reviewUpdate the matrix when shipping prices and regional breakdown changeThe regional breakdown changes during campaign periods

In NetKasam you can define multiple warehouses and branches and track the stock of each separately, transfer between warehouses, set a critical stock quantity and receive alerts, manage orders on one screen and list them by region and status with filters, and pass orders to the carrier through shipping integration. You can also prevent expensive shipments by defining the regions where carriers are strong. Remember that you set the warehouse selection rule: the table above is the team's instruction. For details, see the branch and warehouse management, inventory management, shipping integration and order management pages. For setting up a new warehouse, the article how to set up branches and warehouses for a new store opening helps.

Lesson 8: How is order routing monitored?

In short: Track four indicators monthly: average shipping cost per order, rule compliance rate, split order rate and warehouse days of stock.

IndicatorSample valueHow it is calculated
Shipping cost per order50,60 ₺Monthly shipping ÷ Orders (151,800 ÷ 3,000)
Rule compliance rateFrom your own recordsOrders shipped from the rule-compliant warehouse ÷ Total orders
Split order rateTarget close to 0%Orders shipped from two warehouses ÷ Total orders
Warehouse days of stockThreshold: 5 daysWarehouse stock ÷ Daily outflow
Takeaways from the exampleFour numbers from the multi-warehouse routing example
  • ₺16,800monthly savings from the cheapest warehouse rule (with enough stock)
  • ₺11,900savings with prioritization when Ankara stock covers 700 orders
  • ₺55extra cost of splitting an order across two warehouses (warehouse difference ₺17)
  • ₺4,900break-even cost of the transfer (monthly savings lost due to the stock shortage)

If the shipping cost per order is rising, rule compliance may have dropped or split orders may have increased. If warehouse days of stock fall below the threshold, it is time for a transfer. The regional breakdown changes during campaign periods (for example, a local campaign grows one region); review the matrix and assignments for that period: for this, see the article how to prepare for a busy campaign period. To add the indicators to your weekly report, the article how to prepare a weekly management report helps.

Recommended readingHow Does Shipping Integration Work, and How Do You Choose One?

What are the most common mistakes in multi-warehouse order routing?

  1. Leaving warehouse selection to habit. Orders keep shipping from the expensive warehouse.
  2. Not building a cost matrix. Nobody knows which region is close to which warehouse.
  3. Not seeing the stock constraint. Stock runs out in the cheap warehouse and the rule cannot be applied.
  4. Splitting orders too readily. A second shipment and package cost more than the warehouse difference.
  5. Assigning priority at random. Stock allocated to a low-savings region dilutes the gain.
  6. Transferring without calculating. The transfer cost can exceed the savings.
  7. Not updating the matrix. The rule becomes outdated as shipping prices and regional breakdown change.

How does NetKasam make multi-warehouse management easier?

  • Branch and warehouse management. Stock is tracked separately across multiple warehouses and branches, and transfers are made between warehouses (branch and warehouse management).
  • Critical stock alerts. You get a notification when warehouse stock drops to the level you set (inventory management).
  • Shipping integration. It automatically passes orders ready for dispatch to the carrier, and by defining the regions where carriers are strong you prevent expensive shipments (shipping integration).
  • Single-screen order management. You filter orders by region and status and perform bulk actions (order management).
  • Inventory movements report. You see receipts, issues and transfers per warehouse on record.
  • Saved reports. You save shipping and order reports, export them to Excel and prepare the matrix in your own spreadsheet (reports).
  • Bookkeeping is free. e-Invoice, customer and supplier accounts, inventory, cash, bank and expense management are free in every plan; see the pricing page for details.

Mini quiz: Test what you have learned

In short: Answer the 5 questions below, then compare with the answer key. 4 or 5 correct shows you have completed the training.

  1. 500 orders go to a region; shipping from warehouse A is ₺40, from warehouse B ₺55. What is the cost difference between shipping from the two warehouses?
  2. The stock in the cheap warehouse covers 300 orders and the savings are ₺15 per order. What are the savings with the limited stock?
  3. If splitting the order adds ₺55 and shipping from a single expensive warehouse adds ₺17 in extra cost, which is preferred?
  4. If the transfer's additional savings are ₺4,900 and its cost is ₺3,000, what is the net result?
  5. Which of two regions gets priority: savings of ₺17 or ₺4?

Answer key:

  1. A: 500 × 40 = ₺20,000; B: 500 × 55 = ₺27,500; difference ₺7,500.
  2. 300 × 15 = 4.500 ₺.
  3. Shipping from a single warehouse (₺17 < ₺55).
  4. 4,900 − 3,000 = +₺1,900 (moving is profitable).
  5. The region with savings of ₺17.

Frequently Asked Questions About Multi-Warehouse Order Routing

How do you route orders across multiple warehouses?

You build a shipping cost matrix by region and warehouse, assign the cheapest warehouse to each region and, when stock is insufficient, prioritize the region with the highest savings.

How do you decide which warehouse to ship from?

The warehouse with the lowest shipping cost for the order's region is chosen; but if the order can be completed from one warehouse, it is shipped from there rather than split.

What do you do if stock is insufficient in the cheap warehouse?

Orders are assigned to the cheap warehouse starting with the highest savings per order; the rest ship from the other warehouse. In the example, this prioritization saves ₺11,900.

Does it make sense to ship an order from two warehouses?

Usually not. A second shipment and packing cost more than the warehouse difference. Only split, or wait for stock, if no warehouse has the whole order.

When is a stock transfer between warehouses profitable?

When the savings lost because of a stock shortage in the cheap warehouse are greater than the transfer cost. In the example, the break-even transfer cost is ₺4,900.

How do you build a shipping cost matrix?

You average the last three months of shipping invoices by region and shipping warehouse and write the cost per order into the table.

How do you set a threshold for warehouse stock?

By how many days of sales it will cover rather than by units; for example, as much as 5 days of outflow. When stock drops to this threshold, a transfer request is opened and routing is switched to the backup warehouse.

How does NetKasam help with multi-warehouse management?

It offers inventory by branch and warehouse, transfers between warehouses, critical stock alerts, shipping integration, order management with filters and saved reports; bookkeeping is free.

Conclusion: Build your shipping matrix by region and warehouse

The most useful thing you can do today is to derive the average cost per order by region and shipping warehouse from the last three months of shipping invoices and write it into a single table. For each region, look at the difference between the two warehouses; if the difference is large, a routing rule pays for itself immediately. The next step is to set the stock threshold and give warehouse selection to the team as a written rule.

Bookkeeping Is Now Completely Free

Manage your bookkeeping and e-Invoice operations with NetKasam without paying a thing. Customer and supplier accounts, inventory, collections and more in one panel, completely free.

Start FreeShipping Integration

Read similar articles

19 free tools

Commission, shipping, VAT and profit calculations in your browser, no sign-up needed.

All tools