Manufacturing · Supply Chain · Automotive

How do you calculate safety stock levels when supplier lead times keep changing?

The Tuesday the Line Almost Stopped Over a Wiring Harness

Marta got the call at 5:40 in the morning, before her coffee had even finished dripping. The night shift lead on line 2 told her they had eleven hours of wiring harnesses left, maybe twelve if nobody scrapped one. The truck from the supplier in the north was supposed to arrive Sunday. It was now showing up Wednesday, because of a border delay nobody had flagged.

This wasn't the first time. Marta pulled up the inventory report and saw the safety stock number sitting right where it should be — 3 days of cover, set eight months ago by a planner who'd since moved to a different plant. Three days had worked fine when the truck came reliably every five days. It did not work when the truck sometimes came in four days and sometimes in nine.

That's the part that took Marta the longest to really accept: the safety stock number wasn't wrong when it was written. It was wrong because the world underneath it had changed, and nobody had gone back to check.

Why a Single Number Can't Hold a Moving Target

Most plants set safety stock once, using an average lead time, and then leave it alone until something breaks. The formula behind it usually looks something like this: safety stock equals a service factor, multiplied by the demand variation, multiplied by the square root of the average lead time. It's a solid formula. The problem isn't the math. The problem is what people feed into it.

If your supplier's lead time is steady — say, always five days, plus or minus half a day — a formula built on the average lead time works fine, because the average is basically the truth. But once a lead time starts swinging between four days and nine, the average stops meaning much. Saying "the average lead time is six and a half days" is a bit like saying the average depth of a river is two feet, right before someone drowns in the four-foot section.

What you actually need to plan around isn't just how long the wait usually is. It's how much that wait moves around. A supplier who is late by half a day every time is, in a strange way, easier to plan for than one who is right on time nine times out of ten and then eleven days late the tenth time. The first one is predictable. The second one is the one that shuts down your line.

This is why plants that "did everything right" — used the standard formula, updated it once a year, trained the planners properly — still get caught. They plugged in an average and treated it like a fact, when the real story was in the spread.

Building a Number That Accounts for Both Kinds of Uncertainty

The fix isn't a new formula. It's a fuller one — one that accounts for two separate sources of unpredictability instead of just one.

There's demand variation: some days you use 40 harnesses, some days 65. And there's lead time variation: some deliveries take four days, some take eleven. A safety stock formula that only accounts for the first one is only half-covering you. The extended version looks roughly like this, in plain terms:

Safety stock = Z × square root of [ (average lead time × demand variation squared) + (average demand squared × lead time variation squared) ]

The "Z" is your service factor — basically, how much protection you want against running out. A higher Z means more inventory sitting around but fewer stockouts; a lower Z means leaner shelves but more risk. Most plants land somewhere that covers around 90 to 98 percent of situations, depending on how expensive a stockout actually is for that specific part.

Here's the piece people skip: that lead time variation number has to come from real delivery history, not from a contract or a nameplate promise. If a supplier's contract says "5 days," but your receiving dock logs show deliveries actually landing anywhere from 3 to 11 days over the last six months, you use the 3-to-11 data. Not the contract. The contract is what the supplier hopes will happen. Your dock log is what actually happens.

At Marta's plant, once they pulled twelve months of real receiving timestamps instead of the number on the purchase order, the picture changed completely. The wiring harness supplier wasn't averaging 5 days — it was averaging 5.8, with swings as wide as plus 6 days during certain weeks tied to customs schedules they hadn't been tracking. Once that variation went into the formula, the safety stock for that one part roughly doubled. Painful to look at on a spreadsheet. A lot less painful than a stopped line.

Segmenting Parts Instead of Treating Them All the Same

Doubling safety stock across the board isn't the answer either — that just trades one problem for a cash and warehouse space problem. This is where a lot of plants get stuck, because the honest fix means treating parts differently based on their actual risk, not their part number order.

A simple way to sort this out is to rank parts on two things: how badly a stockout would hurt, and how unreliable the supply actually is. A $2 fastener from a supplier three miles away that delivers like clockwork doesn't need much of a buffer, even if running out would be annoying. A custom sensor from overseas, sole-sourced, with an eight-to-twenty-day lead time swing — that part deserves real safety stock, maybe even a backup source, because the cost of being wrong is a stopped line, not a shrug.

Plants that do this well usually end up with three or four tiers instead of one blanket rule. High-risk, high-impact parts get generous buffers and get reviewed monthly. Low-risk, low-impact parts get thin buffers and get reviewed twice a year. It sounds like more work up front, but it's actually less work overall, because you stop babysitting the parts that never cause trouble and start watching the ones that do.

What Changes Once the Number Actually Reflects Reality

The real shift isn't just fewer emergency calls at 5:40 in the morning, though that matters. It's that planning stops being a guessing game dressed up as a spreadsheet.

Marta's team started pulling lead time data straight from receiving timestamps every month instead of relying on supplier promises. They flagged any part where the lead time spread had widened by a noticeable margin, and recalculated safety stock for just those parts rather than redoing the whole system every time. Within a couple of shifts of putting the new numbers in for the highest-risk parts, the near-miss calls dropped off. Not because the suppliers got faster — some of them didn't — but because the plant stopped pretending they were more consistent than they actually were.

There's a kind of relief in that. You're not trying to force suppliers to behave perfectly. You're just finally planning around how they actually behave, instead of how the contract says they should. That's a small shift on paper. On the floor, at 5:40 in the morning, it's the difference between a phone call that's routine and one that ruins the whole day.

AI Solutions

See how this applies to your operation

VertexQuantumAI builds production-grade AI systems for manufacturing, supply chain, and automotive teams - talk to us about the problem above.

Talk to us Read more articles

Comments

  • Loading comments...