Free Tool
Economic Order Quantity Calculator
Enter annual demand, ordering cost, and holding cost to find the order size that minimizes total inventory cost. See the annual cost breakdown.
Book a DemoWhat is the Economic Order Quantity (EOQ) formula?
The Economic Order Quantity (EOQ) is calculated as √(2DS/H), where D is annual demand in units, S is the fixed cost per order (purchasing, receiving, inspection), and H is the annual holding cost per unit (storage, insurance, obsolescence, capital cost). EOQ finds the order size that minimizes the sum of ordering costs and holding costs. Demand OS uses EOQ as a starting point and adjusts dynamically for demand variability, quantity discounts, and capacity constraints.
Calculator
Enter ordering and holding cost data
Formula used
Results
Enter demand and cost data, then click “Calculate EOQ”.
How to use it
EOQ, worked through step by step
Besides the order quantity, the calculator shows orders per year (D ÷ EOQ), the order cycle in days (EOQ ÷ D × 365), annual ordering cost, annual holding cost (EOQ ÷ 2 × H) and their total. Unit cost is optional and does not change the result.
A worked example
Annual demand is 10,000 units, each order costs $50 to place and receive, and holding one unit for a year costs $2.50. EOQ = √(2 × 10,000 × 50 ÷ 2.50) = √400,000 = 632 units.
Unrounded, EOQ is 632.5, which means about 15.8 orders a year, one roughly every 23 days. Annual ordering cost is 15.81 × $50 = $791, annual holding cost is 632.5 ÷ 2 × $2.50 = $791, and the total is $1,581.
How to read your result
At the EOQ, ordering cost and holding cost come out equal, as in the example. If your current order size is well above the EOQ, holding cost is driving your total up; well below it, you are paying for too many orders. Because of the square root, the result is fairly forgiving: doubling holding cost to $5 only cuts EOQ to 447 units, and doubling order cost to $100 raises it to 894.
Common mistakes
Entering holding cost as a percentage instead of a currency amount per unit per year. Using monthly demand where the formula expects annual demand. Counting only the purchase order fee as order cost and leaving out receiving and inspection. And applying EOQ to items with lumpy or seasonal demand, where the constant-demand assumption breaks down.
What to do next
EOQ tells you how much to order, not when. Use the safety stock calculator to find the reorder point that triggers each order.
Explore more Demand OS tools
Safety Stock Calculator
Calculate optimal buffer stock using demand and lead time variability with Z-score tables.
Learn moreInventory Turnover Calculator
Compute turnover ratio, days of supply, and compare against industry benchmarks.
Learn moreInventory Optimization
Service-level-driven safety stock that shows the working capital impact of every recommendation.
Learn morePallet Calculator
Find how many cartons fit on a pallet, the load height and weight, and pallets per trailer or container.
Learn moreFrequently Asked Questions
EOQ and order sizing, answered
What costs does EOQ balance?+
What are the limitations of the basic EOQ model?+
How do I estimate holding cost per unit?+
How does Demand OS go beyond basic EOQ?+
Should I use EOQ for every SKU?+
Ready for dynamic order sizing?
- Free consultation
- No commitment
- Tailored to your team