EOQ calculator: economic order quantity

Order too often and you drown in purchase orders and receipts. Order too much and cash sits on the shelf. EOQ is the quantity that balances the two.

  • 1 min
  • Free, no signup
  • Runs in your browser
  • Formula shown

Demand and costs

units
$

Buyer time, receiving, AP, freight you pay per order.

$
%/yr

Capital, space, insurance, shrink. 20 to 30% is a common planning range.

+Case pack and calendar

Case pack or supplier minimum. 0 for any quantity.

365, or your working days.

Result

Live

Economic order quantity

600 units

20 orders a year, one every 18.3 days

Exact EOQ
600
Holding cost per unit per year
$5.00
Ordering cost per year
$1,500.00
Holding cost per year
$1,500.00
Total cost per year
$3,000.00
Average inventory
300 units ($6,000)
  • The total cost curve is flat near the EOQ. Ordering 20% more or less than it raises the yearly cost by less than 3%, so round to a case or pallet without worrying.
  • EOQ assumes steady demand and ignores quantity discounts and lead time. Pair it with a reorder point.

OpsBox watches on-hand against your reorder points and receives every PO by scan, so the order you planned is the stock you actually have.

Have a quick chat with Patrick

How the math works

H   = unit cost x holding rate per year
EOQ = sqrt(2 x annual demand x cost per order / H)
Orders per year = annual demand / order quantity
Total cost = orders per year x cost per order + order quantity / 2 x H

Two costs pull in opposite directions. Every order costs money to place and receive, so bigger orders mean fewer of those. Every unit on the shelf costs money to hold (capital, space, insurance, damage, obsolescence), so bigger orders mean more of that. Average inventory is half the order quantity, because stock runs from full down to empty between deliveries. EOQ is the order size where the two yearly costs are equal, which is where their total is lowest.

If you buy in cases or have a supplier minimum, set the multiple and the calculator rounds up and shows what the rounding costs. It is usually very little.

Worked example. 12,000 units a year, $75 per order, $20 a unit at 25% a year. H = $5. EOQ = sqrt(2 x 12,000 x 75 / 5) = sqrt(360,000) = 600 units. That is 20 orders a year, about one every 18 days. Ordering cost 20 x $75 = $1,500, holding cost 300 x $5 = $1,500, total $3,000.

Questions people ask

What is the EOQ formula?

EOQ = square root of (2 x D x S / H), where D is annual demand in units, S is the cost to place and receive one order, and H is the cost to hold one unit for a year.

What goes into cost per order?

The cost that comes with each purchase order regardless of size: buyer and approval time, receiving and putaway setup, inspection, invoice processing, and any fixed freight or handling charge per order.

What holding cost rate should I use?

Add your cost of capital, storage, insurance, taxes, shrink and obsolescence as a percent of inventory value. Many planners use something in the 20 to 30% a year range as a starting point, but your own numbers are better.

When is EOQ the wrong answer?

When demand is seasonal or lumpy, when suppliers give quantity discounts, when shelf life is short, or when space or cash is the real constraint. Use EOQ as the starting order size, then adjust.

What is the difference between EOQ and a reorder point?

EOQ says how much to order. The reorder point says when: the stock level that triggers the order, covering lead time demand plus safety stock.

Done doing this by hand?

OpsBox is the WMS that runs this math on the floor, for every order, without a spreadsheet.

See OpsBox live

Estimates from the formulas above, for planning. Check against your carrier, landlord, supplier or team before you commit money. Reset this tool.