📦
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

EOQ Calculator

How much to order at a time to minimize inventory costs

Updated October 2026

🧮
700+ calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com
EOQ = √(2 × annual demand × cost per order ÷ holding cost per unit per year). Selling 12,000 units a year, paying $75 to place each order and holding each $20 unit at 25% a year ($5), the answer is to order 600 units at a time: 20 orders a year, $1,500 of ordering cost and $1,500 of holding cost, $3,000 in all. Ordering 1,000 at a time costs $3,400. With a 7-day lead time and 100 units of safety stock, reorder when stock falls to 331 units.

The EOQ Formula and a Worked Example

Ordering more at once means fewer orders (lower ordering cost) but more stock on the shelf (higher holding cost). Annual total cost for an order size Q is

TC(Q) = (D ÷ Q) × S + (Q ÷ 2) × H

where D is annual demand, S the fixed cost of one order and H the cost of holding one unit for a year. Setting the derivative to zero gives Q* = √(2DS ÷ H), the square-root formula Ford Whitman Harris published in 1913. At Q*, ordering cost equals holding cost.

  1. H = 25% × $20 = $5 per unit per year.
  2. Q* = √(2 × 12,000 × $75 ÷ $5) = √360,000 = 600 units.
  3. Orders per year = 12,000 ÷ 600 = 20, one every 365 ÷ 20 = 18.3 days.
  4. Ordering cost = 20 × $75 = $1,500; holding cost = 600 ÷ 2 × $5 = $1,500; total $3,000.
  5. Reorder point = daily demand × lead time + safety stock = 12,000 ÷ 365 × 7 + 100 = 330.1, rounded up to 331 units.

Total Cost Around the EOQ

Order sizeOrders a yearOrdering costHolding costTotalvs EOQ
20060.0$4,500$500$5,000+66.7%
40030.0$2,250$1,000$3,250+8.3%
45026.7$2,000$1,125$3,125+4.2%
60020.0$1,500$1,500$3,000+0.0%
75016.0$1,200$1,875$3,075+2.5%
80015.0$1,125$2,000$3,125+4.2%
1,00012.0$900$2,500$3,400+13.3%
1,5008.0$600$3,750$4,350+45.0%

The curve is flat near the bottom: ordering 25% more than the EOQ (750) costs about 2.5% extra and 25% less (450) about 4.2%, so rounding to a case or pallet size is fine, preferably upward. Ordering a third of the EOQ costs two-thirds more.

What Moves the EOQ

CaseEOQ (units)Orders a yearOrder cycleOrdering + holding
Default: 12,000 units, $75 an order, $20 unit, 25% holding60020.018.2 days$3,000
Demand doubles to 24,00084928.312.9 days$4,243
Order cost falls to $25 (online reordering)34634.610.5 days$1,732
Holding cost 15% of unit cost77515.523.6 days$2,324
Holding cost 35% of unit cost50723.715.4 days$3,550
Unit cost $80 (same 25% holding)30040.09.1 days$6,000

Because of the square root, doubling demand raises the EOQ by only about 41%, and cutting the order cost to a third shrinks it by about 42%. Expensive items carry high holding costs, so they are ordered in smaller lots more often.

Mistakes and Edge Cases

What This Calculator Does Not Model

It uses the classic Harris model: constant demand, a fixed order cost, constant unit price and delivery of the whole order at once. Quantity discounts, minimum order quantities, production runs that deliver gradually (the economic production quantity model), backorders, multiple items sharing a truck, and statistical safety-stock levels are outside it; enter safety stock yourself. For a full inventory policy across many items, an operations or supply-chain specialist can set service levels from your demand data.

Frequently Asked Questions

What is the EOQ formula?
EOQ = √(2DS/H): D is annual demand in units, S the cost of placing one order and H the cost of holding one unit for a year.
What counts as holding cost?
The cost of capital tied up in inventory plus storage, insurance, handling, shrinkage and obsolescence. It is often expressed as a percentage of unit cost per year; enter your own estimate.
What counts as ordering cost?
The fixed cost of each order regardless of quantity: purchase-order processing, a flat delivery charge, receiving and inspection.
How do I calculate the reorder point?
Daily demand × lead time in days + safety stock. With 12,000 units a year, a 7-day lead time and 100 units of safety stock, it is 331 units.
Why are ordering and holding costs equal at the EOQ?
Ordering cost falls and holding cost rises as the order size grows; the total is lowest where the two lines cross, which for this model is exactly where they are equal.
What happens if I order more than the EOQ?
Total cost rises slowly at first: 25% above EOQ adds about 2.5%. It only pays to order much more when a price break or freight saving outweighs the extra holding cost.
Does EOQ work for a small online store?
Yes for steady sellers with a fixed reorder cost; less so for new, seasonal or fast-changing products, where demand is the bigger unknown.

How to Use This Calculator

  1. Enter annual demand — units sold or used per year, from last year’s sales or a forecast.
  2. Enter order and unit costs — the fixed cost of placing one order and the price per unit.
  3. Set the holding cost — as a percentage of unit cost per year (capital, storage, insurance, shrinkage).
  4. Compare an order size and set lead time — your current order quantity, the supplier’s lead time in days and the safety stock you keep.
  5. Read the results — EOQ, orders per year and cycle length, ordering and holding cost, the comparison and the reorder point.
📚 Sources & References
  1. [1] Erlenkotter, D. (1990). Ford Whitman Harris and the Economic Order Quantity Model. Operations Research 38(6):937-946 (reprints Harris 1913). ideas.repec.org
  2. [2] Erlenkotter, D. (1989). An early classic misplaced: Ford W. Harris’s EOQ model. Management Science 35(7):898-900. ideas.repec.org
  3. [3] Operational Research: Methods and Applications (2023), section 3.12 Inventory (EOQ = √(2kλ/h)); Petropoulos et al., arXiv:2303.14217. arxiv.org
✅ Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author