# Economic order quantity

In inventory management, **economic order quantity** (**EOQ**) is the order quantity that minimizes the total holding costs and ordering costs. It is one of the oldest classical production scheduling models. The model was developed by Ford W. Harris in 1913, but R. H. Wilson, a consultant who applied it extensively, and K. Andler are given credit for their in-depth analysis.^{[1]}

## Overview[edit]

EOQ applies only when demand for a product is constant over the year and each new order is delivered in full when inventory reaches zero. There is a fixed cost for each order placed, regardless of the number of units ordered. There is also a cost for each unit held in storage, commonly known as holding cost, sometimes expressed as a percentage of the purchase cost of the item.

We want to determine the optimal number of units to order so that we minimize the total cost associated with the purchase, delivery and storage of the product.

The required parameters to the solution are the total demand for the year, the purchase cost for each item, the fixed cost to place the order and the storage cost for each item per year. Note that the number of times an order is placed will also affect the total cost, though this number can be determined from the other parameters.

### Variables[edit]

- = total annual inventory cost
- = purchase unit price, unit production cost
- = order quantity.
- = optimal order quantity.
- = annual demand quantity.
- = fixed cost per order, setup cost (
*not*per unit, typically cost of ordering and shipping and handling. This is not the cost of goods) - = annual holding cost per unit, also known as carrying cost or storage cost (capital cost, warehouse space, refrigeration, insurance, etc. usually not related to the unit production cost)

### The total cost function and derivation of EOQ formula[edit]

The single-item EOQ formula finds the minimum point of the following cost function:

Total Cost = purchase cost or production cost + ordering cost + holding cost

Where:

- Purchase cost: This is the variable cost of goods: purchase unit price × annual demand quantity. This is P × D
- Ordering cost: This is the cost of placing orders: each order has a fixed cost K, and we need to order D/Q times per year. This is K × D/Q
- Holding cost: the average quantity in stock (between fully replenished and empty) is Q/2, so this cost is h × Q/2

.

To determine the minimum point of the total cost curve, calculate the derivative of the total cost with respect to Q (assume all other variables are constant) and set it equal to 0:

Solving for Q gives Q* (the optimal order quantity):

Therefore:

**Economic Order Quantity**

Q* is independent of P; it is a function of only K, D, h.

The optimal value Q* may also be found by recognising that^{[2]}

where the non-negative quadratic term disappears for which provides the cost minimum

### Example[edit]

- annual requirement quantity (D) = 10000 units
- Cost per order (K) = 40
- Cost per unit (P)= 50
- Yearly carrying cost per unit (h) = 5

Economic order quantity = = 400 units

Number of orders per year (based on EOQ)

Total cost

Total cost

If we check the total cost for any order quantity other than 400(=EOQ), we will see that the cost is higher. For instance, supposing 500 units per order, then

Total cost

Similarly, if we choose 300 for the order quantity then

Total cost

This illustrates that the economic order quantity is always in the best interests of the firm.

## Extensions of the EOQ model[edit]

### Quantity discounts[edit]

An important extension to the EOQ model is to accommodate quantity discounts. There are two main types of quantity discounts: (1) all-units and (2) incremental.^{[3]}^{[4]} Here is a numerical example:

- Incremental unit discount: Units 1–100 cost $30 each; Units 101–199 cost $28 each; Units 200 and up cost $26 each. So when 150 units are ordered, the total cost is $30*100 + $28*50.
- All units discount: an order of 1–1000 units costs $50 each; an order of 1001–5000 units costs $45 each; an order of more than 5000 units costs $40 each. So when 1500 units are ordered, the total cost is $45*1500.

In order to find the optimal order quantity under different quantity discount schemes, one should use algorithms; these algorithms are developed under the assumption that the EOQ policy is still optimal with quantity discounts. Perera et al. (2017)^{[5]} establish this optimality and fully characterize the (s,S) optimality within the EOQ setting under general cost structures.

### Design of optimal quantity discount schedules[edit]

In presence of a strategic customer, who responds optimally to discount schedule, the design of optimal quantity discount scheme by the supplier is complex and has to be done carefully. This is particularly so when the demand at the customer is itself uncertain. An interesting effect called the "reverse bullwhip" takes place where an increase in consumer demand uncertainty actually reduces order quantity uncertainty at the supplier.^{[6]}

### Backordering costs and multiple items[edit]

Several extensions can be made to the EOQ model, including backordering costs^{[7]} and multiple items. Additionally, the economic order interval^{[8]} can be determined from the EOQ and the economic production quantity model (which determines the optimal production quantity) can be determined in a similar fashion.

A version of the model, the Baumol-Tobin model, has also been used to determine the money demand function, where a person's holdings of money balances can be seen in a way parallel to a firm's holdings of inventory.^{[9]}

Malakooti (2013)^{[10]} has introduced the multi-criteria EOQ models where the criteria could be minimizing the total cost, Order quantity (inventory), and Shortages.

A version taking the time-value of money into account was developed by Trippi and Lewin.^{[11]}

### Imperfect quality[edit]

Another important extension of EOQ model is to consider items with imperfect quality. Salameh and Jaber (2000) are the first to study the imperfect items in an EOQ model very thoroughly. They consider an inventory problem in which the demand is deterministic and there is a fraction of imperfect items in the lot and are screened by the buyer and sold by them at the end of the circle at discount price.^{[12]}

## For improving fuel economy of internal combustion engines[edit]

Recently an interesting similarity between EOQ of Melon picking and fuel injection in Gasoline Direction Injection has been proposed.^{[13]}

