EOQ Formula and Calculator: Economic Order Quantity

Quick summary: The EOQ formula is EOQ = √(2 × annual demand × cost per order ÷ holding cost per unit per year). If you sell 2,400 units a year, pay $50 each time you order and $6 a year to hold one unit, your economic order quantity is 200 units, about 12 orders a year.

Last reviewed December 1, 2026. Free tool, no sign-up, and your numbers stay in your browser.

Your first step today

Do this today

Run this calculator with real numbers (a real quote, a real price), not guesses, and save the result in your startup budget.

Start small. Your first goal is $500 a month. That is where I started. — Trent

Get the free Startup Kit

Five free files: a startup checklist (PDF), a one-page business plan (Word and PDF), a full plan template (Word), a financials workbook (Excel), and a startup cost worksheet (Excel). Enter your email and the downloads open on the next page. No credit card.

Free Startup Kit signup

What is economic order quantity?

Economic order quantity, or EOQ, is the order size that keeps two costs as low as possible together. Ordering often in small batches means paying shipping and handling again and again. Ordering a lot at once means cash and shelf space tied up in stock. EOQ finds the middle point where the yearly cost of ordering and the yearly cost of holding inventory add up to the smallest total.

It is useful for any business that reorders the same items: an online store, a coffee shop buying cups, a salon buying color, or a contractor stocking parts.

How do you use the EOQ calculator?

  1. Enter annual demand, the number of units you expect to sell or use in a year.
  2. Enter the cost per order. This is what each order costs no matter how big it is, such as a flat shipping charge, receiving time and the time to place it. Leave out the price of the goods.
  3. Enter the holding cost per unit per year, in dollars or as a percent of what one unit costs you.
  4. Optional: add supplier lead time and safety stock to get a reorder point.

What is the EOQ formula?

EOQ = √(2DS ÷ H)

  • D = annual demand in units
  • S = fixed cost per order
  • H = holding cost per unit per year

Total yearly ordering and holding cost = (D ÷ Q) × S + (Q ÷ 2) × H, where Q is your order size. EOQ is the Q that makes that total smallest, as shown in this LibreTexts operations management chapter on EOQ. At the EOQ, the yearly ordering cost and the yearly holding cost are equal, which is a quick way to check the math.

Worked example: 2,400 units a year

StepResult
EOQ√(2 × 2,400 × $50 ÷ $6) = √40,000 = 200 units
Orders per year2,400 ÷ 200 = 12, about every 30 days
Yearly ordering cost12 × $50 = $600
Yearly holding cost(200 ÷ 2) × $6 = $600
Total$1,200 a year
Reorder point, 7-day lead time2,400 ÷ 365 × 7 = about 46 units

All of these figures are example inputs. Your own costs will differ, so use your real shipping, storage and product costs.

How do you estimate holding cost?

Holding cost is what it costs to keep one unit on hand for a year. Add up what applies to you: storage space, insurance, items that spoil, break or go missing, and the money tied up in stock that you could use elsewhere. If you only know the total, divide your yearly cost of carrying inventory by the average number of units you keep. Or pick the percent option and enter your own yearly rate as a share of unit cost.

When to reorder: EOQ plus a reorder point

EOQ tells you how much to order. The reorder point tells you when. A basic reorder point is daily demand times lead time, plus any safety stock you keep for slow deliveries or busy weeks. Set your buffer with the safety stock calculator, then enter it here.

When EOQ does not fit

  • Bulk discounts or minimum orders. EOQ assumes the unit price stays the same. If a bigger order gets a lower price, compare your total cost at that size too.
  • Seasonal or new products. EOQ assumes steady demand. For a holiday item or a new launch, plan by season instead.
  • Short shelf life. If items expire, never order more than you can sell before they do.

Frequently asked questions

What does EOQ stand for?

EOQ stands for economic order quantity, the order size that keeps the combined yearly cost of ordering and holding inventory as low as possible.

Does the EOQ formula include the price of the product?

No. In the basic EOQ formula, the price you pay per unit is the same no matter how you order, so it does not change the answer. It only affects holding cost if you use the percent-of-unit-cost option.

What if the EOQ is not a whole number?

Round to a practical order size, such as a full case. The calculator shows the yearly cost of the rounded number so you can see it barely changes. The total cost curve is flat near the EOQ.

Can I use EOQ for monthly demand?

Yes, as long as demand and holding cost use the same time period. The easiest way is to multiply monthly demand by 12 and use yearly holding cost.

How is EOQ different from safety stock?

EOQ is how much to order each time. Safety stock is the extra buffer you keep in case demand or delivery times change. Most businesses use both.

Does this EOQ calculator save my data?

No. The math runs in your browser and nothing is sent to us.


General information, not financial advice. Costs are inputs you supply. Source checked December 1, 2026: LibreTexts, Introduction to Operations Management, section 9.4.