Free · No signup · Runs in your browser

Inventory math that shows its work.

Calculate safety stock, reorder point, EOQ and ABC classes. Then run a simulated year of random demand and late deliveries to see whether your numbers actually hold.

Z-score built inDemand + lead-time variabilityMonte Carlo checkShareable links
New · Inventory X-Ray Have a whole catalog? Drop in your ERP export and find the cash tied up in excess and dead stock, in about a minute. Nothing gets uploaded. Run the X-ray →
Sheet 01
Safety stock & reorder point calculator
Units / day

No σd? Take 8–12 weeks of daily sales and use =STDEV.S().

Safety stock
—
units
Reorder point
—
units
Z-score
—
service factor
Buffer cost
—
per year to hold

One simulated year at this reorder point

On handReorder pointSafety stockStockout day

What each extra point of service level costs

Safety stock needed

Sheet 02
Economic order quantity (EOQ) calculator
Annual
EOQ
—
units / order
Orders / yr
—
—
Total cost
—
order + hold / yr
Cost per unit
—
to hold / yr

Cost curve: why EOQ is the bottom of the bowl

TotalHoldingOrdering

Sheet 03
ABC analysis (Pareto) tool
Paste CSV

Paste straight from Excel. Two columns = SKU + annual value. Three columns = SKU, units, unit cost. Your data never leaves the browser.

A items
—
—
B items
—
—
C items
—
—
Total value
—
—

Pareto chart

ABCCumulative %
SKUAnnual valueShareCum %Class
Safety Stock Lab Pro

The full X-Ray action list, plus an Excel planner for your whole catalog.

The free tools show you the problem. Pro gives you the SKU-by-SKU list of fixes to work through, and a workbook to rerun the policy every month.

  • Inventory X-Ray: the full ranked action list for every SKU, not just the top 25
  • CSV export of every SKU's reorder point, max, order qty, status and action
  • Excel workbook: safety stock, ROP, EOQ and buffer $ for up to 1,000 SKUs
  • ABC-XYZ matrix with suggested service levels, plus a service-level trade-off table
  • Data guide: where to find each input in SAP, Oracle and NetSuite
$49 one-time

Lifetime updates. Use it at work, at as many sites as you like.

Get Pro →
Instant download + unlock code · .xlsx works in Excel 2016+ and Google Sheets

One inventory trick a month

Short, practical emails on safety stock, forecasting and putting AI into supply chain work. No spam.

How the formulas work

A plain explanation of each formula, so you can defend the numbers in an S&OP meeting.

Safety stock formula

Safety stock covers the gap between what you expect to sell during the lead time and what you might actually sell. When both demand and supplier lead time vary, the combined uncertainty is:

SS = Z × √(LT × σd² + d² × σLT²)

The first term is demand noise building up over the lead time. The second is the risk that the truck shows up late while you keep selling at the normal rate. If your supplier is perfectly on time, set σLT to 0 and it becomes the textbook Z × σd × √LT.

Reorder point formula

The reorder point is the inventory level that triggers a new order:

ROP = d × LT + SS

The first part is the stock you expect to use while waiting for delivery. Safety stock sits on top. Compare it to inventory position (on hand + on order − backorders), not on-hand alone. Otherwise you will double-order.

Choosing a service level (Z)

Z converts a target probability into standard deviations: 90% → 1.28, 95% → 1.65, 98% → 2.05, 99% → 2.33. This is cycle service level: the chance a replenishment cycle has no stockout at all. Fill rate (the share of demand served from the shelf) usually comes out much higher, which the simulation above shows.

The curve in Sheet 01 makes the trade-off concrete. Going from 95% to 99% often needs about 40% more safety stock.

EOQ formula

Economic order quantity balances two costs that move in opposite directions. Big orders mean fewer purchase orders but more stock on the shelf:

EOQ = √(2 × D × S / H)

D is annual demand, S is the full cost of one order, H is the annual cost to hold one unit (unit cost × holding %). The bowl is flat near the bottom, so ordering 20% above or below EOQ costs only about 2% more. Round up to case packs and MOQs without worrying.

ABC analysis

Rank SKUs by annual value (units × cost) and cut the cumulative curve: the first ~80% of value is A, the next 15% is B, the rest is C. A typical result is that about 20% of SKUs drive 80% of value.

Use it to choose effort: review A items weekly with tighter service targets, and automate C items with simple rules.

Why the simulation matters

The formula assumes normal demand, independent lead times and continuous review. Real life is lumpier. Sheet 01 runs your policy through hundreds of simulated replenishment cycles with random demand and random lead times, then reports what actually happened.

If the simulated service level falls well short of target, your order quantity is probably too small relative to lead-time demand, or the variability inputs are understated.

Want this running on your live ERP data, with AI flagging what to reorder? Safety Stock Lab is built by Sankalp Mehra, who works on AI implementation for supply chain and manufacturing.

Work with me →