Economic Order Quantity (EOQ): Formula, Examples and Limits

How much should you order each time you restock? Order too little and you are placing orders constantly, paying shipping and admin every time. Order too much and your cash sits on a shelf while you pay to store it. Economic order quantity, or EOQ, is a classic formula that finds the order size where those two costs balance out.

I’m Trevor Fenner. I have been selling online since 2005, I founded Ecommerce Paradise in 2015, and I sold a multi-store portfolio doing about $7M a year in 2022. EOQ is not magic, and real suppliers do not always let you order the perfect amount. But understanding it changes how you think about every purchase order. This guide covers the formula, a full worked hypothetical example, the assumptions behind it, its limits and how it connects to reorder points and safety stock.

If you are still setting up your stock records, read my inventory software for beginners guide first. EOQ needs reliable demand and cost numbers to be useful.

Disclosure: this guide contains no paid placements. Read our editorial standards.

What is economic order quantity?

Economic order quantity is the order size that minimizes the total of two costs: the cost of placing orders and the cost of holding inventory. It answers one question: how many units should I buy each time I reorder?

There is a tradeoff at the heart of it. Big orders mean fewer orders per year, so you spend less on ordering, but you hold more stock on average, so you spend more on holding it. Small orders flip that. EOQ finds the sweet spot in the middle.

The EOQ formula

Here is the standard formula, written in plain text.

EOQ = square root of (2 × D × S ÷ H)

  • D is annual demand in units.
  • S is the cost to place one order, sometimes called the ordering or setup cost.
  • H is the cost to hold one unit in inventory for a year.

The MIT D-Lab supply chains lecture on inventory management presents the same model with different letters: the optimal order quantity equals the square root of 2 times the fixed order cost times the demand rate, divided by the holding cost. Same math, same idea.

What goes into ordering cost

Ordering cost is everything it takes to place and receive one order, regardless of how many units are in it. Think purchase order admin time, a fixed freight charge per shipment, receiving and inspection time, and payment processing fees per invoice. If an order costs you about the same whether you buy 100 units or 300, that cost belongs in S.

What goes into holding cost

Holding cost is what it costs to keep one unit in stock for a year. That includes storage space or 3PL fees, insurance, shrink and damage, and the cost of the cash tied up in the product. Many businesses estimate holding cost as a percentage of the unit cost per year. Whatever you use, write down how you got the number so you can update it later.

A full worked example

This is a hypothetical example to show the math step by step. The numbers are made up for illustration.

Say you sell a product with steady demand of 2,400 units a year. Each purchase order costs you about $50 to place and receive. Holding one unit for a year costs about $3.

Step 1: plug in the numbers

2 × D × S = 2 × 2,400 × $50 = 240,000.

Divide by H: 240,000 ÷ $3 = 80,000.

Take the square root: the square root of 80,000 is about 282.8.

So your economic order quantity is about 283 units per order.

Step 2: how many orders per year

Annual demand ÷ EOQ = 2,400 ÷ 283 = about 8.5 orders a year. Roughly one order every six weeks.

Step 3: check the costs

Annual ordering cost = number of orders × S = 8.5 × $50 = about $424.

Average inventory = EOQ ÷ 2 = 283 ÷ 2 = about 141.5 units.

Annual holding cost = average inventory × H = 141.5 × $3 = about $424.

Notice the ordering cost and holding cost come out equal. That is not a coincidence. In the basic EOQ model, total cost is lowest right where those two lines cross. Total cost here is about $849 a year.

Step 4: compare with ordering by gut feel

Now say you usually just order 1,200 units twice a year because it feels easier. Ordering cost is 2 × $50 = $100. Average inventory is 600 units, so holding cost is 600 × $3 = $1,800. Total is $1,900 a year, more than double the EOQ total.

Or say you order 100 units at a time. That is 24 orders a year, so ordering cost is $1,200. Average inventory is 50 units, so holding cost is $150. Total is $1,350. Better than the big order, still worse than EOQ.

That is the point of EOQ. It shows you how far off your current habit is, in dollars.

EOQ, reorder point and safety stock

EOQ tells you how much to order. It does not tell you when. That is the job of the reorder point.

Reorder point

