EOQ finds the order size that minimizes total ordering and holding cost — the classic inventory optimization. A square-root formula balances big batches (fewer orders) against carrying cost.
The example
D=1200, order $50, hold $3.
| A | B | |
|---|---|---|
| 1 | Item | Value |
| 2 | Inputs | — |
| 3 | EOQ | ~200 units |
The formula
The formula:
How it works
How it works:
- Annual demand (D), cost per order (S), and holding cost per unit per year (H) are the inputs.
- The formula
SQRT(2DS/H)balances ordering cost (favors big orders) against holding cost (favors small ones). - The result is the order quantity with the lowest total cost.
- Number of orders per year is
D / EOQ; time between orders isEOQ / D × 365.
EOQ is a starting point, not gospel. It assumes steady demand and constant costs. Real orders round to case or pallet quantities, and supplier discounts for larger orders can shift the optimum. Use EOQ to anchor the decision, then adjust for minimums and price breaks.
Try it: interactive demo
Annual demand, order cost, holding cost.
Variations
Orders per year
Frequency:
Total annual cost
At EOQ:
Cycle time (days)
Between orders:
Pitfalls & errors
Consistent units. Demand and holding cost must be on the same annual basis.
Steady-demand assumption. EOQ assumes stable demand; lumpy demand needs other models.
Round sensibly. Adjust to case/pallet sizes and supplier minimums.
Practice workbook
Frequently asked questions
How do I calculate EOQ in Excel?
How many orders per year does EOQ imply?
What are EOQ's limitations?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class