How much stock should you order at a time? Order large batches and you pay to store, insure and finance a lot of inventory. Order small batches and you pay the fixed cost of placing an order — paperwork, delivery fee, inspection, machine set-up — again and again. The economic order quantity (EOQ) is the batch size where the sum of those two yearly costs is lowest.
The model was published in 1913 by the engineer Ford W. Harris and is still the starting point of every inventory chapter in operations management. It needs three numbers: annual demand, the cost per order and the holding cost of one unit for a year, which you can enter as an amount or as a percentage of the unit price.
Besides the EOQ, the calculator gives the number of orders per year, the time between orders, the yearly ordering, holding and total cost, and — with a lead time — the reorder point: the stock level at which to place the next order.
How to use this calculator
- Enter the annual demand in units.
- Enter the cost per order: everything you pay each time you order, regardless of quantity.
- Enter the holding cost per unit per year, or switch to % of unit cost and give the price and an annual carrying rate (often 15–30 %).
- Adjust the working days per year if you count only business days (e.g. 250).
- For the reorder point, enter the supplier lead time in days; daily demand is taken as annual demand ÷ working days unless you enter it.
- Read the EOQ and the cost breakdown; the steps show each calculation.
The formula
With annual demand , cost per order and annual holding cost per unit , the annual cost of ordering units at a time is:
The first term falls and the second rises as grows. Setting the derivative to zero gives Harris's square-root formula:
Then:
where is the number of orders per year, the days between orders, the daily demand and the lead time in days. When the holding cost is a rate of the unit cost , .
Worked example
A shop sells 6,000 units a year. Each order costs $75 to place and receive, and keeping one unit in stock for a year costs $2.50 (20 % of a $12.50 unit cost). The supplier delivers in 10 days.
- EOQ: √(2 × 6,000 × 75 ÷ 2.5) = √360,000 = 600 units
- Orders per year: 6,000 ÷ 600 = 10, one every 36.5 days
- Ordering cost: 10 × 75 = $750; holding cost: 600 ÷ 2 × 2.50 = $750; total $1,500
- Reorder point: 16.44 units a day × 10 days ≈ 164 units
Ordering 800 units instead of 600 would cost $1,563 a year — only slightly more, which is why the EOQ can be rounded to a convenient pallet or carton size.
Reorder point and safety stock
The EOQ tells you how much to order; the reorder point tells you when. If demand during the lead time were perfectly steady, you would order when stock falls to daily demand × lead time. In practice demand and delivery times vary, so most businesses add safety stock: reorder point = expected lead-time demand + safety stock. Safety stock is usually sized from the variability of demand and the service level you want; the more costly a stock-out, the larger it is.
Assumptions behind the EOQ model
The basic model assumes that demand is known and constant, that the whole order arrives at once, that the cost per order and the holding cost per unit do not depend on the quantity, and that there are no quantity discounts or stock-outs. Real businesses bend these rules: quantity discounts, perishable goods, limited storage and seasonal demand all call for extensions of the model. Yet the total cost curve is flat around the optimum, so the EOQ remains a robust guide even with rough estimates of and .
Estimating the holding cost
Holding cost is the most often underestimated input. It includes the cost of capital tied up in stock (interest or required return), storage (rent, handling, energy), insurance and taxes, and shrinkage and obsolescence. Added together they often reach 20–30 % of the item's value per year. If you only know the rate, use the "% of unit cost" option.
Frequently asked questions
What is the EOQ formula?
EOQ = √(2DS/H), where D is annual demand in units, S the fixed cost per order and H the cost of holding one unit for a year.
Why are ordering and holding costs equal at the EOQ?
Because the total cost curve reaches its minimum where the falling ordering cost and the rising holding cost balance. Substituting Q* into both terms gives √(DSH/2) each.
Does the EOQ include the purchase price of the goods?
No. With a constant unit price, the yearly purchase cost (D × price) is the same whatever the order size, so it does not change the optimum. It matters only when suppliers offer quantity discounts.
How do I calculate the reorder point?
Multiply daily demand by the lead time in days, then add any safety stock. When stock on hand falls to that level, place the next order of EOQ units.
Is the EOQ still useful with just-in-time inventory?
Yes. Just-in-time works by cutting the cost per order (set-up time, paperwork), and the formula shows that a smaller S directly lowers the optimal batch size.
Sources
- Harris, F. W. (1913, reprinted 1990) – How Many Parts to Make at Once, Operations Research 38(6)
- Erlenkotter, D. (1990) – Ford Whitman Harris and the Economic Order Quantity Model, Operations Research 38(6)
Last updated: