Stock and Supply
Economic Order Quantity (EOQ) Calculator
Find the order size that minimizes total inventory cost (ordering + holding)
- Free
- No Signup
- Runs on your device
Economic order quantity
Orders per year
Days between orders
Total ordering cost
Total holding cost
Total annual cost
Cost vs. order quantity
How does it work?
EOQ (Economic Order Quantity) answers 'how much should I order each time?' Order too little and you pay too many ordering / shipping fees; order too much and you tie up cash in holding cost. The Wilson formula finds the order size where these two costs cross — the lowest total annual inventory cost.
The Wilson formula
Three inputs, one square root, one optimum order size:
EOQ = √( (2 × D × S) ÷ H ) where D = annual demand, S = cost per order, H = holding cost per unit per year
Worked example
Annual demand 1,200 units, ordering cost 10 per order, holding cost 0.60 per unit per year:
- Economic order quantity = √((2 × 1,200 × 10) ÷ 0.60) = √40,000 = 200 units
- Orders per year = 1,200 ÷ 200 = 6 orders
- Total ordering cost = 6 × 10 = 60
- Total holding cost = (200 ÷ 2) × 0.60 = 60
- Annual total = 120 — the lowest achievable, and note that both sides are equal at that point
Practical tips
- Ordering cost is not the price of the goods: it is what the order itself costs you — buyer time, clearance, inspection and receipt documentation. In importing it also carries freight and the fixed charges per shipment, making it far larger than its domestic equivalent.
- The larger the ordering cost, the larger the economic quantity — which is why importers order bigger and less often. That is the result of the formula, not a departure from it.
- Compare the result against your supplier's minimum order quantity and container capacity: a theoretical quantity that cannot ship is not an option, so round up to the nearest real constraint.
- Holding cost covers tied-up capital, insurance, spoilage and space — not rent alone, or the quantity comes out larger than you can carry.
To know stock at every location without merging files, Snad's inventory software gives each warehouse its own balance and brings them together in one report. Once stock falls to that level anywhere and auto-ordering is switched on, the purchasing software prepares an order for what is missing.
Frequently Asked Questions
What goes into 'ordering cost'?
Anything you pay per PO regardless of order size: staff time placing the order, fixed freight charges, customs paperwork, supplier setup fees. Not the price of the goods themselves.
How do I estimate 'holding cost per unit per year'?
Add storage cost, insurance, capital cost (opportunity cost of cash tied up), and obsolescence/spoilage allowance. A rule of thumb is 20–30% of the unit cost annually.
Why does the EOQ formula assume constant demand?
Because the underlying math (Wilson, 1934) optimizes a steady-state model. For seasonal or volatile demand, recompute EOQ quarterly or build a planning horizon explicitly.
What if my supplier requires a minimum order quantity higher than EOQ?
Order the minimum. The total-cost curve is flat near the optimum — being above EOQ costs you very little, while ordering below the supplier minimum is impossible.
The result is below my supplier's minimum — what now?
Order the minimum and treat the gap as extra holding cost you accept. The economic quantity is an optimum in a world without constraints, and a real constraint — a minimum order or a container size — always wins. If the gap recurs, it is a negotiating point with the supplier rather than a calculation error.
Does it work for seasonal items?
Not directly. The formula assumes steady demand across the year, and a seasonal item breaks that assumption. Run it over the season alone with the season's own demand, or use season buy planning instead.
When the sum becomes daily work
Settled on when to reorder? Give each item a floor and a ceiling per Snad warehouse, and your team is alerted once it reaches its reorder level.
Starter stays free · 7-day trial of any paid plan, no card
- Inventory Independent balances per warehouse, transfers recorded at cost, and an alert at the reorder point.