Two costs moving in opposite directions
Ordering cost includes admin, fixed freight, receiving and inspection per purchase order. Holding cost includes storage, capital, insurance, shrinkage and obsolescence per unit per year.
As order quantity rises, annual ordering cost falls because there are fewer orders, while annual holding cost rises because average inventory is higher. EOQ is the point where the two effects balance.
The formula and its assumptions
EOQ = √(2 × annual demand × order cost ÷ holding cost per unit). The formula assumes stable demand, constant costs, no quantity discounts, no stockouts and no shelf-life limit.
Those assumptions rarely hold exactly. Treat EOQ as a benchmark: it tells you whether the current order size is far from the cost-minimizing range, not whether 548 units is a sacred number.
Worked example
Annual demand 12,000, order cost $50, holding cost $4 per unit per year. EOQ is √(2 × 12,000 × 50 ÷ 4) = 547.72, rounded to 548.
At 548 units, annual orders are 21.9, average inventory is 274, ordering cost is $1,094.89, holding cost is $1,096.00 and total annual cost is $2,190.89. Ordering 274 units doubles orders and raises total cost to $2,737.78; ordering 1,096 units raises it to $2,739.45.
When the MOQ is larger than EOQ
A supplier minimum of 1,000 units makes the EOQ infeasible. The suggested order becomes 1,000, annual orders drop to 12, average inventory rises to 500, and total cost rises to $2,600 — about $409.11 more per year than the EOQ.
That premium is the price of the supplier constraint. It may still be worth paying for better unit price, freight consolidation or reliability. The calculator separates the cost of the constraint from the cost of the inventory itself.
What EOQ ignores
Demand variability, lead-time variability and stockout risk are handled by safety stock and reorder point, not by EOQ. Shelf life, seasonality, cash constraints and quantity discounts also change the optimal order.
A product with a short shelf life may need a smaller order than EOQ. A product with a large quantity discount may justify a larger one. Recalculate EOQ when order cost, holding cost or demand changes materially.
How to use it
Start with your highest-value or highest-order-count SKUs. Use a fully loaded order cost and an annual holding cost that includes the cost of capital, not just warehouse rent.
Pair the order quantity with a reorder point so the order arrives before stock runs out. EOQ answers “how much,” not “when.”