Reorder Point and EOQ Calculator
Operator: Abdulla Al Fahad. How tools are built and checked
For a SKU that sells 12,000 units a year with a 50 cost per order, the question is how much to order each time and when to order. The first is the economic order quantity, the batch size that balances the cost of placing orders against the cost of holding stock. The second is the reorder point, the stock level at which the next order should be placed, high enough to cover demand during the supplier's lead time and a buffer for the days when demand or delivery is worse than average. This calculator computes both for one SKU or a whole CSV, and shows each formula so the numbers can be challenged.
It is a planning aid built on textbook models, not a forecasting engine. It assumes demand is roughly steady, that the lead time is known and that cost per order and holding cost are fixed. Seasonal items, promotions, volume discounts, minimum order quantities and supplier pack sizes are outside what it models. For stable, repeat-purchase stock, the standard model gives a defensible starting point, and the workbook makes it easy to adjust from there.
Key features
- EOQ, safety stock, reorder point, orders per year, days between orders and total annual cost per SKU
- A quick one-SKU calculator that shows the working
- Annual demand, daily average, or a dated demand history as the demand source
- Safety stock from demand variability, lead-time variability or both, chosen by you
- Service level converted to z with an exact normal quantile, not a short table
- Holding cost as a percentage of unit cost or an amount per unit
- ABC classification by annual purchase value (80, 15, 5 percent)
- XLSX with live formulas for z, safety stock, reorder point, EOQ and costs, a Settings sheet and a static Values sheet
The inventory formulas, and which inputs change which output
There are two ways in. The quick calculator takes one SKU: annual demand, daily demand standard deviation and the shared settings. The file mode takes a table with one row per SKU and a SKU column. Demand can come from three places: an annual demand column, average daily demand (and optionally its standard deviation) columns, or a demand history, which is a long table with a SKU and a quantity per row and, optionally, a date column.
A history with dates is treated as calendar days from each SKU's first sale to the latest date in the file, and days with no row count as zero demand. That matters: a SKU that sells 10 units on two days in a week has an average of 2.9 a day and a standard deviation near 4.9, not an average of 10. Quantities for the same day add together, negative quantities and unreadable dates are skipped and counted, and histories over ten years are refused. Without a date column each row is one period.
Lead time (days), lead-time standard deviation, cost per order, unit cost, holding cost and service level can each be a column or a default entered once. A column value wins over the default for that SKU. Holding cost is either a percentage of unit cost per year (20 percent of 25 is 5 per unit per year) or an amount per unit per year. Service level accepts 95, 95% or 0.95. Days per year defaults to 365 and can be set to the number of operating days. Rows with a blank SKU, missing demand or an invalid value are skipped, and the first reasons are listed with the SKU and its first row.
The results table and the CSV show annual demand, daily demand and its SD, lead time, service level, z, safety stock, reorder point, EOQ, orders per year, days between orders, the ordering, holding and purchase costs, the total annual cost, the holding cost of the safety stock and an ABC class. The XLSX has the same columns with live formulas.
How it works
The economic order quantity is EOQ equals the square root of (2 times annual demand D times cost per order S over holding cost per unit per year H). Total annual cost is D times unit cost, plus the ordering cost (D over Q) times S, plus the holding cost (Q over 2) times H. At the EOQ the ordering and holding costs are equal, which is a handy check. Take D of 12,000, S of 50, a unit cost of 25 and 20 percent holding, so H is 5: EOQ is the square root of 240,000, which is 489.9 units, about 24.5 orders a year, one every 14.9 days, with 1,224.74 of ordering cost and 1,224.74 of holding cost.
Safety stock covers the variation in demand and lead time during replenishment. With both sources it is z times the square root of (lead time times the daily demand variance, plus the squared average daily demand times the lead time variance), where z is the normal quantile of the service level, 1.645 for 95 percent. With demand variation only it is z times the daily SD times the square root of the lead time; with lead-time variation only, z times average daily demand times the lead time SD. For a daily demand of 40 with an SD of 8, a lead time of 9 days and a 95 percent service level, the first form gives 1.645 times 8 times 3, or 39.5 units. Add a lead time SD of 2 days and the combined formula rises to 137.4.
The reorder point is the average daily demand times the lead time, plus the safety stock. For the example above that is 40 times 9, or 360, plus 39.5, which is 399.5 units. The tool reports the holding cost of the safety stock separately; the headline total cost follows the textbook formula and counts only the cycle stock.
ABC classing sorts SKUs by annual purchase value (annual demand times unit cost). A is every SKU up to the point where the running total reaches 80 percent of total value, B the next 15 percent and C the rest. It is a quick way to decide where counting, review and tight service levels are worth the effort.
When to use it
- Setting reorder points for a few hundred SKUs in a small warehouse that runs on spreadsheets
- Deciding whether a cheap, fast-moving item should be ordered in larger batches than the purchaser's habit
- Seeing how much extra safety stock a slower, less reliable supplier requires at the same service level
- Prioritising review effort by ABC class so the A items get the attention
- Producing an XLSX that a purchasing manager can adjust (change the service level, the lead time) and see the order points recalculate
Inputs
- Set the shared defaults at the top: lead time, order cost, unit cost, holding cost, service level and the safety stock method.
- Try one SKU in the quick calculator to check that the numbers match your intuition.
- Upload the SKU file (or load the example), then confirm the SKU column and where demand comes from.
- Map any per-SKU columns for lead time, costs and service level, and leave the rest on the defaults.
- Read the results, check the skipped rows message, and download the CSV or the XLSX with formulas.
Worked example
Six SKUs in the example file, with annual demand, lead time, order cost, unit cost, holding percent and service level; three of the six are shown here
sku,annual_demand,lead_time_days,lead_time_sd,order_cost,unit_cost,holding_pct,service_level
MOTOR-5KW,600,35,7,120,310,18,95
CABLE-3M,9000,10,2,40,4.2,22,90
BOLT-M8,48000,14,3,35,0.12,25,95Results (daily demand SD not given, so safety stock reflects lead-time variability)
MOTOR-5KW EOQ 50.8, safety stock 18.9, reorder point 76.5, 11.8 orders/yr, total 188,835 class A
CABLE-3M EOQ 882.7, safety stock 63.2, reorder point 309.8, 10.2 orders/yr, total 38,616 class A
BOLT-M8 EOQ 10,583, safety stock 648.9, reorder point 2,490, 4.5 orders/yr, total 6,077 class C
Check: D 12,000, S 50, H 5 gives EOQ 489.9 with equal ordering and holding costs of 1,224.74Tips for best results
- Estimate daily demand variability from real history whenever you can. With only an annual figure there is no demand variation to buffer, and the safety stock comes from lead-time variability alone, which is often too low.
- Remember that safety stock grows with the square root of lead time but linearly with the lead-time SD. A supplier whose delivery varies by a week costs more buffer than one that is simply far away.
- Treat the service level as a cycle service level, the chance of not running out in one replenishment cycle, not the share of units filled. Moving from 95 to 99 percent raises z from 1.645 to 2.326, a 41 percent increase in safety stock.
- Check units. Demand per day, lead time in days and holding cost per year must all agree. A lead time in weeks entered as days is the commonest error.
- Order in practical multiples. EOQ is a guide, and because total cost is flat near the optimum, rounding the 489.9 to 500 or to a full carton costs almost nothing.
Limits
EOQ assumes constant demand and a fixed cost per order. Quantity discounts, seasonal spikes or shipping tiers make the true optimum different.
The percentage holding cost is a modelling choice. It should include capital cost, storage, insurance and shrinkage, and different SKUs can legitimately differ; a single 20 percent applied to everything is a rough default.
Safety stock assumes demand and lead time are independent and roughly normal. Lumpy, intermittent demand (a few large orders) breaks that, and the formula can understate the buffer.
A demand history that contains stockouts understates demand, because the sales you lost are not in it. The calculation will faithfully buffer the observed sales, not the real need.
Common errors and how to fix them
- "No SKU had complete, valid inputs"
- Check the column choices and the defaults at the top. A missing unit cost, order cost or holding cost on every row, with no default set, leaves nothing to calculate.
- "The demand history covers fewer than 2 days"
- Variability needs at least two days. Load a longer history, or switch to an annual or daily demand column.
Best practices
- Review the A items monthly and the C items twice a year, and refresh demand history before each review.
- Keep lead times current. They are the input that changes most without anyone updating the spreadsheet.
Why the demand history is measured in calendar days
If a history lists only the days on which a SKU sold, averaging those rows overstates demand and understates variability. A SKU that sold 10 units on 1 January and 20 units on the 4th has four calendar days in that window, with demand of 10, 0, 0 and 20: an average of 7.5 per day and a sample standard deviation of 9.57. Averaging only the two days that have a row, 10 and 20, gives 15 a day and a standard deviation of 7.07, a different and misleading picture.
That is why a date column is worth including. The window starts at each SKU's own first sale and ends at the latest date anywhere in the file, so a slow mover is not flattered by being measured only on its selling days, and a product launched in November is not diluted by ten months of days before it existed.
Frequently asked questions
Which safety stock method should I choose?
Use demand and lead-time variability together when you have both, which is the default. Choose demand only if lead time is reliable, and lead time only when you have no daily demand data. Using only one source when both vary understates the buffer.
What service level should I use?
95 percent is a common default for ordinary items. Critical parts often use 98 or 99 percent, low-value fast movers sometimes 90. Every point costs more safety stock than the last, so set it by item importance, not one level for all.
Why is the total cost so large?
Total annual cost includes the purchase cost of all the units you buy, which usually dwarfs the ordering and holding costs. The part the EOQ influences is the sum of ordering and holding cost, which is shown separately.
Does the XLSX recalculate?
Yes. Safety stock, reorder point, EOQ and the cost columns are formulas that read the input cells and the Settings sheet, and the Values sheet keeps a static copy of the numbers for comparison.