Economic Order Quantity Calculator

Balance order frequency against inventory carrying cost using the classic EOQ model.

Economic order quantity 600 units/order
Orders per year 20 orders/year
Annual order cost USD 900.00
Annual holding cost USD 900.00
Inputs
Try:
Amounts are treated in the selected currency; no foreign-exchange conversion is applied.
units / year
Expected annual unit demand.
USD / order
Administrative and delivery cost for one replenishment order.
USD / unit / year
Annual cost to hold one unit in inventory.
Results & Graph
Economic order quantity
600 units/order
Orders per year
20 orders/year
Annual order cost
USD 900.00
Annual holding cost
USD 900.00

Economic order quantity

Graph 1 • How the inputs feed Order Quantity
Economic Order Quantity Calculator • Custom Domain Schematic (Operations & Inventory) USDannualDemand Annual Demand: 12.0k units / year • Order Cost: 45 USD / order ECONOMIC ORDER QUANTITY 600 units/order • Orders per year: 20 orders/year • Annual order cost: USD 900.00 Eq: EOQ = √(2 × annual demand × orde
Graph 2 • Economic order quantity as Annual Demand changes (40% to 160% of current)
0 units/ 417.4 units/ 834.8 units/ 379.5 4.8k 464.8 7.2k 536.7 9.6k 600 12.0k 657.3 14.4k 709.9 16.8k 758.9 19.2k
Graph 3 • Annual Demand and Order Cost together Compares Economic order quantity when Order Cost is shifted +25% (solid) vs. −25% (dashed).
0 units/ 420.7 units/ 841.3 units/ --- Order Cost @ 75% 561.2 -30% 618.5 -15% 670.8 +0% 719.4 +15% 764.9 +30%
Summary: The classic EOQ model suggests orders of about 600 units under the supplied annual demand and cost assumptions.
Summary: The classic EOQ model suggests orders of about 600 units under the supplied annual demand and cost assumptions.
⚠️ EOQ assumes stable demand, fixed order cost, and average cycle stock; it excludes quantity discounts and stockout risk.
Interactive chart & math engine powered by CalculatorGraph

Formula: Economic Order Quantity Calculator

EOQ = 2 × annual demand × order cost ÷ annual holding cost per unit.
EOQ = √(2 × annual demand × order cost ÷ annual holding cost per unit).
  • annualDemand: User-entered annual demand (units / year).
  • orderCost: User-entered order cost (currency / order).
  • holdingCost: User-entered holding cost (currency / unit / year).

Rounding: Calculations retain full precision; displayed values are rounded for readability.

Frequently Asked Questions

Why are the annual order cost and holding cost always equal?

Because that is where the total is lowest. Ordering cost falls as batches get bigger, while holding cost rises. The EOQ formula finds the batch size where the two lines cross. At the default both are $900; at 7,200 units of demand both are $697.14. If they do not match, you are not ordering the economic quantity.

Can I enter monthly demand instead of annual demand?

Only if you also use a monthly holding cost, and it is easier not to. The calculator expects annual demand and holding cost per unit per year. Mixing a monthly demand with a yearly holding cost gives an order size that is too small by a factor of about 3.5. Multiply monthly demand by 12 before entering it.

What should I do if my supplier has a minimum order quantity?

If the minimum is above the EOQ, you have to order at least that amount; the calculator cannot change that. Because the cost curve is flat near the bottom, ordering somewhat above the EOQ usually costs little extra. Compare the minimum with the order quantity the page gives you, and expect higher holding cost if the gap is large.

Does the calculator include safety stock or a reorder point?

No. It only answers how much to order each time, not when to order or how much buffer to hold. A reorder point depends on supplier lead time and daily demand, and safety stock depends on how much demand and lead time vary. Work those out separately and add them to the plan.

How do quantity discounts change the answer?

The basic model assumes the unit price is the same whatever you order, so it ignores discounts. If a supplier offers a lower price above some quantity, compare the total yearly cost at the EOQ with the total at the discount quantity, including the saving on purchase price. The larger order can win if the discount is big enough.

Why does the page reject a zero order cost or zero demand?

EOQ only makes sense when all three inputs are positive. With no cost per order the formula would push the batch size toward nothing, and with no demand there is nothing to order. Rather than show a meaningless 0 unit answer, the page asks you to enter values above zero. Use at least a small realistic figure for each.

Is the holding cost the same as the unit price?

No. Holding cost is what it costs to keep one unit in stock for a year: tied-up money, storage, insurance, damage and obsolescence. It is usually a fraction of the unit price. If you enter the full unit price as the holding cost, the calculator will recommend batches that are far too small.

Does EOQ work for seasonal products?

Not well on its own. The model assumes demand is spread evenly across the year. For a product that sells mostly in a few months, run it separately for the busy season and the quiet season using the demand rate for each period, scaled to a yearly figure, and adjust the timing of orders by hand.

Why does the explanation round 464.76 units to 465?

The interpretation line rounds to whole units so it reads naturally, while the main result keeps two decimals. You cannot order a fraction of a unit, so in practice you would round to a whole number or, more often, to the nearest case or pallet size. The total cost barely changes when you do.

Can I use this for raw materials as well as finished goods?

Yes. The logic is the same for anything you buy in batches and use at a fairly steady rate. For a production run, the order cost becomes the setup cost of the run. If the item is produced gradually rather than arriving all at once, a production quantity version of the model fits better than this one.

Does EOQ tell me how much stock to hold on average?

Indirectly. In the classic model, average stock is half the order quantity, because each delivery runs down evenly to zero before the next arrives. At the default that means about half of 600 units on hand at any time. Real average stock will be higher once you add safety stock for late deliveries or a busy week.

A 600 unit order and two matching $900 costs

The default describes a product that sells 12,000 units a year. Each purchase order costs 45 to place, covering things like admin time, delivery charges and receiving. Holding one unit in stock for a year costs 3. On those numbers the calculator recommends ordering 600 units at a time.

The supporting lines show what that means in practice. You would place 20 orders a year, roughly one every two and a half weeks. Ordering would cost $900 a year, and holding stock would also cost $900 a year.

Those two cost lines will always match at the economic order quantity. That is not a coincidence of the defaults. It is what the formula is doing: it finds the order size where the cost of ordering more often exactly balances the cost of holding more stock. Order fewer, larger batches and holding cost rises faster than ordering cost falls. Order smaller batches more often and the reverse happens.

The holding cost line uses average inventory, which in this model is half the order quantity. With 600 units arriving and running down steadily to zero, the average on the shelf is half of 600 units, and that average at 3 each per year is the $900 shown.

Put the two lines together and the default plan costs twice $900 a year in ordering and holding combined. That total, not the order quantity itself, is what the model is minimising. Any other batch size you try would push the combined figure up, even if one of the two lines looks smaller on its own.

Why 50% more demand gives only a 22% bigger order

The presets change annual demand and leave the costs alone. At 7,200 units a year the order quantity is 464.76. At 18,000 units it is 734.85. Demand went up two and a half times between those two cases, but the order size went up by only about 58%.

That is the square root in the formula at work. EOQ grows with the square root of demand, so four times the demand only doubles the order size. Going from the default 12,000 to 18,000 units is a 50% rise in demand, and the order quantity rises by about 22%, from 600 to 734.85.

The number of orders per year moves the other way. At 7,200 units you place 15.49 orders a year, at 18,000 you place 24.49. Higher volume is handled mostly by ordering more often, not by holding much bigger batches.

This is useful when a product is growing. You do not need to scale your order size in line with sales. If sales double, a batch about 41% bigger, ordered more frequently, keeps total cost at its minimum.

What counts as an order cost of 45

The order cost box is where most EOQ calculations go wrong. It should hold the cost that happens once per order, whatever the size of the order. Purchase order processing, a fixed delivery fee, the time someone spends receiving and checking a shipment, and any setup charge from the supplier all belong here.

The price of the goods does not belong here. Neither do costs that scale with quantity, such as per-unit freight. Those would be paid whatever order size you choose, so they do not change the best batch size.

Because of the square root, getting this number roughly right matters more than getting it exact. Doubling the order cost from 45 to 90 raises the recommended order by about 41%, not 100%. Cutting it to a quarter halves the order size. If an online ordering system or a standing delivery slot lowers your real cost per order, the calculator will tell you to order smaller and more often.

The page will not accept an order cost of zero. With no cost per order the formula would say the cheapest plan is to order almost nothing, almost constantly, which is not a plan at all. If ordering really feels free, look again at the staff time and delivery charges involved; there is nearly always some cost to put in the box.

A practical way to estimate it is to take a typical month, add up the fixed costs that came from placing and receiving orders, and divide by the number of orders placed. If one person spends an hour on each order, the cost of that hour belongs in the figure as well as any delivery fee the supplier charges per drop.

Holding cost per unit per year, not per month

The holding cost box asks for a currency amount per unit per year. At the default it is 3. This should include the cost of money tied up in stock, storage space, insurance, shrinkage and the risk that items become obsolete or spoil.

Many businesses think of holding cost as a percentage of unit cost each year. The calculator wants a money figure, so convert first. If a unit costs 15 and your annual carrying rate is 20%, the holding cost is 3. If your figure is per month, multiply by 12 before entering it; otherwise the page will treat stock as far cheaper to keep than it really is and recommend batches that are much too large.

Holding cost acts in the opposite direction to order cost. Doubling it to 6 cuts the recommended order by about 29%, and cutting it to a quarter doubles the order size. A holding cost of zero is rejected with an error, which is the right behaviour: with free storage the formula would recommend an infinitely large order. Demand and order cost must also be above zero for the same reason.

Of all the inputs, holding cost is usually the least certain, because some of its parts, like obsolescence risk and the return you could have earned on the cash, are judgement calls. Try a low and a high estimate. If the two answers are close, the uncertainty does not matter much; if they are far apart, it is worth pinning down the figure better.

Assumptions behind the 20 orders a year

The classic EOQ model is a simplification, and the result is only as good as its fit to your situation. It assumes demand is steady through the year, so stock falls in a straight line from the order quantity to zero. It assumes each order arrives in full and instantly, the moment stock reaches zero. It assumes the unit price does not change with order size, and that running out never happens.

Real inventory breaks most of these. Sales are seasonal. Suppliers take days or weeks to deliver, so you need to reorder before stock runs out. Demand varies, so you hold safety stock. Suppliers offer price breaks at larger quantities.

None of that makes the 600 unit answer useless. It gives a sensible central batch size. You then adjust it for the things the model leaves out. A reorder point, set from lead time and daily demand, tells you when to place each order. Safety stock sits on top. A quantity discount can justify moving above the EOQ if the saving on price is bigger than the extra holding cost.

It is also worth checking that the 20 orders a year are workable. Placing an order every two and a half weeks may fit neatly into a supplier's delivery schedule, or it may clash with one. The model has no view on that, so the final choice of order rhythm is a business decision built around the EOQ figure.

How much it costs to miss the 600 unit target

One reassuring property of EOQ is that the total cost curve is flat near the bottom. Ordering a little more or a little less than the recommended quantity barely changes what you spend.

You can see this by working it out at the default. If you ordered 25% more than 600 units, ordering cost and holding cost would no longer match, but the combined cost rises by only about 2.5% above the minimum. Even ordering twice the EOQ raises total cost by 25%, not 100%.

This matters because suppliers often sell in cases, pallets or minimum order sizes. If the calculator says 600 and your supplier ships in boxes of 48, rounding to the nearest sensible pack size costs almost nothing. Rounding to fit a delivery schedule, such as a fixed fortnightly slot, is usually fine for the same reason.

It also means you do not need very precise cost inputs. A reasonable estimate of order and holding cost gets you close to the best answer. Spend effort on the inputs that are most uncertain, often the holding cost, rather than chasing extra decimal places.

The flatness works in both directions, though. Ordering much too little is penalised more sharply than ordering a bit too much, because ordering cost climbs quickly as batches shrink. At half the EOQ the combined cost is also about 25% higher than the minimum, so very small, frequent orders are as costly as doubling up.

Using EOQ alongside other inventory decisions

Run the calculator for each product separately. The best batch size for a fast seller with cheap storage is very different from that for a slow, bulky or perishable item. A single policy across a whole range usually hides costs.

Check the answer against practical limits. If the recommended order would fill more warehouse space than you have, or would sit on the shelf beyond its shelf life, the real constraint is space or freshness, not cost. EOQ gives the cost-only answer and leaves those limits to you.

Revisit it when inputs change. The defaults show that at 12,000 units a year the calculator suggests 20 orders. If demand grows toward 18,000 units, the answer moves to about 735 units and about 24.49 orders. If you renegotiate delivery charges or move to a cheaper warehouse, the balance shifts again.

Finally, treat the result as a starting point for a conversation with your suppliers and your team, not a rule. It is a planning estimate based on the figures you enter.