Economic order quantity. Economic order quantity (EOQ), also known as financial purchase quantity or economic buying quantity, is the order quantity that minimizes the total holding costs and ordering costs in inventory management. It is one of the oldest classical production scheduling models. The model was developed by Ford W. Harris in 1913, but the consultant R. H. Wilson applied it extensively, and he and K. Andler are given credit for their in-depth analysis.

Overview
The EOQ indicates the optimal number of units to order to minimize the total cost associated with the purchase, delivery, and storage of a product.

EOQ applies only when demand for a product is constant over a period of time (such as a 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 quantity of items ordered; an order is assumed to contain only one type of inventory item. 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. Although the EOQ formulation is straightforward, factors such as transportation rates and quantity discounts factor into its real-world application.

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 for a single item 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
 = 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, opportunity cost (price x interest),  etc. usually not related to the unit production cost)

Total cost function and derivation of EOQ formula

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 .
 Ordering cost: This is the cost of placing orders: each order has a fixed cost , and we need to order  times per year. This is 
 Holding cost: the average quantity in stock (between fully replenished and empty) is , so this cost is 

 .

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:

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

The optimal value Q* may also be found by recognizing that

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

Example 
Annual requirement quantity (D) = 10000 units
Cost per order (K) = 40
Cost per unit (P)= 50
Yearly carrying cost per unit = 4
Market interest = 2%

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

Quantity discounts
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. 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) establish this optimality and fully characterize the (s,S) optimality within the EOQ setting under general cost structures.

Design of optimal quantity discount schedules
In presence of a strategic customer, who responds optimally to discount schedules, the design of an 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.

Backordering costs and multiple items
Several extensions can be made to the EOQ model, including backordering costs and multiple items. In the case backorders are permitted, the inventory carrying costs per cycle are:

 

where s is the number of backorders when order quantity Q is delivered and  is the rate of demand. The backorder cost per cycle is:

 

where  and  are backorder costs, , T being the cycle length and . The average annual variable cost is the sum of order costs, holding inventory costs and backorder costs:

 

To minimize  impose the partial derivatives equal to zero:

 
 

Substituting the second equation into the first gives the following quadratic equation:

 

If  either s=0 or  is optimal. In the first case the optimal lot is given by the classic EOQ formula, in the second case an order is never placed and minimum yearly cost is given by . If  or   is optimal, if  then there shouldn't be any inventory system. If  solving the preceding quadratic equation yields:

 
 

If there are backorders, the reorder point is: ; with m being the largest integer  and μ the lead time demand.

Additionally, the economic order interval 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.

Malakooti (2013) 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.

Imperfect quality 
Another important extension of the EOQ model is to consider items with imperfect quality. Salameh and Jaber (2000) were 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.

Criticisms
The EOQ model and its sister, the economic production quantity model (EPQ), have been criticised for "their restrictive set[s] of assumptions. Guga and Musa make use of the model for an Albanian business case study and conclude that the model is "perfect theoretically, but not very suitable from the practical perspective of this firm". However, James Cargal notes that the formula was developed when business calculations were undertaken "by hand", or using logarithmic tables or a slide rule. Use of spreadsheets and specialist software allows for more versatility in the use of the formula and adoption of "assumptions which are more realistic" than in the original model.

See also

 Reorder point
 Safety stock
Economic production quantity
Newsvendor model
Dynamic lot size model
Economic lot scheduling problem

References

Further reading
 Harris, Ford W. Operations Cost (Factory Management Series), Chicago:  Shaw (1915)

 Camp, W. E. "Determining the production order quantity", Management Engineering, 1922

 Plossel, George. Orlicky's Material Requirement's Planning. Second Edition. McGraw Hill. 1984. (first edition 1975)

     
 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. .
 
 Renewal Demand and (s, S) Optimality by Perera, Janakiraman, and Niu

External links
The EOQ Model
Piasecki, D., Vol. III, Issue 12, December 2015

Inventory optimization

de:Klassische Losformel