Skip to content

EOQ Calculator (Economic Order Quantity)

Find the economic order quantity, orders per year, time between orders and annual ordering and holding costs, with quantity discounts and the production quantity (EPQ).

Calculator Details

Economic order quantity:774.6 unitsSee results ↓

EOQ: the whole order arrives at once. EPQ: you make the item yourself and stock builds up while you produce

Units used or sold per year

Fixed cost of placing and receiving one order (or one production setup)

Purchase or production cost of one unit

A carrying rate (% of unit cost per year) or dollars per unit per year

Storage, capital, insurance, shrinkage: typically 15–30% of unit cost a year

Your Results

Economic order quantity: 774.6 units

Economic order quantity

774.6 units

About 775 per order

Orders a year

15.49

Every 16.1 working days

Annual ordering cost

$774.60

Annual holding cost

$774.60

$2.00 per unit a year

Ordering + holding

$1,549.19

$121,549.19 including purchases

Order about 775 units at a time, 15.5 times a year (every 16.1 working days), for ordering and holding costs of $1,549.19 a year.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Annual cost by order quantity

Annual cost by order quantity

Detailed Breakdown

Annual inventory costs at the EOQ
ItemPer year
Ordering: 15.49 orders × $50.00$774.60
Holding: average stock 387.3 × $2.00$774.60
Ordering + holding$1,549.19
Including purchases (D × C)$121,549.19

How This Calculator Works

How it is calculated

EOQ = √(2 × D × S ÷ H) · EPQ = √(2 × D × S ÷ (H × (1 − d/p)))

Ordering cost = D ÷ Q × S · Holding cost = Q ÷ 2 × H · Orders a year = D ÷ Q

Your numbers: H = 20% × $10.00 = $2.00. Q* = √(2 × 12,000 × $50.00 ÷ $2.00) = 774.6 units, ordered 15.49 times a year. Ordering $774.60 + holding $774.60 = $1,549.19.

Frequently Asked Questions

What is the EOQ formula?

