Economic Order Quantity (EOQ): Formula, examples, and calculator

Guide9 mins read | Posted on August 4, 2026 | By Henry Jose

Order too little, and you place orders all the time, paying for each one. Order too much, and you pay to store, insure, and finance stock that sits on the shelf. EOQ finds the point in between.

This guide explains what EOQ stands for, gives the formula, works through it step by step, shows how to handle quantity discounts, minimum order quantities, and production runs, and explains how EOQ fits with reorder points and safety stock.

At a glance

  • EOQ stands for economic order quantity: how many units to order each time.

  • EOQ = √(2 × annual demand × cost per order ÷ holding cost per unit per year).

  • At the EOQ, annual ordering cost equals annual holding cost.

  • Total cost changes little near the EOQ, so rounding to pack sizes is fine.

  • EOQ decides how much to order. The reorder point decides when.

EOQ calculator  

Enter your figures to find your economic order quantity.

Input

Your value

Annual demand (units)

 

Cost per order ($)

 

Holding cost per unit per year ($), or unit cost and holding rate (%)

 

Results: EOQ (units), orders per year, days between orders, annual ordering cost, annual holding cost, and total annual cost.

You can also use Zoho's free EOQ calculator.

What is economic order quantity?  

Economic order quantity is the number of units to order each time that minimizes the combined yearly cost of placing orders and holding stock. It is calculated from your annual demand, your cost per order, and your holding cost per unit per year.

EOQ is also called the optimal order quantity, and its formula is sometimes called the Wilson formula. The model dates back to 1913, when Ford W. Harris published it for deciding how many parts a factory should make at once.

Every ordering decision balances two costs that move in opposite directions:

  • Ordering cost falls as order size rises, because you place fewer orders.

  • Holding cost rises as order size rises, because you carry more stock on average.

EOQ is the order size where the sum of the two is lowest.

The EOQ formula  

EOQ = √(2DS ÷ H)

  • D = annual demand in units

  • S = cost of placing one order

  • H = cost of holding one unit for a year

If you know your holding cost as a percentage of the unit cost, work out H first:

H = unit cost × annual holding rate

Illustrative example: An item costs $500 and your holding rate is 20% a year. H = $500 × 0.20 = $100 per unit per year.

Other formulas you will use with EOQ  

Orders per year = D ÷ EOQ

Days between orders = days in the year ÷ orders per year

Annual ordering cost = (D ÷ Q) × S

Annual holding cost = (Q ÷ 2) × H

Total annual cost = (D ÷ Q) × S + (Q ÷ 2) × H + (D × unit cost)

Q is your order quantity. Holding cost uses Q ÷ 2 because stock falls from Q to zero between deliveries, so you hold half an order on average.

How to calculate EOQ: worked example  

Illustrative example: A stationery wholesaler sells 1,000 boxes of printer paper a year. Each order costs $200 to place (raising the purchase order, receiving, checking, and paying the invoice). Holding one box for a year costs $10.

  1. EOQ = √(2 × 1,000 × $200 ÷ $10) = √40,000 = 200 boxes

  2. Orders per year = 1,000 ÷ 200 = 5

  3. Days between orders = 365 ÷ 5 = 73 days

  4. Annual ordering cost = 5 × $200 = $1,000

  5. Annual holding cost = (200 ÷ 2) × $10 = $1,000

  6. Total ordering and holding cost = $2,000

Ordering and holding costs are equal at the EOQ. That is always true for the basic model, and it is a quick way to check your arithmetic.

Why EOQ works: cost at different order sizes  

Order size

Orders per year

Annual ordering cost

Annual holding cost

Total

100

10

$2,000

$500

$2,500

160

6.25

$1,250

$800

$2,050

200 (EOQ)

5

$1,000

$1,000

$2,000

240

4.2

$833

$1,200

$2,033

500

2

$400

$2,500

$2,900

Two things stand out. Small orders pile up ordering costs, and big orders pile up holding costs. And near the EOQ the total barely moves: ordering 160 or 240 boxes instead of 200 costs only 1% to 3% more. EOQ is a target zone, not a single number you must hit exactly.

The EOQ graph  