The basic reorder point is demand during lead time plus safety stock. In our hypothetical example, 2,400 units a year is about 6.6 units a day. If your supplier takes 14 days to deliver, lead time demand is about 92 units.

Safety stock

Real demand bounces around, and suppliers are sometimes late. Safety stock is the buffer for that. The ASCM article on safety stock quotes the APICS Dictionary definition: inventory carried to protect against forecast errors and fluctuations in demand or supply.

The MIT logistics lecture on probabilistic demand lays out the logic: pick a safety factor, calculate safety stock from the variability of demand over the lead time, then add it to expected lead time demand to get the reorder point.

In our example, say you decide on 40 units of safety stock. Your reorder point is 92 + 40 = 132 units. When stock drops to 132, you place an order for about 283 units.

Putting it together

  • EOQ: order about 283 units each time.
  • Reorder point: order when stock hits about 132 units.
  • Safety stock: about 40 units of buffer for surprises.

That is a simple, complete replenishment policy for one product. Inventory software can run it across hundreds of SKUs automatically.

The assumptions behind EOQ

EOQ is a model, and models simplify. The classic version assumes:

  • Demand is steady and known.
  • Lead time is constant.
  • Ordering cost is fixed per order.
  • Holding cost per unit is constant.
  • The whole order arrives at once.
  • There are no quantity discounts.
  • Stockouts do not happen.

Real businesses break most of these. That does not make EOQ useless. It makes it a starting point you adjust with judgment.

The limits of EOQ in real life

Supplier minimums

Your EOQ might say 283 units, but your supplier’s minimum is 500. Now you have a decision. Pay for the extra holding cost, negotiate a lower minimum, or find another supplier. The Supplier Paradise guide to minimum order quantities walks through how to evaluate a minimum before you commit.

Quantity discounts

If buying 500 units drops the unit price, compare total annual cost at each price break, including the purchase cost itself. A discount can beat EOQ, or it can be a trap that turns into dead stock. Run the numbers.

Seasonal and trending demand

EOQ assumes flat demand. If you sell seasonal products, calculate EOQ for each season separately, or use forecasting software that adjusts order sizes as demand changes. I compare options in my roundup of inventory forecasting software.

Shelf life and obsolescence

If a product expires or goes out of style, the true holding cost is much higher than storage. Order smaller than EOQ suggests for anything perishable or trendy.

Cash constraints

EOQ does not know your bank balance. If cash is tight, you may need to order smaller and more often even if it costs a bit more per year. That tradeoff is often worth it.

Container and pallet sizes

If you import by the container or ship by the pallet, freight can jump in steps. Round your order to a size that fills the space you are paying for, then check that the total cost is still reasonable.

How to estimate your holding cost

Holding cost is the input people struggle with most, so here is a simple way to estimate it. Add up a year of the costs that grow with the amount of stock you carry: storage or 3PL fees, insurance on inventory, losses from damage and shrink, and a charge for the cash tied up. Divide that by your average inventory value. The result is your annual holding rate as a percentage.

Say, hypothetically, your holding rate works out to 15% a year and a unit costs you $20. Your holding cost per unit is $20 × 15% = $3 a year, which is the number used in the example above. If your products are bulky, fragile or perishable, your rate will be higher. If they are small and durable, it will be lower.

Do not forget the cash piece. Money in inventory is money you cannot spend on ads or new products. Even if you have no loan, that cash has a cost. The SBA’s manage your business guidance calls the balance sheet the foundation of managing your finances, and inventory sits right on it.

EOQ with a quantity discount: a worked example

Suppliers love price breaks. Here is how to check whether one is worth it, using the same hypothetical product. The unit price is $20 for orders under 500 units and $19 for orders of 500 or more. Holding cost stays at $3 per unit per year to keep the math simple.

At the EOQ of 283 units, you pay $20 a unit. Purchase cost is 2,400 × $20 = $48,000. Add ordering and holding of about $849, and the total is about $48,849 a year.

At 500 units, you pay $19 a unit. Purchase cost is 2,400 × $19 = $45,600. You place 2,400 ÷ 500 = 4.8 orders a year, so ordering cost is 4.8 × $50 = $240. Average inventory is 250 units, so holding cost is 250 × $3 = $750. The total is about $46,590 a year.