EOQ = √(2DS ÷ 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. With D = 12,000, S = $50 and H = $2, EOQ = √(1,200,000 ÷ 2) ≈ 775 units.

What does economic order quantity mean?

The order size that keeps the yearly cost of ordering plus the cost of holding stock as low as possible. Bigger orders mean fewer orders but more stock on the shelf; smaller orders mean the opposite. At the EOQ the two annual costs are equal.

What is included in holding cost?

Everything it costs to keep stock for a year: the interest or opportunity cost of the money tied up, warehouse space, insurance, taxes, handling, obsolescence and shrinkage. It is often expressed as a carrying rate of about 15–30% of the unit cost a year.

What is included in ordering cost?

The fixed cost of each order regardless of its size: purchasing staff time, paperwork, shipping charges per delivery, receiving and inspection. For goods you make yourself, it is the setup cost of a production run.

How do I use EOQ with quantity discounts?

Enter the price breaks as quantity:price. For each price the calculator finds the EOQ, raises it to the break’s minimum if needed, and compares total cost including the purchase price. A bigger order at a lower price often wins even though holding cost rises.

What is the difference between EOQ and EPQ?

EOQ assumes the whole order arrives at once. The economic production quantity (EPQ) applies when you produce the item yourself and stock builds up gradually while it is also being used, so the peak stock is lower: Q(1 − d/p). That makes the best batch larger: √(2DS ÷ (H(1 − d/p))).

How sensitive is total cost to the order quantity?

Not very. The total cost curve is flat near the EOQ: ordering 25% more than the EOQ raises ordering-plus-holding cost by only 2.5%, and 25% less by about 4%. So rounding to a case or pallet size is usually fine.

Does EOQ tell me when to reorder?

No. EOQ says how much to order; the reorder point says when, based on daily demand and supplier lead time plus safety stock. Use the lead-time calculator for the reorder point.

The classic EOQ model (Harris 1913) as taught in Heizer, Render & Munson, Operations Management, ch. 12: steady, known demand, a fixed cost per order, a holding cost proportional to average stock, instant delivery (EOQ) or a constant production rate (EPQ), and no stockouts. Quantity discounts are all-units discounts (the whole order gets the lower price). Quantities are shown to two decimals; in practice round to a convenient pack size, which raises the cost only slightly. Not included: reorder point and safety stock (see the lead-time calculator), incremental discounts, planned backorders, uncertain demand, shelf life, storage or budget limits, and several items ordered together.

EOQ Calculator: Economic Order Quantity, Discounts and EPQ

By FindMySum · Last reviewed

This EOQ calculator finds the economic order quantity: the order size that keeps the combined yearly cost of placing orders and holding stock as low as possible. Enter annual demand, the cost per order and the holding cost (as a percentage of the unit cost or in dollars), and it shows the EOQ, how many orders that means a year and how often, the annual ordering and holding costs, and a chart of how total cost changes with order size. It can also check quantity discounts and switch to the economic production quantity (EPQ) for items you make yourself.

Worked example

The calculator opens with a business that sells 12,000 units a year, spends $50 to place and receive each order, pays $10 a unit and carries stock at 20% of its value a year.

  1. Holding cost per unit. H = 20% × $10 = $2 a unit a year.
  2. EOQ. √(2 × 12,000 × $50 ÷ $2) = √600,000 ≈ 774.6 units.
  3. Orders a year. 12,000 ÷ 774.6 ≈ 15.5 orders, or one every 16.1 working days over 250 days.
  4. Costs. Ordering 15.49 × $50 = $774.60 and holding 774.6 ÷ 2 × $2 = $774.60, a total of $1,549.19 a year. The purchases themselves add $120,000.

Ordering 1,000 at a time instead would cost $600 in ordering and $1,000 in holding, $1,600 in total, only $51 more: the cost curve is flat near the EOQ, so rounding to a convenient case or pallet size costs little.

The trade-off behind the formula

Every inventory decision balances two costs. Placing orders has a fixed cost each time: purchasing time, paperwork, freight minimums and receiving. Holding stock has a cost that grows with how much sits on the shelf: money tied up, space, insurance, shrinkage and obsolescence. Large, infrequent orders save on the first and spend on the second; small, frequent orders do the opposite.

If demand is steady and each order arrives all at once, stock falls in a sawtooth from Q to zero, so the average on hand is Q ÷ 2. Annual ordering cost is (D ÷ Q) × S and annual holding cost is (Q ÷ 2) × H. Adding them and finding the minimum gives Ford Harris's 1913 result, EOQ = √(2DS ÷ H). The square root explains a useful rule of thumb: doubling demand raises the best order size by only about 41%, and cutting the ordering cost by three-quarters halves it.

Quantity discounts

Suppliers often charge less per unit for larger orders. With all-units discounts, where the whole order gets the lower price, the cheapest plan may be to order more than the EOQ. The calculator follows the textbook method: for each price break it works out the EOQ at that price, raises it to the break's minimum quantity if it falls below, rejects prices whose EOQ is above their range, then compares the total annual cost including the purchase price. In Heizer and Render's example of 5,000 units a year with a $49 order cost and a 20% carrying rate, buying 1,000 at a time at $4.80 costs $24,725 a year, less than ordering the EOQ of 700 at $5.00 ($25,700) or 2,000 at $4.75 ($24,822.50).

Economic production quantity

When a business makes the item itself, stock builds up gradually while production runs and is used at the same time, so it never reaches the full batch size. With production rate p and demand rate d, the peak is Q × (1 − d ÷ p), and the best batch is EPQ = √(2DS ÷ (H × (1 − d ÷ p))), where S is now the setup cost of a run. Making 8 units a day while using 4, with a $10 setup and $0.50 holding cost and 1,000 units a year, gives a batch of about 283 units.

Using the result

EOQ answers "how much"; it doesn't answer "when". Combine it with a reorder point (daily demand × lead time, plus safety stock), which the lead-time calculator works out. Revisit the numbers when demand, prices or costs change, and treat the result as a guide: the model assumes steady, known demand and no stockouts, which real businesses only approximate.

More questions

Who came up with the EOQ formula?

Ford W. Harris, an engineer at Westinghouse, published it in 1913 in an article titled "How many parts to make at once". It was later popularised by the consultant R. H. Wilson, so it is sometimes called the Wilson formula.

Is EOQ still used with just-in-time inventory?

Yes, as a way of thinking. Just-in-time systems cut the ordering or setup cost S, through supplier partnerships, electronic ordering and quick changeovers, and the EOQ formula shows why that matters: when S falls, the best order size falls with its square root, so small, frequent deliveries become economical.

What if my demand is seasonal?

The basic EOQ assumes steady demand. For seasonal items, calculate an EOQ for each season with that season's demand rate expressed per year, or use a lot-sizing method such as Wagner-Whitin or period order quantity that works period by period.

How do I estimate my carrying rate?

Add the cost of capital (your borrowing rate or required return), storage and handling as a share of inventory value, insurance and taxes, and losses from damage, theft and obsolescence. Many businesses land between 15% and 30% a year; fast-obsolescing goods like electronics or fashion can be much higher.

Why are ordering and holding costs equal at the EOQ?

Annual ordering cost DS/Q falls as Q grows and annual holding cost QH/2 rises in a straight line. The total is lowest where the slope of one cancels the other, and for these two particular curves that point is exactly where they cross. Solving DS/Q = QH/2 gives the EOQ formula directly.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy