Safety stock (also safety inventory) is the buffer held above cycle stock to absorb demand or replenishment lead-time variability — including freight — and protect service level against stockouts.

If your answer to every delay is “raise the minimum,” you are funding transport uncertainty with sleeping capital. This guide locks definition, a lead-time-aware formula, a peso example, and the link to on-time delivery (OTD) for Mexico–U.S. shippers · not an ecommerce fulfillment tutorial.

above cycle stock
Buffer
freight lead time counts
σLT
protects the promise · not the spreadsheet
OTD
MX–US shipper · not ecommerce-only
CEDIS

Cluster: inventory · stock · OTD · distribution costs · logistics chain.

What safety stock / safety inventory is

In a distribution center (CEDIS), safety stock is the extra quantity planning leaves “just in case” — but with a written policy: which SKU it applies to, with which data, which service level it protects, and who reviews it. Without that, it is not safety stock: it is unaudited “just in case” inventory.

In Mexico both names show up in search and on the floor: inventario de seguridad (more planning/accounting) and stock de seguridad (more dock/WMS). Same cushion. Existences context: what stock is · asset frame: what inventory is.

Safety vs cycle stock

Mixing them into one “minimum” is the expensive mistake: you cannot tell whether you are covering the normal cycle or paying for freight uncertainty.

Cycle stock

What it covers: Expected demand between replenishments

Warning signal: Depletes “on schedule” and returns with the order

Typical owner: Planning / purchasing

Safety stock

What it covers: The unexpected (demand or lead time)

Warning signal: Only touched on spikes or delays

Typical owner: Planning + traffic (LT data)

Overstock / obsolete

What it covers: Nothing useful: capital or expiry

Warning signal: Does not turn · no review date

Typical owner: Finance + operations

If every pallet is labeled “safety,” you are hiding cycle stock and junk in the same bag.

Buffer · two layers

Cycle vs safety

If you merge them into one minimum, you do not know which uncertainty you are paying for.

Cycle

Cycle stock

Expected demand

Between replenishments · depletes “on time” and returns with the order.

Safety

Safety stock

The unexpected

Demand or freight lead time · only touched in peaks or delays.

Alert

Without a review date, “just in case” is idle capital dressed as prudence.

How to calculate (with lead time)

Many ecommerce guides assume stable lead time. On Mexico–U.S. lanes, freight lead time (appointments, crossing, delays) is often as noisy as demand. Use a heuristic that includes both sources · and calibrate with your operation.

SS ≈ Z × √(LT × σd² + D² × σLT²)
Z
Service-level factor (e.g. ~1.65 ≈ 95% cycle service).
LT
Average door-to-door lead time (days), including freight.
σd
Std. deviation of daily demand (units).
D
Average daily demand (units).
σLT
Std. deviation of lead time (days).
Planning heuristic · not a statistical ruling. If σLT ≈ 0, it reduces to Z × σd × √LT.

Compare with the thin form common in ecommerce tutorials:

Thin / ecommerce formula

Formula: SS ≈ Z × σd × √LT

Assumption: Nearly fixed lead time (σLT ≈ 0)

Risk on MX–US: Understates buffer when appointments/border move days

Formula with σLT (MX–US corridor)

Formula: SS ≈ Z × √(LT × σd² + D² × σLT²)

Assumption: Demand and lead time both vary

Risk on MX–US: σLT × D² often dominates · measure real freight

A typical reorder point (ROP) adds expected demand during lead time plus the buffer: ROP ≈ D × LT + SS. Without SKU/ABC policy, one ROP for the whole catalog lies.

Worked Mexico–U.S. example

Finished-goods SKU A at a Nuevo León CEDIS · average demand 40 cases/day · demand std. dev. 10 · door-to-door lead time 4 days (supplier + freight) · lead-time std. dev. 1.2 days (appointments + crossing swing) · Z = 1.65 · unit cost $220 MXN. Illustrative numbers · calibrate with your history.

Demand during LT

Calculation: 40 × 4

Result: 160 cases

Thin / ecommerce SS

Calculation: 1.65 × 10 × √4 = 1.65 × 20

Result: ~33 cases · ~$7,260 MXN

Combined variance

Calculation: 4 × 10² + 40² × 1.2² = 400 + 2,304

Result: 2,704

