Skip to main content

EOQ calculator (economic order quantity)

EOQ = √(2 × annual demand × cost per order ÷ yearly holding cost per unit). It is the order size where ordering and storage costs are lowest together. Enter your numbers, then round to what the supplier sells.

Average daily sales × 365 works if the year isn’t over yet.

Shipping, handling and your time to place and receive one order, in your currency.

What you pay the supplier per unit.

Storage, capital, damage and old stock. 20–30% is typical.

Economic order quantity

179 units

Rounded to minimum order and pack size
180 units
Orders per year
6.7
Days between orders
54 days
Holding cost per unit per year
3
Order sizeEveryOrderingHoldingTotal per year
Half the EOQ: 8927 days537134671
EOQ: 17954 days268268537
Twice the EOQ: 358109 days134537671
Rounded for the supplier: 18055 days267270537

Formula: √(2 × 1,200 × 40 ÷ 3) = 178.9. The days between orders are your review period in the reorder point calculator.

The EOQ formula

EOQ = √(2 × D × S ÷ H)

  • D is how many units you sell in a year.
  • S is what one order costs you regardless of its size: shipping that doesn’t grow with quantity, handling, payment fees and the time to place, receive and check it.
  • H is what keeping one unit in stock for a year costs: usually 20–30% of the unit price, for storage, the money tied up, damage and stock that ends up unsold.

Order small and often, and order costs pile up. Order big and rarely, and the stock sitting on the shelf costs more. EOQ is the size where the two are equal and their sum is lowest.

A worked example

A product sells 1,200 units a year. Each order costs 40 to place and receive, the product costs 12, and holding it costs 25% a year, so H = 12 × 0.25 = 3.

  • EOQ = √(2 × 1,200 × 40 ÷ 3) = √32,000 = 179 units
  • That is about 6.7 orders a year, one every 54 days
  • Ordering 268 + holding 268 = 537 a year
  • The supplier sells boxes of 12, so order 180: total 537, the same

Close to EOQ is good enough

The total cost curve is flat around the EOQ. In the example, ordering half as much (89 units, every 27 days) costs 671 a year, and twice as much (358 units, every 109 days) also 671: 25% more than the best case, for a 100% change in order size. Rounding 179 to a box of 180, or to a supplier minimum of 200, barely moves the total.

So treat EOQ as a range, not a target. Round to whole packs and to the supplier’s minimum, and pick an ordering rhythm you will actually keep, like every week, every other week or once a month.

Where EOQ doesn’t fit a small online store

EOQ comes from factory purchasing and assumes things that are often not true for an online store:

  • One product per order. You usually order many products from one supplier in one go, so the order cost is shared. Work out EOQ for the supplier’s whole order (yearly spend as D, average unit cost) to decide how often to order from them, then size each product line with its reorder point.
  • Steady demand. Seasonal products, launches and promotions break it. Use the coming months’ expected sales, not last year’s total.
  • No volume discounts. If 500 units come at a lower price, compare the yearly cost including the purchase price at each price break. The discount often outweighs the extra holding cost.
  • No shelf life. Supplements, cosmetics and food expire. Never order more than you can sell well before the date.

EOQ also says nothing about when to order. For that you need a reorder point with safety stock, using the days between orders EOQ gave you.

Order quantities for every product

A calculator works for one product at a time. Stokis connects to PrestaShop, WooCommerce or OpenCart, works out order quantities, rounded to each supplier’s minimum order and pack size, for every product and combination from its own sales, and drafts the supplier order with the reasoning on each line. You review and send it. Start free or see how a draft order explains each quantity.

Questions

EOQ = √(2 × D × S ÷ H), where D is annual demand in units, S is the cost of placing and receiving one order, and H is the cost of holding one unit for a year. At that quantity, yearly ordering and holding costs are equal and their total is lowest.

More free calculators

  • Safety stock calculator: How many extra units to keep for days that sell more than usual, from your service level and sales variation.
  • Reorder point calculator: The stock level at which to order, counting the days until your next ordering day, not just the lead time.