Plotted against order size, ordering cost is a falling curve, holding cost is a rising straight line, and total cost is a U-shaped curve. The bottom of the U sits where the two cost lines cross. That crossing point is the EOQ.

How to work out ordering cost and holding cost  

Ordering cost is everything you spend to place and receive one order, apart from the goods themselves. Holding cost is everything it costs to keep one unit in stock for a year. Both are estimates; reasonable figures from your own accounts are better than guesses.

Ordering cost (S) includes  

  • Time spent raising, approving, and sending the purchase order.

  • Freight or delivery charges that are fixed per order rather than per unit.

  • Receiving, inspecting, and putting away the delivery.

  • Processing and paying the supplier's invoice.

Add up these costs for a typical month and divide by the number of orders placed that month.

Holding cost (H) includes  

  • Capital cost: the interest or return you lose by having cash tied up in stock. Often the biggest part.

  • Storage: rent, utilities, and warehouse staff, shared across the stock held.

  • Insurance and taxes on stock.

  • Shrinkage, damage, and obsolescence: stock that is lost, spoiled, or goes out of date.

Add these up for a year and divide by your average inventory value to get a holding rate. See carrying cost for how to calculate each part.

How EOQ changes when your numbers change  

Because EOQ uses a square root, it changes more slowly than its inputs:

  • Demand doubles: EOQ rises by about 41% (√2), not 100%.

  • Ordering cost halves: EOQ falls by about 29%.

  • Holding cost doubles: EOQ falls by about 29%.

In practice, this means EOQ is forgiving of rough estimates. An ordering cost estimate that is 20% off moves EOQ by only about 10%. It also means that the best way to order smaller quantities more often is to cut the cost of placing an order, for example, with standing orders or automatic purchase orders.

EOQ with quantity discounts  

If a supplier offers a lower price for bigger orders, compare the total annual cost (purchase cost plus ordering cost plus holding cost) at the EOQ and at each discount break. Choose the quantity with the lowest total.

Illustrative example: A business buys 12,000 units a year. Each order costs $1,500 to place. The unit price is $200, falling to $196 (2% off) for orders of 2,000 units or more. The holding rate is 20% a year.

Step 1: EOQ at the normal price. H = $200 × 0.20 = $40. EOQ = √(2 × 12,000 × $1,500 ÷ $40) = √9,00,000 ≈ 949 units.

Step 2: Check the discount price. H = $196 × 0.20 = $39.20. EOQ ≈ 958 units, which is below 2,000, so to get the discount you must order 2,000.

Step 3: Compare total annual cost.

 

Order 949 at $200

Order 2,000 at $196

Purchase cost (12,000 units)

$2,400,000

$2,352,000

Ordering cost

$18,968

$9,000

Holding cost

$18,980

$39,200

Total

$2,437,948

$2,400,200

Taking the discount saves about $37,700 a year, even though the holding cost doubles. If the discount were only 0.25%, the saving on purchases ($6,000) plus the lower ordering cost would not cover the extra holding cost of about $20,900, and the EOQ would win. Always run the comparison; do not assume a discount pays.

EOQ with minimum order quantities and pack sizes  

  • Minimum order quantity (MOQ) above your EOQ: you have to order the MOQ. Use the total cost formula to see what it costs you, and use that figure when negotiating a lower MOQ.

  • Pack or case sizes: round the EOQ to the nearest whole pack. As the cost table above shows, a small deviation costs very little.

  • Shelf life: never order more than you can sell before the product expires, whatever the EOQ says.

  • Storage space: if the EOQ does not fit, the space limit wins.

Economic production quantity (EPQ) for manufacturers  

In brief: If you make the item yourself rather than buy it, units arrive gradually as they are produced, not all at once. The economic production quantity (EPQ) adjusts EOQ for this, using your production rate. It gives a larger batch than EOQ, because stock builds up more slowly.

EPQ = √(2DS ÷ (H × (1 − d ÷ p)))

  • S here is the setup cost per production run.

  • d is the demand rate (units per day).

  • p is the production rate (units per day).

Illustrative example: Annual demand is 12,000 units, sold at 48 a day. The line makes 120 a day. Each setup costs $3,000, and the holding cost is $15 per unit per year.