In this example, the discount wins by about $2,259 a year. But keep that in mind only if demand really is steady. If this product is trendy or seasonal, those extra units on the shelf can turn into dead stock and wipe out the savings. Always ask what happens if sales drop by half.

How sensitive is EOQ to bad inputs?

Here is some good news. EOQ is fairly forgiving. Because of the square root, a mistake in your inputs leads to a smaller mistake in the order quantity.

In our hypothetical example, if your holding cost were really $4 instead of $3, EOQ drops from about 283 to about 245 units. A one third error in holding cost changed the order size by only about 13%. And total cost stays fairly flat near the optimum, so being somewhat off still gets you most of the savings.

That is why I tell people not to overthink the inputs. A reasonable estimate today beats a perfect number you never calculate.

When EOQ makes sense and when it does not

EOQ works well for steady sellers you reorder regularly from the same supplier, like consumables, replacement parts and evergreen products. It is less useful for one-off buys, new products with no sales history, fashion and seasonal items, and dropshipped products you never hold.

If you run a dropshipping store, your supplier carries the stock, so EOQ is their problem, not yours. If you run a hybrid model and stock your best sellers, EOQ fits those stocked items nicely.

How inventory software helps

You can calculate EOQ in a spreadsheet for a handful of products. Once you have dozens or hundreds of SKUs, software saves real time. Look for reorder points, minimum and maximum stock rules, supplier lead times, purchase order suggestions and forecasting.

For example, Odoo lists reordering rules with suggested minimums and maximums based on sales history, and Finale lists min and max reordering with sales velocity forecasting. My roundup of the best inventory management software for small business covers options across budgets.

Then measure whether it works. If your EOQ and reorder points are set well, your inventory turnover should improve and stockouts should drop. My guide to the inventory turnover ratio shows how to track that. And if you find products that keep piling up, my guide to dead stock covers what to do.

A simple EOQ spreadsheet setup

If you want to try this today, set up a spreadsheet with one row per product and these columns.

  1. SKU and product name.
  2. Annual demand in units, from the last 12 months of sales.
  3. Ordering cost per order.
  4. Holding cost per unit per year.
  5. EOQ, using the formula square root of (2 × demand × ordering cost ÷ holding cost).
  6. Supplier minimum order quantity.
  7. Final order quantity, the higher of EOQ and the minimum, rounded to case packs.
  8. Lead time in days and average daily demand.
  9. Safety stock.
  10. Reorder point, lead time demand plus safety stock.

Review it every quarter, or sooner if demand shifts. That alone beats reordering by feel.

Economic order quantity FAQ

What is the EOQ formula?

EOQ equals the square root of 2 times annual demand times ordering cost per order, divided by holding cost per unit per year.

What is a good example of EOQ?

In a hypothetical example with annual demand of 2,400 units, an ordering cost of $50 and a holding cost of $3 per unit per year, EOQ is about 283 units, or about 8.5 orders a year.

What is the difference between EOQ and reorder point?

EOQ tells you how much to order. The reorder point tells you when to order, usually demand during the supplier lead time plus safety stock.

Does EOQ work with supplier minimums?

Not directly. If the minimum is higher than your EOQ, compare the total cost of ordering the minimum against negotiating a lower one or switching suppliers.

Is EOQ still relevant in 2026?

Yes, as a starting point. Most modern inventory and forecasting tools build on the same ideas of balancing ordering and holding costs, then adjust for seasonality, lead times and minimums.

How often should I recalculate EOQ?

Recalculate at least every quarter, and any time demand, supplier pricing, freight costs or storage costs change in a big way. A new supplier or a new 3PL contract is a good trigger to rerun the numbers.

Can I use EOQ for a Shopify store?

Yes, for products you stock and reorder regularly. Pull 12 months of unit sales from your Shopify reports for annual demand, estimate your ordering and holding costs, and run the formula per SKU.

My bottom line

Economic order quantity is a simple formula with a useful lesson: every order size has a cost, and the cheapest one is usually somewhere in the middle. Calculate it for your steady sellers, pair it with a reorder point and safety stock, then adjust for supplier minimums, discounts and cash.

Do not chase perfect inputs. Get reasonable numbers, set the policy and review it every quarter. If you are building a store and want the supplier and inventory side set up right from day one, my team does done-for-you store builds for clients.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top