## See also[edit]

- Constant fill rate for the part being produced: Economic production quantity
- Demand is random: classical Newsvendor model
- Demand varies over time: Dynamic lot size model
- Several products produced on the same machine: Economic lot scheduling problem
- Reorder point
- Revised Wilson Formula by Daniel CRETOIS [1]
- Renewal Demand and (s,S) Optimality by Perera, Janakiraman and Niu [2]

## References[edit]

**^**Hax, AC; Candea, D. (1984),*Production and Operations Management*, Englewood Cliffs, NJ: Prentice-Hall, p. 135, ISBN 9780137248803**^**Grubbström, Robert W. (1995). "Modelling production opportunities — an historical overview".*International Journal of Production Economics*.**41**(1–3): 1–14. doi:10.1016/0925-5273(95)00109-3.**^**Nahmias, Steven (2005).*Production and operations analysis*. McGraw Hill Higher Education.^{[page needed]}**^**Zipkin, Paul H, Foundations of Inventory Management, McGraw Hill 2000^{[page needed]}**^**Perera, Sandun; Janakiraman, Ganesh; Niu, Shun-Chen (2017). "Optimality of (s,S) policies in EOQ models with general cost structures".*International Journal of Production Economics*.**187**: 216–228. doi:10.1016/j.ijpe.2016.09.017.**^**Altintas, Nihat; Erhun, Feryal; Tayur, Sridhar (2008). "Quantity Discounts Under Demand Uncertainty".*Management Science*.**54**(4): 777–92. doi:10.1287/mnsc.1070.0829. JSTOR 20122426.**^**Perera, Sandun; Janakiraman, Ganesh; Niu, Shun-Chen (2017). "Optimality of (s,S) policies in EOQ models with general cost structures".*International Journal of Production Economics*.**187**: 216–228. doi:10.1016/j.ijpe.2016.09.017.**^**Goyal, S.K. (1987). "A simple heuristic method for determining economic order interval for linear demand".*Engineering Costs and Production Economics*.**11**: 53–57. doi:10.1016/0167-188X(87)90025-5.**^**Caplin, Andrew; Leahy, John (2010). "Economic Theory and the World of Practice: A Celebration of the (s, S) Model".*The Journal of Economic Perspectives*.**24**(1): 183–201. CiteSeerX 10.1.1.730.8784. doi:10.1257/jep.24.1.183. JSTOR 25703488.**^**Malakooti, B (2013).*Operations and Production Systems with Multiple Objectives*. John Wiley & Sons. ISBN 978-1-118-58537-5.^{[page needed]}**^**Trippi, Robert R.; Lewin, Donald E. (1974). "A Present Value Formulation of the Classical Eoq Problem".*Decision Sciences*.**5**(1): 30–35. doi:10.1111/j.1540-5915.1974.tb00592.x.**^**Salameh, M.K.; Jaber, M.Y. (March 2000). "Economic production quantity model for items with imperfect quality".*International Journal of Production Economics*.**64**(1–3): 59–64. doi:10.1016/s0925-5273(99)00044-4. ISSN 0925-5273.**^**Ventura, Robert; Samuel, Stephen (2016). "Optimization of fuel injection in GDI engine using economic order quantity and Lambert W function".*Applied Thermal Engineering*.**101**: 112–20. doi:10.1016/j.applthermaleng.2016.02.024.

## Further reading[edit]

- Harris, Ford W.
*Operations Cost*(Factory Management Series), Chicago: Shaw (1915) - Harris, Ford W. (1913). "How many parts to make at once".
*Factory, the Magazine of Management*.**10**: 135–136, 152. - Camp, W. E. "Determining the production order quantity", Management Engineering, 1922
- Wilson, R. H. (1934). "A Scientific Routine for Stock Control".
*Harvard Business Review*.**13**: 116–28. - Plossel, George. Orlicky's Material Requirement's Planning. Second Edition. McGraw Hill. 1984. (first edition 1975)
- Andriolo, Alessandro; Battini, Daria; Grubbström, Robert W.; Persona, Alessandro; Sgarbossa, Fabio (2014). "A century of evolution from Harris׳s basic lot size model: Survey and research agenda".
*International Journal of Production Economics*.**155**: 16–38. doi:10.1016/j.ijpe.2014.01.013. - Erlenkotter, Donald (2014). "Ford Whitman Harris's economical lot size model".
*International Journal of Production Economics*.**155**: 12–15. doi:10.1016/j.ijpe.2013.12.008. - Perera, Sandun; Janakiraman, Ganesh; Niu, Shun-Chen (2017). "Optimality of (s,S) policies in EOQ models with general cost structures".
*International Journal of Production Economics*.**187**: 216–228. doi:10.1016/j.ijpe.2016.09.017. - Perera, Sandun; Janakiraman, Ganesh; Niu, Shun-Chen (2018). "Optimality of (s, S) Inventory Policies under Renewal Demand and General Cost Structures".
*Production and Operations Management*.**27**(2): 368–383. doi:10.1111/poms.12795. - Tsan-Ming Choi (Ed.) Handbook of EOQ Inventory Problems: Stochastic and Deterministic Models and Applications, Springer's International Series in Operations Research and Management Science, 2014. doi:10.1007/978-1-4614-7639-9.
- Ventura, Robert; Samuel, Stephen (2016). "Optimization of fuel injection in GDI engine using economic order quantity and Lambert W function".
*Applied Thermal Engineering*.**101**: 112–20. doi:10.1016/j.applthermaleng.2016.02.024.