Inventory Calculation Formulas & Stock Buckets
Merchants frequently ask: "I have 10 units in my warehouse, but Shopify is only showing 6 available. Why?"
PointNXT isolates physical goods from sellable promises using a multi-bucket stock architecture.
1. The 4 Inventory Buckets
Bucket Definitions:
-
On-Hand Stock (Physical Inventory):
- The actual physical count of units inside warehouse bins.
- Increased only when goods are inwarded via GRN or returned & restocked via QC.
- Decreased only when goods are manifested and leave the dock with a courier.
-
Reserved Stock (Committed Inventory):
- Units assigned to live customer orders that have not yet physically departed.
- Incremented as soon as an order is placed (
PENDINGorCONFIRMEDdepending onblockOversell). - Decremented when the order is manifested or when the order is cancelled.
-
Buffer / Safety Stock:
- A merchant-configured cushion (e.g., set to 2 units) to absorb sudden sync lag or warehouse inventory shrinkage.
-
Available to Sell (ATS / Published Stock):
- The number pushed to Shopify, Amazon, Flipkart, etc.
2. Multi-Facility Stock Aggregation Block Diagram
The following block diagram shows how physical stock across regional warehouses aggregates into sellable channel quantities:
3. Walkthrough Example: A Day in the Life of a SKU
Let us trace a SKU (SHIRT-BLUE-M) through a series of daily operations:
| Event / Action | Physical On-Hand | Reserved Stock | Safety Buffer | Available to Sell (Pushed to Channels) | Notes |
|---|---|---|---|---|---|
| 1. Morning Baseline | 20 | 0 | 2 | 18 | Channels show 18 units in stock. |
| 2. Customer buys 3 on Shopify | 20 | 3 | 2 | 15 | PointNXT reserves 3. Pushes 15 to Amazon. |
| 3. Customer buys 5 on Amazon | 20 | 8 (3+5) | 2 | 10 | PointNXT reserves 5. Pushes 10 to Shopify. |
| 4. Warehouse packs & ships Shopify order | 17 (20-3) | 5 (8-3) | 2 | 10 | Physical stock drops by 3; reserved drops by 3. ATS stays 10! |
| 5. Amazon customer cancels before packing | 17 | 0 (5-5) | 2 | 15 | Reserved drops by 5. ATS increases to 15! |
| 6. Supplier delivers 10 new units (GRN) | 27 (17+10) | 0 | 2 | 25 | Inwarded to Bin B-02. ATS updates to 25. |
4. QA Testing & Verification Rules
[!IMPORTANT] When validating stock numbers in tests or customer investigations:
- Always look at Available to Sell (ATS), not raw On-Hand.
- An order that has been packed but NOT yet manifested will keep On-Hand unchanged and Reserved unchanged.
- Once manifested, both On-Hand and Reserved decrement simultaneously by the exact quantity dispatched.