Economic order quantity (EOQ) calculator

Enter how many units you sell a year, what one order costs to place and what it costs to hold one unit for a year. The calculator finds the order size that keeps the sum of ordering and holding costs lowest.

Holding cost given as
Economic order quantity, units100
Orders per year
10
Days between orders
36.5
Annual ordering cost
100.00
Annual holding cost
100.00
Total annual cost
200.00

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter annual demand in units.
  2. Enter the cost of placing one order: admin time, delivery and inspection charges.
  3. Enter the holding cost per unit per year, or the unit cost and a yearly holding rate.
  4. Read the economic order quantity, the number of orders a year, the days between them and the costs.

The formula

EOQ = √(2DS / H)

  • orders per year = D / EOQ;
  • days between orders = days in the year / orders per year;
  • annual ordering cost = orders per year × S;
  • annual holding cost = EOQ / 2 × H (average stock is half an order);
  • total = ordering + holding.

Worked example

Demand 1,000 units a year, 10 per order, holding 2 per unit per year:

EOQ = √(2 × 1,000 × 10 / 2) = √10,000 = 100 units. That is 10 orders a year, one every 36.5 days. Ordering costs 10 × 10 = 100 and holding 100 / 2 × 2 = 100, so the total is 200.00 a year.

If the unit costs 8 and holding is 25 % of that per year, H = 2 again and the answer is the same.

Tips

  • The total cost curve is flat near the EOQ: ordering 80 or 120 units instead of 100 costs only a little more, so rounding to a pack size is fine.
  • Use the same currency for order and holding costs; the result in units does not depend on which currency.
  • Recalculate when demand or supplier charges change.

Frequently asked questions

What is the EOQ formula?

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

What goes into holding cost?

Everything it costs to keep stock for a year: storage space, insurance, spoilage and obsolescence, and the money tied up in it. It is often given as a percentage of the unit cost, typically 15 to 30 % in textbook examples; choose "% of unit cost" to enter it that way.

What are the limits of EOQ?

The model assumes steady demand, a fixed cost per order, no quantity discounts and that each order arrives all at once. Real businesses round the result to pack or pallet sizes and add safety stock.

Does EOQ tell me when to order?

No, only how much. Use the reorder point calculator to find the stock level at which to place the next order.

More in Finance

All tools in this category: Finance ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.