Economic Order Quantity (EOQ): The Formula, a Worked Example and Its Limits
Calculator: Economic order quantity (EOQ). Do this calculation with your own numbers.
The economic order quantity is the order size that minimises the total of ordering cost and holding cost. The formula is EOQ = √(2 × D × S / H), where D is annual demand, S is the cost of placing one order and H is the cost of holding one unit for a year.
EOQ is more than a hundred years old and still one of the first formulas every planner learns. This guide explains where it comes from, calculates it on an example, shows why the answer is forgiving, and explains when not to use it.
The trade-off behind it
Every order has a fixed cost: administration, transport, receiving, a changeover in production. Fewer, larger orders save on that cost. But larger orders mean more cycle stock, and stock costs money to hold.
- Annual ordering cost = (D / Q) × S
- Annual holding cost = (Q / 2) × H
The first falls as Q grows. The second rises. EOQ is the Q where the two are equal, and where their sum is lowest.
The formula
EOQ = √(2 × D × S / H)
- D: annual demand in units
- S: cost per order (or per production setup)
- H: holding cost per unit per year, usually a percentage of the unit cost
Worked example
A wholesaler sells 15,600 units a year of a cleaning product (300 a week).
- Cost per order: S = €60
- Unit cost €8, annual holding cost 25%, so H = €8 × 0.25 = €2 per unit per year
EOQ = √(2 × 15,600 × 60 / 2) = √936,000 = 967 units
At about 970 units per order, the wholesaler orders about 16 times a year.
How forgiving it is
| Order quantity | Orders a year | Ordering cost | Holding cost | Total |
|---|---|---|---|---|
| 600 | 26 | €1,560 | €600 | €2,160 |
| 970 (EOQ) | 16 | €965 | €970 | €1,935 |
| 1,200 | 13 | €780 | €1,200 | €1,980 |
| 1,500 | 10.4 | €624 | €1,500 | €2,124 |
Ordering 1,200 instead of 970, a quantity 24% larger, raises total cost by only 2.3%. The total cost curve is flat near its minimum. That is good news: you can round EOQ to a full pallet or a full layer and lose almost nothing.
(Holding cost here covers cycle stock only. Safety stock does not depend on Q, so it does not change the answer.)
What EOQ assumes
- Demand is steady and known.
- The ordering cost and the holding cost per unit are fixed.
- The whole order arrives at once.
- There are no quantity discounts.
- No shortages.
Real life breaks most of these. EOQ still gives a useful starting point, as long as you know what it ignores.
When not to use it
- Seasonal or lumpy demand: use a time-phased plan, such as MRP.
- Quantity discounts: compare total cost (including purchase price) at each price break.
- Very short shelf life: the leftover risk dominates.
- Capacity or space limits: a warehouse may simply not have room for the EOQ.
Common mistakes
- Using the unit price as H. H is the annual cost of holding a unit, a fraction of its price. See Inventory Holding Cost.
- Overstating S. Only costs that change with the number of orders belong in it.
- Mixing periods: weekly demand with an annual holding cost.
Exercise
A factory uses 2,400 units a year of a component. Each order costs €50. Holding one unit for a year costs €6.
- What is the EOQ?
- How many orders a year is that?
Solution
- EOQ = √(2 × 2,400 × 50 / 6) = √40,000 = 200 units.
- 2,400 / 200 = 12 orders a year, one a month.
Questions people ask
What is the EOQ formula?
EOQ = √(2 × annual demand × cost per order / annual holding cost per unit).
Is EOQ still used?
Yes, as a starting point for lot sizes in ERP systems and in purchasing, usually adjusted for pallet sizes, minimum order quantities and price breaks.
Who invented EOQ?
The model is usually credited to Ford W. Harris, who published it in 1913.
Practise it
In Play Supply Chain you choose how much and how often to order and see the cost trade-off yourself. Start with the free challenges.
Related reading
Don't just read about supply chains. Play them.
- The first 5 challenges are free, with the same game engines and debriefs as Premium
- Your stars and your level are saved to your profile
- No credit card, no spam
More in Planning
- Beer Game Strategy: How to Win the Beer Distribution Game
- Inventory Management Game: A Dice Exercise That Teaches Reorder Points
- Safety Stock and Reorder Point Practice Problems With Solutions
- EOQ Practice Problems With Step-by-Step Solutions
- Forecasting Practice Problems: Moving Average, Exponential Smoothing and MAPE, With Solutions
- Supply Chain Case Study With Solution: A Stockout Problem Solved Step by Step
- WAPE vs MAE vs MAPE vs RMSE: Which Forecast Error Metric to Use
- Push vs Pull Supply Chain: The Difference, With Examples