Economic Order Quantity Calculator
Enter annual demand, cost per order and holding cost per unit to find the optimal order quantity.
What this calculator does
This tool computes the economic order quantity, the order size that minimizes the combined cost of ordering and holding inventory. You enter annual demand, the cost to place one order and the holding cost per unit per year, and the main output is the EOQ in units, with orders per year and the split between ordering and holding costs shown alongside.
The EOQ formula
Three inputs drive the result. D is annual demand in units. S is the fixed cost of placing one order, covering purchasing, receiving and payment. H is the cost of holding one unit for a year, including storage, capital and obsolescence. The formula balances the two cost curves: ordering often costs more in order fees, while ordering rarely costs more in holding.
Worked example at the defaults
With 12,000 units of annual demand, a $50 cost per order and a $2 holding cost per unit, the EOQ is √(2 × 12,000 × $50 ÷ $2) = √600,000 = 774.6 units, which you would round to 775. That means 15.49 orders per year, with annual ordering cost of 15.49 × $50 = $774.60 and holding cost of (774.6 ÷ 2) × $2 = $774.60, for a total of $1,549.19.
Order size and total cost
| Order size | Orders per year | Ordering cost | Holding cost | Total cost |
|---|---|---|---|---|
| 500 units | 24 | $1,200 | $500 | $1,700 |
| 775 units (EOQ) | 15.5 | $774.60 | $774.60 | $1,549.19 |
| 1,200 units | 10 | $500 | $1,200 | $1,700 |
The table shows why the EOQ is the low point. Ordering 500 units at a time saves on holding but doubles the order fees to $1,200, while ordering 1,200 units cuts order fees but drives holding to $1,200. The 775-unit EOQ balances them at the $1,549.19 minimum.
What moves the number
- Annual demand, where higher demand supports larger orders
- Ordering cost, since expensive orders push toward fewer, larger batches
- Holding cost, since costly storage pushes toward smaller, more frequent orders
- Quantity discounts, which can make a larger order cheaper than the raw EOQ
The square-root effect of demand growth
EOQ scales with the square root of demand, not linearly. Doubling annual demand from 12,000 to 24,000 units raises the EOQ from 774.6 to √(2 × 24,000 × $50 ÷ $2) = √1,200,000 = 1,095.4 units, only about 41% larger. Total cost also grows by the square root: at 24,000 units the balanced cost is roughly $1,095 of ordering plus $1,095 of holding, so doubling volume less than doubles the combined ordering-and-holding bill. This is why per-unit inventory overhead falls as a business scales.
When EOQ applies
EOQ works best for steady, predictable demand on non-perishable items with a stable holding cost. If demand is highly seasonal, promotional or lumpy, the model under-orders in peaks and over-orders in troughs. Pair EOQ with a reorder point and safety stock for anything with real demand variation.
Adjusting for quantity discounts
A supplier discount for ordering 1,000 or more units can outweigh the higher holding cost. In that case, compare the total cost at the discounted breakpoint against the EOQ total and take whichever is cheaper. The EOQ is a starting point, not a rule that overrides a real discount.
Reading the result
Use the EOQ to set a default reorder batch, then round it to a practical number that fits pallet, case or minimum-order constraints. Recompute the EOQ whenever demand, order costs or holding costs change materially, because the optimal batch drifts with all three.
EOQ versus reorder point
EOQ answers how much to order; the reorder point answers when. The two work together. Once the EOQ tells you to order 775 units at a time, you still need to know the stock level that triggers the next order, which is the reorder point plus safety stock. Using one without the other leaves you with the right batch size but the wrong timing.
What makes up the holding cost
- Capital tied up in inventory, priced at your cost of money
- Storage, including rent, utilities and handling
- Insurance and shrinkage from damage or theft
- Obsolescence, which rises for seasonal or perishable goods
Getting the holding cost right
A common shortcut prices holding cost as a percentage of unit cost, often 20%–30% a year. On a $10 item, that is $2–$3 per unit per year, which matches this tool’s $2 default. Understating holding cost pushes the EOQ too high and leaves you overstocked, so err toward a realistic figure rather than a flattering one.
Rounding to practical order sizes
The formula returns 774.6 units, which no supplier will ship. Round to a real batch — 775 units, or up to a case or pallet multiple — and accept a tiny cost penalty. The total cost curve is flat near the EOQ, so a 775-unit order costs almost exactly the same as the theoretical optimum.
Reading the result
Use the EOQ as the default reorder batch and the total cost as the benchmark for alternatives. When a supplier offers a discount or a minimum order, compare that option’s total cost against the EOQ total and take whichever is genuinely cheaper over the year.
Frequently asked questions
What does EOQ stand for?
Economic Order Quantity. It is the order size that minimizes the combined cost of ordering and holding inventory over a year.
How is EOQ calculated?
Take the square root of 2 times annual demand times ordering cost, divided by holding cost per unit per year. At 12,000 units, $50 per order and $2 holding, the EOQ is about 775 units.
What is the difference between ordering cost and holding cost?
Ordering cost is the fixed cost of placing one order, while holding cost is the cost of keeping one unit in stock for a year. EOQ balances the two.
What are the limits of EOQ?
It assumes steady demand and stable costs, so it is less accurate for highly seasonal, promotional or perishable items where demand is lumpy.
Should I round the EOQ up or down?
Round to a practical batch that fits case packs, pallets or minimum order quantities, then compare total cost at that batch against the exact EOQ.
How does a quantity discount change the EOQ?
A discount at a higher breakpoint can make a larger order cheaper overall. Compare the total cost at the discount point against the EOQ total and pick the lower one.
What is annual holding cost?
The cost of carrying inventory for a year, including storage, capital tied up, insurance and obsolescence, expressed per unit. For most products it lands between 20% and 30% of the unit cost each year.
How often should I recalculate my EOQ?
Whenever demand, order cost or holding cost changes materially, and at least once a year as part of inventory planning. A 25% jump in demand moves the EOQ about 12%, so modest swings do not require constant re-tuning.
Method and sources
- EOQ = sqrt(2 x annual demand x ordering cost / holding cost per unit).
For educational purposes only — not financial, tax, or legal advice. Verify figures with a qualified professional before acting.