Economic Order Quantity
calculator.
Find the cheapest order size, when to reorder, and if a price break pays.
Order 155 when stock falls to 31.7. It arrives 7 days later, about when the cycle stock runs out, with 8.7 units of safety stock left for a busy week. At this size ordering and holding each cost $387.30 a year.
Yearly cost by order size
Drag the handle to your order sizeOrdering cost falls and holding cost rises as orders get bigger. Their total is lowest at 154.92 units, where each is $387.30 a year. At your 400 units the total is $1,150.00, 48.5% above the lowest. Drag the handle or use the order size slider to try another size.
Ordering 400 at a time costs $375.40 a year more than 155, because the extra stock on the shelf costs more to hold than the orders it saves.
Supplier price break
A lower price on every unit once an order reaches a minimum size.
- Today: 155 at $25.00
- $30,775
- Offer: 400 at $24.00
- $29,910
- Break-even price at 400
- $24.70
Totals are a year of purchases, ordering and cycle holding, with holding at the same percentage of the lower price.
Cost of missing the EOQ
| Share of EOQ | |||
|---|---|---|---|
| 77 | 50% | $968.25 | 25% |
| 116 | 75% | $806.87 | 4.2% |
| 139 | 90% | $778.90 | 0.6% |
| 155 (EOQ) | 100% | $774.60 | lowest |
| 170 | 110% | $778.12 | 0.5% |
| 194 | 125% | $793.96 | 2.5% |
| 232 | 150% | $839.15 | 8.3% |
| 310 | 200% | $968.25 | 25% |
The curve is flat near the bottom: 25% too big adds 2.5%, so rounding to a full case or pallet is fine.
Stock on hand and order calendar
Day 0 is a delivery of 155. Stock falls by about 3.3 a day. It reaches the reorder point of 31.7 on day 40, and that order arrives on day 47. The safety stock line at 8.7 is the buffer you only touch when demand runs high.
Orders in one year
| Arrives on day | Units | ||
|---|---|---|---|
| 1 | 40 | 47 | 155 |
| 2 | 87 | 94 | 155 |
| 3 | 134 | 141 | 155 |
| 4 | 181 | 188 | 155 |
| 5 | 229 | 236 | 155 |
| 6 | 276 | 283 | 155 |
Day 0 is the day a delivery arrives. Real demand wobbles, so treat the days as a guide and reorder on the stock level.
Safety stock by service level
| z | |||
|---|---|---|---|
| 90% | 1.282 | 6.8 | 29.8 |
| 95% (yours) | 1.645 | 8.7 | 31.7 |
| 97.5% | 1.960 | 10.4 | 33.4 |
| 99% | 2.326 | 12.3 | 35.3 |
| 99.5% | 2.576 | 13.6 | 36.6 |
Each step toward 100% costs more stock than the last, because z climbs steeply near the top.
How it's worked out
Two costs pull in opposite directions. Each order has a fixed cost: the time to raise it, freight, receiving and checking. Big orders spread that cost thinly. But big orders also leave more stock on the shelf, and stock costs money to hold: the cash tied up, the space, insurance, damage and items going out of date. The best order size is where the two are balanced.
- D is how many units you use or sell in a year.
- S is the cost of placing and receiving one order, whatever its size.
- H is the cost of holding one unit for a year. Buyers often set it as a share of the unit cost, such as 20% of a $25 item = $5.
- Q is the order size. On average half an order sits on the shelf, which is why holding cost uses Q over 2.
Ford W. Harris published this formula in 1913. At the answer, the yearly ordering cost and the yearly holding cost are exactly equal, which is a quick check on any result.
The reorder point tells you when to order. It is the demand you expect during the lead time plus a safety stock for busy spells.
Here d is demand a day, L the lead time in days, σ the standard deviation of daily demand and z the value from the normal curve for your service level (1.645 for 95%). The tool assumes each day's demand is independent and the lead time is fixed.
Worked examples
Dana's bike shop helmets
Dana sells about 1,200 helmets a year. An order costs her $50 to place, ship and check in, and holding a $25 helmet for a year costs 20% of its price, or $5. The best order is 154.9, so 155 helmets, about 7.7 times a year, one order every 47.1 days.
She sells 3.3 a day and waits 7 days for a delivery. With a spread of 2 a day and a 95% service level, she needs 8.7 helmets of safety stock, so she reorders at 23 + 8.7 = 31.7. Open this example in the tool
Out of habit she orders 400 at a time. That costs $1,150.00 a year to order and hold, $375 more than the best size. But her supplier offers $24 a helmet on orders of 400 or more. Counting the helmets themselves, the offer comes to $29,910 a year against $30,775, a saving of $865. The 400 only pays because of the discount: it breaks even at $24.70 a helmet.
A distributor on a working-day year
A distributor ships 8,000 units a year of a $16 item over 250 working days. Orders cost $120 each and holding runs at 25% of value, so H is $4. The best order is 693 units, every 21.7 working days. With a 12-day lead time and a daily spread of 10 units, the reorder point is 384 + 57 = 441.
Their old habit of 2,000 units a time costs $4,480 a year against $2,771, which is $1,709 for nothing unless a discount comes with it. Open this example in the tool
A café's coffee beans
A café uses 520 bags of beans a year at $40 a bag, pays $15 shipping per order and counts $12 a bag a year for holding, since beans go stale. Expensive holding pushes the order down to 36 bags, about every 25 days. With a 3-day lead time and a 98% service level, the reorder point is 7.1 bags. Open this example in the tool
Reading your result
Do not chase the exact figure. The cost curve is flat near the bottom. Ordering 25% more than the best size adds only 2.5% to the yearly cost, and even half or double the best size adds 25% and 25%. So round to a full case, a pallet or the supplier's minimum.
The answer moves with the square root of its inputs. Doubling demand raises the best order by about 41%, not 100%. That is why a rough holding rate is good enough: a guess of 20% instead of 25% shifts the answer by about 12%.
The service level is the share of order cycles that end without running out. At 95%, about 1 cycle in 20 dips into a stockout. Going from 95% to 99% raises z from 1.645 to 2.326, so the safety stock grows by about 41%. Save the high levels for items where running out is costly, such as a part that stops a machine.
When your lead time is longer than the time between orders, an order is always in transit. Compare the reorder point with what is on the shelf plus what is on order, or you will order twice.
Common mistakes
- Counting the goods in the order cost. S is only the cost of the order itself. The price of the units belongs in the unit cost.
- Using storage rent alone as the holding cost. The cash tied up in stock is often the largest part. Add insurance, damage and the risk of items going out of date.
- Mixing time periods. Demand and holding cost must both be yearly. A monthly holding rate of 2% is 24% a year.
- Ignoring a price break. A discount on bigger orders can beat the best size by a wide margin, as Dana's helmets show. Check it in the price break card.
- Setting the service level to 99.9% for everything. Safety stock climbs steeply near 100%, and slow movers end up with months of spare stock.
Questions people ask
Sources
- Harris, F. W., How Many Parts to Make at Once, Factory, The Magazine of Management, 10(2), 1913 (reprinted in Operations Research 38(6), 1990)
- Silver, E. A., Pyke, D. F. and Thomas, D. J., Inventory and Production Management in Supply Chains, 4th ed., 2017, chapters 4 and 6 (EOQ and safety stock)
- NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.6.7.1, cumulative distribution function of the standard normal distribution
- Erlenkotter, D. (1990). Ford Whitman Harris and the Economic Order Quantity Model. Operations Research 38(6)