ClearStock is live on the Shopify App Store.Install free →

← All blogs

Guides9 min read

Just in time inventory for Shopify stores: where it works and where it fails

Just in time inventory explained for Shopify stores: where JIT genuinely works, where 45-day lead times break it, and the hybrid method that holds up.

InventoryX is in development and not available today. ClearStock is the live Shopify app.

Just in time inventory means receiving goods close to the moment you need them, in the quantity you need, instead of holding buffer stock against uncertainty. The mechanics are simple; the prerequisite is not. JIT works when replenishment is fast and reliable — a local supplier with a five-day lead time that never slips. It fails hard when lead time is long, variable, or single-threaded, which describes most Shopify merchants' overseas supply lines. Here's the concept, where it genuinely fits a small store, a worked example of what a five-day delay does to a JIT order cycle versus a buffered one, and the hybrid that most merchants should actually run.

Where the idea comes from

JIT was systematized by Toyota as one of the two pillars of the Toyota Production System — make only what is needed, when it is needed, in the amount needed, in continuous flow (Toyota Motor Corporation, Toyota Production System overview, accessed October 2026). The context that made it possible matters: Toyota's suppliers sit close by, deliver daily, and share deep, long-term coordination with the factory. JIT is not a stocking policy you can bolt on; it's the visible tip of a supplier-integration system.

That's the part most small-ecommerce takes on JIT skip. Toyota's version works because the inputs to JIT are all present: short physical distance, high replenishment frequency, decades of trust, and shared forecasts. A Shopify store with a 45-day ocean freight lane and one factory contact has almost none of those inputs, no matter what its spreadsheet says.

Where JIT genuinely works for a Shopify store

Run lean when all three of these hold:

  • Short, reliable lead times. A local printer with a 5-day lead time and tight delivery variance. Reliability matters more than raw speed — a 9-day supplier with ±1 day variation is better JIT material than a 5-day supplier with ±7.
  • Steady, predictable demand. Products with flat, boring sales curves. A consumable that sells 4.1/day with low variance is a JIT candidate; a trend item that did 4/day until a TikTok video isn't.
  • Low cost of being out of stock. If a product being out of stock for a few days costs you little — no ad traffic pointed at it, easy substitute purchase — the downside of lean is small and JIT's cash savings dominate.

In practice that's a narrow slice of a real catalog: locally sourced or printed goods, some consumables and accessories, maybe packaging supplies. The right mental model is that JIT is a per-supplier, per-SKU decision, not a store-wide philosophy. The replenishment methods you run should differ by lane.

Where it fails: the 45-day lane, worked

The failure mode is arithmetic, not philosophy. Take a real-world lane: an overseas factory with a quoted 45-day lead time, a product selling 6.0 units/day, and a demand spike — a promo, a holiday, a viral week — that pushes velocity to 9.0/day for two weeks, plus a routine 5-day shipping delay on the inbound order.

The JIT order cycle (order only what you need, just before you need it):

You order a 30-day quantity: 6.0 × 30 = 180 units, timed to land as current stock hits zero. During the 45-day wait you sell 6.0 × 45 = 270 units — the cycle is already 90 units under water on an average lead time, which is why pure JIT on a long lane requires ordering far ahead anyway (at which point it isn't just-in-time; it's just late). But take the cycle at face value and add the two shocks:

  • 5-day delay: 5 × 6.0 = 30 more units of demand with no stock. Out of stock 5 days.
  • Demand spike (9.0/day for 14 of those 45 days): extra demand = (9.0 − 6.0) × 14 = 42 units, most of it landing while you're already dark. Out of stock another ~7 days.

Result: roughly 12 dark days, ~72 units of demand you couldn't serve, on a product doing 6/day — and if those were ad-driven sales, you paid for traffic that hit a sold-out page. There is no JIT discipline tight enough to fix this; the lane itself violates JIT's preconditions.

The buffered cycle on the same lane:

