Skip to main content

EOQ Calculator

Calculate the Economic Order Quantity — the order size that minimizes combined ordering and holding cost — plus orders per year, cycle length, reorder point, and total annual inventory cost.

Input

Output

Result
MetricValue
No data yet
Was this helpful?

Guides

The EOQ (Economic Order Quantity) Calculator finds the order size that minimizes your total inventory cost — the sweet spot between ordering too often (racking up ordering costs) and ordering too much at once (racking up holding costs).

What is EOQ?

EOQ is the classic inventory-management formula:

EOQ = √(2 × D × S / H)
  • D — annual demand, in units
  • S — ordering cost, the fixed cost of placing one order (paperwork, shipping, setup)
  • H — holding cost, the annual cost of storing one unit (warehousing, insurance, spoilage, capital tied up)

As order size grows, ordering cost per year falls (fewer orders) but holding cost rises (more average inventory sitting around). EOQ is the exact point where those two costs are equal and their sum is lowest.

How to use it

  1. Enter your annual demand — how many units you expect to sell or use in a year.
  2. Enter the ordering cost — what it costs to place one order, regardless of size.
  3. Enter the holding cost — what it costs to hold one unit in stock for a year.
  4. Optionally, enter a lead time (days between placing an order and receiving it) and a safety stock buffer to also get a reorder point — the stock level that should trigger your next order.

The calculator returns the EOQ itself, how many orders you'd place per year, the number of days between orders, the annual ordering and holding costs at that quantity, and the total annual inventory cost.

Why not just order once a year, or order one unit at a time?

Ordering once a year minimizes ordering cost but maximizes holding cost (you're sitting on a full year of stock). Ordering constantly minimizes holding cost but maximizes ordering cost (fees/setup on every tiny order). EOQ balances the two — it's a minimum on the total cost curve, not on either cost alone.

Does EOQ account for demand changes or discounts?

No — the classic formula assumes constant demand, a fixed ordering cost, and a fixed per-unit holding cost, with no quantity discounts or stockouts. It's a solid starting baseline for steady-demand inventory; for seasonal demand or bulk-discount pricing, treat the result as a reference point rather than a hard rule.

Running a related profitability calculation? Try the Break-Even Point Calculator to find how many units you need to sell to cover fixed and variable costs.

economic order quantityinventoryreorder pointholding costordering coststocksupply chainwarehouse

Use it from code

From 3 credits per call

REST API

curl -X POST https://api.iotools.cloud/v1/tool/eoq-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "annualDemand": "12000",
    "orderingCost": "50",
    "holdingCost": "4",
    "leadTimeDays": "",
    "safetyStock": ""
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `eoq-calculator` tool (EOQ Calculator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.