EOQ Calculator

Economic order quantity (units)—
Orders per year—
Total annual inventory cost—

How EOQ Calculator is calculated: EOQ = √(2 × annual demand × ordering cost ÷ holding cost per unit)

What is economic order quantity?

Economic order quantity, or EOQ, is the order size that minimises the total cost of ordering and holding stock. A business that needs 12,000 units a year, pays 500 rupees per order, and pays 10 rupees a year to hold each unit should order 1,095 units at a time. It will place about 11 orders a year, and its total inventory cost will be about 10,954 rupees.

The trade-off is simple. Ordering in large batches means few orders and low ordering costs, but a lot of stock sitting in the warehouse, which costs money to hold. Ordering in small batches means little stock held, but many orders and high ordering costs. EOQ is the batch size where the two costs balance, and the total is lowest.

The formula was developed by Ford Whitman Harris in 1913 and is still the standard starting point for inventory planning. It assumes steady demand, fixed ordering costs, and fixed holding costs, which are simplifications, but the answer is usually close enough to be useful, and it is far better than guessing.

EOQ does not say when to order. That is the reorder point, which depends on the lead time and the daily usage. EOQ says how much to order each time, and the reorder point says when to place the order, and the two together run the stockroom.

How the EOQ formula works

The formula takes the square root of twice the annual demand times the ordering cost, divided by the holding cost per unit. With demand of 12,000 units, an ordering cost of 500 rupees, and a holding cost of 10 rupees, the calculation is the square root of 2 times 12,000 times 500 divided by 10, which is the square root of 1,200,000, giving 1,095 units.

Orders per year are the demand divided by the EOQ: 12,000 divided by 1,095 is about 11 orders. Total annual cost is the ordering cost plus the holding cost: 11 orders times 500 rupees is about 5,477 rupees of ordering cost, and holding half the EOQ, about 548 units, at 10 rupees each is about 5,477 rupees of holding cost. The two are equal at the optimum, which is the signature of EOQ, and the total is 10,954 rupees.

The square root is what makes EOQ forgiving. Doubling the demand raises the EOQ by only about 41%, because the square root of 2 is 1.41, so even a rough estimate of demand gives a usable order size. A percentage calculator can check the cost split by hand if you want to verify a result.

Holding cost: the number people get wrong

The most common error is underestimating the holding cost. Holding cost is not just the warehouse rent: it includes insurance, spoilage, theft, obsolescence, and the cost of the money tied up in stock. A common estimate is 20% to 30% of the unit value per year, and a business that counts only the rent will order far too much.

The second error is forgetting the cost of capital. Money spent on stock cannot be spent elsewhere, and if the business borrows at 12%, the stock costs 12% a year just in interest. Holding cost must include that, or the EOQ will be too large and the warehouse will fill up with cash that should be earning elsewhere.

The third error is treating the ordering cost as zero. Placing an order costs staff time, paperwork, transport, and receiving, and for a small business that can be hundreds of rupees per order. A business that ignores ordering cost will order in tiny batches and pay the ordering cost many times over.

The fourth error is using the wrong demand. Annual demand must be the forecast for the coming year, not last year's sales, and it must be in units, not rupees. A demand that is off by 20% moves the EOQ by only about 10%, thanks to the square root, so a reasonable estimate is enough.

A worked example: 12,000 units, ₹500 per order, ₹10 holding cost

Take the default example on this page. Annual demand is 12,000 units, the ordering cost is 500 rupees per order, and the holding cost is 10 rupees per unit per year. EOQ is the square root of 2 times 12,000 times 500 divided by 10, which is the square root of 1,200,000, giving 1,095 units. Orders per year are 12,000 divided by 1,095, which is 11. Total annual cost is 10,954 rupees.

Now a second case: annual demand of 6,000 units, an ordering cost of 400 rupees, and a holding cost of 8 rupees per unit. EOQ is the square root of 2 times 6,000 times 400 divided by 8, which is the square root of 600,000, giving 775 units. Orders per year are 6,000 divided by 775, which is 7.7. Total annual cost is 6,197 rupees.

The two examples show the square root effect. The second business has half the demand, yet its EOQ is 775 against 1,095, which is 71% of the first, not 50%. Halving the demand cuts the order size by only about 29%, because the square root dampens the change, and the same dampening protects the answer from errors in the demand estimate.

Who uses an EOQ calculator

Shopkeepers use it to decide order sizes. A shop that sells 12,000 units a year and orders 1,095 at a time places 11 orders, while one that orders 500 at a time places 24 orders and pays far more in ordering costs. The calculator turns a habit into a number.

Manufacturers use it for raw material. A factory that needs 12,000 components a year can order them in batches of 1,095, which balances the delivery cost against the warehouse cost, and the production line never stops for want of parts.

Warehouses use it to plan space. An EOQ of 1,095 units means the average stock is about 548 units, which is the space the warehouse must provide. A ROI calculator can then show the return on the warehouse investment, so the space and the stock can be judged together.

E-commerce sellers use it to manage fulfilment. A seller who orders too much ties up cash in stock that may not sell, and one who orders too little runs out and loses sales. EOQ is the starting point for the order size, and the reorder point handles the timing.

EOQ vs reorder point: what is different

EOQ says how much to order each time, and the reorder point says when to place the order. The reorder point is the daily usage times the lead time in days, plus safety stock. A business that uses 33 units a day with a 7-day lead time should reorder when the stock falls to 231 units, plus safety stock.

Use EOQ to set the batch size and the reorder point to set the timing. The two together run the stockroom: the reorder point triggers the order, and EOQ decides how big it is. Either one alone leaves half the job undone.

The two also fail differently. EOQ fails when demand is unsteady or costs change, and the reorder point fails when the lead time is unreliable. Neither is a system on its own, and businesses that rely on one number alone usually learn that the hard way.

Common EOQ mistakes

The first mistake is using EOQ when demand is seasonal. EOQ assumes steady demand, and a business with a festival peak and a quiet summer needs different order sizes in different seasons. Calculate EOQ separately for each season, or use a higher safety stock in the peak.

The second mistake is ignoring quantity discounts. A supplier who offers 10% off for orders over 2,000 units can make a larger order cheaper than the EOQ, even though the holding cost rises. Compare the total cost with the discount against the EOQ total, and take the cheaper one.

The third mistake is forgetting safety stock. EOQ assumes no stockouts, but real demand varies and deliveries are late, so a safety stock is needed on top. EOQ sets the batch size; safety stock sets the buffer, and the two are added together, not confused.

The fourth mistake is never recalculating. Demand, ordering costs, and holding costs all change, so an EOQ from last year may be wrong today. Recalculate it every quarter, and the order size will follow the real costs instead of last year's guess.

How to use this EOQ calculator

Enter the annual demand in units, the ordering cost per order in rupees, and the holding cost per unit per year in rupees. The results update instantly: the economic order quantity, the orders per year, and the total annual inventory cost. Use a realistic holding cost that includes rent, insurance, and the cost of capital.

Compare order sizes by changing the inputs and noting the total cost. A budget calculator can set the purchasing budget, and EOQ then shows the cheapest way to spend it. Keep the period the same when comparing, or the costs will not mean the same thing.

Everything runs in your browser. No account, no sign-up, no data sent anywhere. Your business figures never leave your device. Run it quarterly, order the EOQ quantity, and the stockroom will cost less than it did when the order size was a guess.

Frequently Asked Questions

Economic order quantity, or EOQ, is the order size that minimises the total cost of ordering and holding stock. It balances the ordering cost, which falls as orders get bigger, against the holding cost, which rises. A business needing 12,000 units a year at 500 rupees per order and 10 rupees holding cost per unit should order 1,095 units at a time.

EOQ is the square root of twice the annual demand times the ordering cost, divided by the holding cost per unit. With demand of 12,000 units, an ordering cost of 500 rupees, and a holding cost of 10 rupees, it is the square root of 1,200,000, which is 1,095 units. At the optimum, the ordering cost and the holding cost are equal.

Holding cost is the cost of keeping one unit in stock for a year: warehouse rent, insurance, spoilage, theft, obsolescence, and the cost of the money tied up in the stock. A common estimate is 20% to 30% of the unit value per year. Underestimating it is the most common EOQ mistake, and it leads to ordering far too much.

Not directly. EOQ assumes steady demand, and a business with a festival peak and a quiet summer needs different order sizes in different seasons. Calculate EOQ separately for each season, or use a higher safety stock in the peak. EOQ sets the batch size; the reorder point and safety stock handle the timing and the variation.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.