Same product, planned against a measured p80 lead time of 52 days (the 45-day quote, corrected with your own PO history — measure it, don't trust it), with safety stock sized to cover the variance:

  • Reorder point: 6.0 × 52 = 312 units of cycle coverage, plus a buffer sized on lead-time and demand variability — say ~55 units.
  • The 5-day delay: covered. The buffer exists precisely to absorb it; you stay in stock.
  • The demand spike: extra 42 units of demand eats most of the buffer but doesn't breach it. You reorder in a normal rhythm and ride it out.

Result: 0 dark days on the bad cycle, at the cost of carrying 55 extra units — at a $12 unit cost, $660 of extra inventory value, turning over with the cycle. Compare that to the JIT outcome: 72 lost sales at a $29.99 retail price is **$2,159 of missed revenue** (before counting the customer who bought elsewhere and stayed there — the classic out-of-stock behavior the 2002 Grocery Manufacturers of America study documented: 31% of shoppers bought elsewhere and only 9% bought nothing; accessed October 2026). The buffer isn't a cost of inefficiency; it's the cheapest insurance on the shelf.

The pros and cons, stated plainly

JIT pros: minimum cash tied up in inventory; less dead stock and markdown risk; smaller storage footprint; forcing function to fix demand data and supplier reliability — you can't run lean on mushy numbers.

JIT cons: zero margin for error on lead time or demand; every supplier slip becomes a dark day; freight disruptions, customs, and peak-season queues — all outside your control — hit you at full force; stockout cost lands exactly on the products important enough to matter.

The honest framing: JIT's pros are cash and waste; its cons are risk and fragility. Which side wins is decided almost entirely by your lead times and demand stability, not by your preference for tidiness.

The realistic hybrid: lean where it's safe, buffered where it isn't

Most merchants should run a two-tier system, and it maps cleanly onto supplier lanes:

Lane Method Why
Local supplier, ≤2 weeks, low variance Lean / JIT-style ordering Replenishment is fast enough that waiting is cheap
Overseas factory, 4+ weeks, variable Buffered: reorder point + safety stock The lane itself forces you to carry time; buffer the variability
Bestselling SKUs, any lane Buffered, always Stockout cost on a hero product dwarfs the carrying cost
Slow tail SKUs Lean (or drop them) Carrying cost exceeds the risk it insures against

The decision rule for any SKU: compare the cost of carrying the buffer against the cost of the dark days it prevents — carrying cost of ~$660 against ~$2,159 of missed revenue in the example above is not a close call. When the arithmetic flips the other way (slow movers, cheap stockout cost), run lean and pocket the savings. That per-SKU calculation is the entire discipline; sizing the buffer itself is the safety stock math.

One operational note: the hybrid only works if your reorder triggers respect each lane's reality. If you order the overseas lane "when it feels low," you're running JIT on a lane where JIT's preconditions don't exist — the most common and most expensive configuration in small-ecommerce inventory. Decide the method per SKU once, write it down, and let the quantity math do the week-to-week work.

Common questions

What is just in time inventory? Receiving goods close to when you'll sell them, in quantities matched to near-term demand, rather than holding buffer stock. It originated in Toyota's production system, which depends on nearby, deeply integrated suppliers delivering in continuous flow. For a Shopify store it's a per-SKU stocking method that only works where replenishment is fast and reliable — not a store-wide philosophy.

What are the pros and cons of JIT inventory? Pros: minimal cash in inventory, little dead stock, smaller storage needs, and forced discipline in your demand data. Cons: no margin for supplier delays or demand spikes, outsized exposure to freight and customs disruption, and dark days that land on your most important products. The pros are cash efficiency; the cons are fragility — which one dominates depends on your lead times.

Does just in time work for small ecommerce businesses? Only on lanes with short, dependable lead times and steady demand — typically local suppliers, printed-on-demand goods, and consumables. On a 45-day overseas lane, pure JIT is arithmetically impossible: during a single replenishment cycle you'd sell more than a 30-day order covers before it lands. The realistic answer is a hybrid: lean on fast lanes, buffers on long ones.

How much safety stock do I need if I'm not running JIT? Size it to your lead-time and demand variability, not to a fixed "weeks of cover" habit. The inputs are your measured lead-time spread (average vs. p80 from your own PO history) and demand variance during that window. For a 6/day product with a 52-day p80 lane, that's on the order of 50–60 units — roughly $660 of insurance against a couple thousand in missed sales.

Is JIT cheaper than holding inventory? Sometimes, and only if stockouts never happen. JIT's savings are carrying cost; its cost is lost sales whenever reality deviates from plan. In the worked example, the buffer cost ~$660 per cycle while the JIT failure cost ~$2,159 in missed revenue on one bad cycle. When the product matters, the buffer is usually the cheaper option; on the slow tail, lean wins.

Next step

Sort your suppliers into the two lanes in the table above — fast and reliable versus long and variable. For the long lane, pull your last six POs and compute your real lead-time spread before your next order; then size the buffer with the safety stock formula instead of a vibes-based "two extra weeks." That single correction turns most of a store's worst dark days into non-events.