SS with σLT

Calculation: 1.65 × √2,704 = 1.65 × 52

Result: ~86 cases · ~$18,920 MXN

Gap

Calculation: 86 − 33

Result: ~53 cases · ~$11,660 MXN of capital the thin formula misses

Same service target · different buffer when freight is not a clock. Tie σLT to trip evidence, not catalog days.

If lead-time swing falls from 1.2 to 0.6 days (better appointments, fewer no-shows, timely POD), the D² × σLT² term halves and required buffer drops without blindly squeezing service.

What inflates the buffer on the corridor

In nearshoring, lead time is not only “factory days”: it includes dock, CEDIS appointment, crossing, transload, and delays. Raising pallets without attacking these causes is the most expensive way to buy calm.

Demand variability

How it inflates SS: Raises σd · more buffer on A SKUs

Fix before buying more: Forecast + ABC · not one % for everything

Appointments / dock

How it inflates SS: Raises σLT (day swings)

Fix before buying more: Written window · less WhatsApp as the clock

Border / crossing

How it inflates SS: Unpredictable door-to-door lead time

Fix before buying more: Measure GPS/POD · not catalog lead time

No-show / spot freight

How it inflates SS: Delays and emergencies

Fix before buying more: Assignment and evidence in the trip file

Late POD

How it inflates SS: Planning thinks it “has not arrived”

Fix before buying more: POD bound to the trip ID

Related: OTD · logistics chain · warehouse functions.

OTD vs sleeping capital

Well-calibrated safety stock protects the OTD promise and completeness (fill rate / OTIF). Excess does not “improve service”: it occupies locations, freezes cash, and feeds distribution cost.

Woman in a CEDIS safety vest scanning merchandise on racking with a forklift in the background
The buffer lives on the rack: without a policy and measured lead time, every extra pallet is capital without an owner.

Low SS + noisy freight LT

What happens to service: Stockouts · broken OTD/OTIF · rush jobs

What happens to the P&L: Expensive spot freight · lost sales

High SS without attacking σLT

What happens to service: Fewer “inventory” stockouts

What happens to the P&L: Sleeping capital · occupancy · obsolescence

Calibrated SS + measurable LT

What happens to service: Defendable service by SKU

What happens to the P&L: Fewer rushes · fewer eternal minimums

How to calibrate the buffer

Practical order: measure real lead time first, then design the cushion. The other way around is buying uncertainty.

Policy cadence

Lead time, buffer, and review

  1. Measure lead time

    Real door to door

  2. Classify SKUs

    ABC + criticality

  3. Set service

    Fill rate / OTIF

  4. Compute buffer

    Formula or days

  5. Review cadence

    Owner and date

Operable policy checklist

Use it in S&OP or planning before raising another “because of the border” minimum.

Elige un paso para ver el detalle

Detalle del paso · 01

Separate cycle from safety in the WMS or policy

One minimum lies
Auditable safety-stock policy.

OCL and freight lead time

OCL Cargo is an autonomous transportation management system (TMS) with computer-use agents: it does not compete with your WMS for rack balances. It does not compute your EOQ or safety stock. It makes the transport leg measurable — tracking, proof of delivery (POD), appointments, and exceptions — so planning stops buying uncertainty blind.

Who owns exceptions? Your team. When applicable, OCL can stamp invoices and Carta Porte. Typical pilot 6–8 weeks; recovery pattern 5–7% when auditing 100% of the pilot flow · price signal from ~$50 MXN per shipment depending on scope.

Key takeaways5 points
  1. Safety stock / safety inventory = buffer above cycle stock for demand and lead-time uncertainty (including freight).
  2. Thin / ecommerce formulas (Z × σd × √LT) assume stable lead time · on MX–US lanes σLT is often missing.
  3. Usable heuristic: SS ≈ Z × √(LT × σd² + D² × σLT²) · calibrate with your operation.
  4. The buffer protects OTD / fill rate · excess burns cash and distribution cost.
  5. OCL does not compute EOQ or replace your WMS: it makes trip lead time measurable. Who owns exceptions? Your team.

Is your buffer funding freight uncertainty?

Book a diagnostic: we measure real lead time with trip evidence before you keep raising minimums · without asking for a day-one WMS swap.

Related reading

Frequently asked questions