Perimattic
Fulfilment warehouse floor with rows of yellow storage totes and racking

Free Tool

Economic Order Quantity Calculator

Enter annual demand, ordering cost, and holding cost to find the order size that minimizes total inventory cost. See the annual cost breakdown.

Book a Demo

What is the Economic Order Quantity (EOQ) formula?

The Economic Order Quantity (EOQ) is calculated as √(2DS/H), where D is annual demand in units, S is the fixed cost per order (purchasing, receiving, inspection), and H is the annual holding cost per unit (storage, insurance, obsolescence, capital cost). EOQ finds the order size that minimizes the sum of ordering costs and holding costs. Demand OS uses EOQ as a starting point and adjusts dynamically for demand variability, quantity discounts, and capacity constraints.

Calculator

Enter ordering and holding cost data

Formula used

EOQ = √(2DS / H)
Where D is annual demand, S is the fixed cost per order, and H is the annual holding cost per unit. EOQ minimizes the sum of ordering and holding costs.

Results

Enter demand and cost data, then click “Calculate EOQ”.

How to use it

EOQ, worked through step by step

Besides the order quantity, the calculator shows orders per year (D ÷ EOQ), the order cycle in days (EOQ ÷ D × 365), annual ordering cost, annual holding cost (EOQ ÷ 2 × H) and their total. Unit cost is optional and does not change the result.

A worked example

Annual demand is 10,000 units, each order costs $50 to place and receive, and holding one unit for a year costs $2.50. EOQ = √(2 × 10,000 × 50 ÷ 2.50) = √400,000 = 632 units.

Unrounded, EOQ is 632.5, which means about 15.8 orders a year, one roughly every 23 days. Annual ordering cost is 15.81 × $50 = $791, annual holding cost is 632.5 ÷ 2 × $2.50 = $791, and the total is $1,581.

How to read your result

At the EOQ, ordering cost and holding cost come out equal, as in the example. If your current order size is well above the EOQ, holding cost is driving your total up; well below it, you are paying for too many orders. Because of the square root, the result is fairly forgiving: doubling holding cost to $5 only cuts EOQ to 447 units, and doubling order cost to $100 raises it to 894.

Common mistakes

Entering holding cost as a percentage instead of a currency amount per unit per year. Using monthly demand where the formula expects annual demand. Counting only the purchase order fee as order cost and leaving out receiving and inspection. And applying EOQ to items with lumpy or seasonal demand, where the constant-demand assumption breaks down.

What to do next

EOQ tells you how much to order, not when. Use the safety stock calculator to find the reorder point that triggers each order.

Forklift moving pallets between high racking in a distribution warehouse

Frequently Asked Questions

EOQ and order sizing, answered

What costs does EOQ balance?+
EOQ balances two opposing costs: ordering costs (which decrease with larger, less frequent orders) and holding costs (which increase with larger orders because more inventory sits in the warehouse). The optimal order quantity is the point where the total of these two costs is minimized. Ordering costs include purchase order processing, receiving, and inspection. Holding costs include storage, insurance, obsolescence, and the opportunity cost of capital tied up in inventory.
What are the limitations of the basic EOQ model?+
The classic EOQ formula assumes constant demand rate, fixed ordering and holding costs, no quantity discounts, instantaneous replenishment, and no stockouts. In practice, demand varies, suppliers offer volume discounts, lead times are non-zero, and capacity constraints exist. EOQ is a useful starting point, but real-world replenishment planning needs to adjust for these factors — which is what Demand OS does automatically.
How do I estimate holding cost per unit?+
Annual holding cost per unit is typically 20–30% of the item's unit cost. This includes: capital cost (8–15% — the return you could earn on the money tied up in inventory), storage cost (2–5% — warehouse space, utilities), insurance (1–3%), and obsolescence/shrinkage (2–5%). If you don't have a precise figure, start with 25% of unit cost as a reasonable estimate.
How does Demand OS go beyond basic EOQ?+
Demand OS starts from EOQ logic but adjusts order quantities dynamically based on forecasted demand shifts, supplier quantity discount schedules, warehouse capacity constraints, and cash flow targets. The system recalculates optimal order sizes as demand forecasts update, rather than using a static annual demand figure. This produces order recommendations that respond to real conditions instead of assuming a steady-state world.
Should I use EOQ for every SKU?+
EOQ works best for SKUs with relatively stable, continuous demand — typically A and B-class items. For C-class or intermittent-demand items, EOQ may suggest impractically small or large orders. For these SKUs, min/max policies or periodic review systems are often more practical. Demand OS automatically selects the right replenishment policy per SKU based on demand pattern classification.
Perimattic Demand OS

Ready for dynamic order sizing?

Demand OS adjusts order quantities in real time based on demand shifts, supplier discounts, and capacity constraints — not a static annual average.
  • Free consultation
  • No commitment
  • Tailored to your team