EPQ = √(2 × 12,000 × $3,000 ÷ ($15 × (1 − 48 ÷ 120))) = √(7,20,00,000 ÷ 9) = √80,00,000 ≈ 2,828 units per run.

EOQ, reorder point, and safety stock  

EOQ tells you how much to order. The reorder point tells you when to order: the stock level that covers demand during the supplier's lead time, plus safety stock for surprises. Safety stock protects you when demand or lead time is higher than expected.

Reorder point = (average daily usage × lead time in days) + safety stock

Illustrative example: The stationery wholesaler sells 1,000 boxes a year over 250 working days, so 4 boxes a day. The supplier delivers in 10 working days, and the wholesaler keeps 20 boxes of safety stock.

Reorder point = (4 × 10) + 20 = 60 boxes. When stock falls to 60, the wholesaler orders the EOQ of 200.

See reorder point and safety stock for the full calculations.

EOQ assumptions and limitations  

The basic EOQ model assumes steady, known demand; fixed ordering and holding costs; a constant price; instant delivery of the whole order; and no stockouts. Real businesses break some of these, so treat EOQ as a starting point and adjust.

Assumption

When it breaks

What to do

Demand is steady and known

Seasonal or trending demand

Recalculate EOQ per season, using that season's demand rate

Price is fixed

Quantity discounts

Compare total cost at each price break

The whole order arrives at once

You produce it yourself

Use EPQ

Lead time is fixed

Suppliers deliver late or early

Add safety stock and set a reorder point

No stockouts

Demand spikes

Safety stock covers this, not EOQ

Costs are known

Ordering and holding costs are estimates

EOQ is forgiving; use reasonable estimates and review yearly

EOQ also treats each item on its own. If you order several items from one supplier, it can be cheaper to order them together on a fixed cycle so the freight and ordering cost are shared.

When should you use EOQ?  

  • Use it for items with fairly steady demand that you buy repeatedly, especially B and C items in an ABC analysis, where a simple rule saves planning time.

  • Use it with care for A items, where better forecasting and closer supplier coordination usually pay off more.

  • Do not rely on it for one-off purchases, new products with no demand history, highly seasonal items or perishables with short shelf lives.

EOQ in Zoho Inventory  

In Zoho Inventory, you set a reorder point for each item and get alerts when stock falls to it. Use your EOQ as the quantity on the purchase orders you raise from those alerts, so every order is the size that keeps costs lowest. Zoho Inventory's reports on stock and sales history give you the annual demand figure for each item.

Frequently Asked Questions

What does EOQ stand for?  

Economic order quantity: the order size that keeps the combined cost of ordering and holding stock lowest.

What is the EOQ formula?  

EOQ = √(2DS ÷ H), where D is annual demand, S is the cost per order and H is the holding cost per unit per year.

What is the EOQ model?  

The model behind the formula. It balances ordering cost, which falls with bigger orders, against holding cost, which rises with them.

Who developed the EOQ formula?  

Ford W. Harris published it in 1913. It is also called the Wilson formula, after R. H. Wilson, who later applied it widely.

Why is holding cost divided by 2 in EOQ?  

Stock falls from a full order to zero between deliveries, so on average you hold half an order.

How is EOQ different from a reorder point?  

EOQ is how much to order. The reorder point is the stock level at which you place the order.

Can EOQ be used for seasonal products?  

Only if you recalculate it for each season with that season's demand. For short seasons with one buying chance, a one-time buy decision fits better.

What if my supplier's minimum order is higher than my EOQ?  

Order the minimum, calculate what it costs you over the EOQ, and use that figure to negotiate.

What is the difference between EOQ and EPQ?  

EOQ is for bought items that arrive all at once. EPQ is for items you produce, where stock builds up gradually during the run.

What are the main limitations of EOQ?  

It assumes steady demand, fixed costs and prices, and instant delivery. It does not set safety stock or account for storage limits, shelf life, or discounts unless you adjust for them.

 

Leave a Reply

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

The comment language code.
By submitting this form, you agree to the processing of personal data according to our Privacy Policy.
Thank you! Our team will get in touch with you shortly.