Economic Order Quantity (EOQ)
EOQ is the purchase order quantity for replenishment that minimizes total inventory costs. The purchase order is triggered when the inventory level hits the reorder point. The EOQ is calculated in order to minimize a combination of costs such as the purchase cost (which may include volume discounts), the inventory holding cost, the ordering cost, etc. The order quantity optimization is complementary to the safety stock optimization that focuses on finding the optimal threshold to trigger the reorder.
Model and formula
The classical EOQ formula (see the Wilson Formula below) is essentially a trade-off between the ordering cost, assumed to be a flat fee per order, and inventory holding cost. Although this formula dating for 1913 is extremely well-known, we advise against using such a formula in any modern supply chain environment. The underlying mathematical assumptions behind this formula are simply incorrect nowadays.
The historical formula assumes that the cost of the act of ordering is the one key business driver. It certainly was an important factor back in 1913 when an army of clerks was required to manually keep track of the books, but with inventory management software and possibly EDI, this factor is usually insignificant. As a result, the “optimization” performed by the formula makes little sense, and completely ignores any price break that can be available when larger quantities are ordered.
Download Excel sheet: eoq-calculator.xlsm (illustrated calculation)
Thus, we propose here an EOQ formula variant that optimizes the trade-off of carrying costs vs volume discounts. Let’s introduce the variables:
be the lead demand. be the carrying cost per unit for the duration of the lead time (1). be the delta inventory quantity needed to reach the reorder point (2). be the per unit purchase price, a function that depends on the order quantity q
(1) The time scope considered here is the lead-time. Hence, instead of considering the more usual annual carrying cost
(2) The delta quantity needs to take into account both the stock on hand
Despite it’s seemingly complicated look, this function can be easily computed with Microsoft Excel, as illustrated by the sheet provided here above.
What about the order cost?
At first glance, it might look as if we are assuming a zero ordering cost, but not quite so. Indeed, the framework we introduce here is relatively flexible and the order cost (if any) can be embedded into the price function
Cost function
In order to model the cost function for the order quantity which takes into account volume discounts, let’s introduce
Indeed, taking an amortized viewpoint over the lead time period, the total quantity to be ordered will be
Then, the inventory level is varying all the time, but if we consider strict minimal reorders (i.e.
The
Minimization of the cost function
In order to minimize
Since
Then, in this context, since the volume discount function
A simple minimization for
However, in practice, this computation can be vastly accelerated if we assume that
In practice, unit price rarely increases with quantities, yet, some local bumps in the curve may be observed if shipments are optimized for pallets, or any other container that favors certain package sizes.
Wilson Formula
The most well-known EOQ formula is the Wilson Formula developed in 1913. This formula relies on the following assumptions:
- The ordering cost is flat.
- The rate of demand is known, and spread evenly throughout the year.
- The lead time is fixed.
- The purchase unit price is constant i.e. no discount is available.
Let’s introduce the follow variables:
be the annual demand quantity be the fixed flat cost per order (not a per unit cost, but the cost associated to the operation of ordering and shipping). the annual holding cost
Under those assumptions, the Wilson optimal EOQ is:
In practice, we suggest to use a more locally adjusted variant (time-wise) of this formula where
Comparison of the two EOQ formula
For retail or wholesale, we believe that our ad-hoc EOQ formula presented at the top of this page, that emphasizes volume discounts is better suited, hence more profitable, than the Wilson formula. For manufacturers, it depends. In particular, if the order triggers a new production, then indeed, there might be a significant ordering cost (production setup) and little or no benefits in marginal unit cost afterward. In such a situation, the Wilson Formula is more appropriate.