βš–οΈ Economic Order Quantity

Order small and often, and you drown in ordering costs. Order huge and rarely, and you pay to warehouse a mountain. EOQ is the order size where those two costs balance. Enter your own order quantity πŸ“ and watch both the cost curves and the inventory rhythm react.

Parameters

Fixed cost of placing one order (admin, freight…)
% of unit value per year β€” set to 0 to see why "free" storage means one giant order
Units bought each time you place an order (the batch size) β€” change it to compare your πŸ“ against the optimum β˜…

Cost curves

EOQ = βˆš( 2 Γ— D Γ— S Γ· H ) D = annual demand Β· S = cost per order Β·  H = holding (carrying) cost per unit per year = unit cost Γ— holding rate
Ordering cost Holding (carrying) cost Total cost πŸ“ Your choice β˜… EOQ optimum
EOQ (optimum)
–
Your total cost / yr
–
Optimal cost / yr
–
Overspend
–
Orders / yr
–

Inventory rhythm at your order size

"Order quantity" (Q) is the batch size: the number of units you buy each time you place a replenishment order. With annual demand of 12,000 and Q = 1,000, you order 12 times a year; stock jumps to 1,000 on delivery, drains to zero, and averages Q/2 β€” which is exactly the sawtooth below. Small Q = many orders, little stock. Big Q = few orders, lots of stock.

Notice: the total-cost curve is flat near the optimum β€” being 20% off EOQ barely costs you anything. That's why in practice EOQ mostly gets rounded to pallets and truckloads (see Safety Stock for MOQ & rounding) without losing much.