EOQ Calculator — Economic Order Quantity

Calculate the continuous order quantity that minimises annual ordering plus holding cost in the basic deterministic EOQ model. Purchase costs, shortages, quantity discounts, minimum orders and capacity constraints are not included. Treat the result as a model calculation, not an automatically executable purchasing plan.

How to use it

  1. Enter finite positive annual demand, ordering cost per order and holding cost per unit per year. Use the same currency for both costs.
  2. If holding cost is supplied as an annual percentage of unit purchase cost, convert it to a monetary cost per unit per year before entering it.
  3. Optionally enter lead time in days, including zero. Use working days consistent with that demand rate; a blank uses 365, but an invalid entered number is not silently replaced.
  4. Read continuous EOQ, orders per year, cycle length and relevant annual ordering plus holding costs. A fractional EOQ is not a supplier-approved integer order quantity.
  5. Copy the assumptions and working, then review supplier constraints, uncertainty and the appropriate inventory model before using an order plan.

The continuous EOQ formula

For positive annual demand D, fixed ordering cost S and annual holding cost H per unit, Q*=sqrt(2DS/H). Annual ordering cost is (D/Q*)S and annual holding cost is (Q*/2)H. Their sum is the relevant cost shown here.

The model assumes steady known demand, fixed costs and replenishment in full, without shortages or quantity discounts. A mathematical optimum under these assumptions is not evidence that a supplier can provide that quantity or that it is suitable for uncertain demand.

A source-backed worked example

MIT's deterministic inventory lecture uses demand 4000 units/year, ordering cost 250 per order and holding cost 0.50 per unit/year. EOQ=sqrt(2×4000×250/0.50)=2000 units. There are 2 orders per year, and annual ordering and holding costs are 500 each, totaling 1000.

The lecture separately includes unit purchase cost 1, adding 4000 per year and giving full cost 5000. This calculator does not collect purchase price, so it reports 1000 as ordering plus holding cost, not 5000 as all purchasing costs. At a constant unit price, the purchase-cost component does not change the basic continuous EOQ optimum.

Days, lead time and reorder point

For the optional deterministic reorder calculation, daily demand is annual demand divided by the entered working days. Reorder point is daily demand multiplied by lead time in those same days. A zero lead time gives zero lead-time demand; a blank lead time omits this calculation.

For 4000 units over 200 working days and 10 days lead time, daily demand is 20 and reorder point is 200 units. This excludes safety stock and assumes known demand and lead time. Do not mix working-day demand with calendar-day lead time without converting them consistently.

Costs and practical limits

Use an annual holding cost per unit, not a percentage alone or an entire warehouse bill. The displayed total includes only ordering and holding. Purchasing, shortages, freight terms, minimum order quantities, quantity discounts and capacity can require a different model or additional analysis.

EOQ is continuous and output is rounded for display. Small values can round to zero and fractional quantities are not silently converted into a feasible order. Retain suitable precision and compare feasible quantities under the actual constraints. Invalid or numerically overflowing inputs block the result instead of being ignored.

Frequently asked questions

Does total cost include purchases?

No. It is annual ordering plus holding cost only. Unit purchase price and other costs are not collected.

Can I enter zero lead time?

Yes. It gives zero deterministic lead-time demand. Leave lead time blank to omit the reorder calculation.

Are invalid optional days replaced with 365?

No. Only a blank uses 365. An entered zero, negative or nonfinite value blocks results.

Is the displayed EOQ a practical integer order?

Not necessarily. It is a continuous model result. Supplier minimums, integer units, capacity and uncertainty need review before an actual order.

Related tools

More from Assignment Byte

Popular assignment help pages