Economic Order Quantity (EOQ) Calculator

Find the order size that minimises total ordering and holding costs, with orders per year and cost curve.

Updated · Free · Runs in your browser

units
US$

Admin, shipping and receiving costs for one order.

US$
% of unit cost

Storage, capital, insurance, shrinkage. 20–30% is typical.

days
Economic order quantity —
Orders per year —
Days between orders —
Annual ordering cost —
Annual holding cost —
Total annual inventory cost —
Holding cost per unit per year —
    Was this calculator helpful?

    The formula

    EOQ = √(2DS ÷ H)
    D = annual demand (units), S = cost per order, H = holding cost per unit per year (unit cost × holding %)
    
    Orders per year = D ÷ EOQ
    Days between orders = working days ÷ orders per year
    Annual ordering cost = (D ÷ Q) × S;  annual holding cost = (Q ÷ 2) × H
    Total inventory cost = ordering cost + holding cost

    Worked example

    1. You sell 12,000 units a year, each order costs $75 to place and receive, and units cost $12.
    2. At 25% a year, holding cost H = 12 × 0.25 = $3 per unit.
    3. EOQ = √(2 × 12,000 × 75 ÷ 3) = √600,000 = 774.6 units.
    4. That's 15.5 orders a year, about every 16 working days.
    5. Ordering cost = holding cost = $1,161.90 a year, for a total of $2,323.79.

    What EOQ solves

    Every inventory decision balances two costs. Ordering in large batches means fewer orders, so lower ordering costs (admin, shipping, receiving), but more stock sitting in the warehouse, so higher holding costs. Ordering in small batches does the opposite. The economic order quantity (EOQ), also called the Wilson formula, finds the order size where the total of the two is lowest. It's one of the oldest and most widely used results in operations management.

    Reading the cost curve

    The chart shows annual ordering cost falling and holding cost rising as order size increases. Total cost is lowest where the two lines cross: at the EOQ, ordering and holding costs are exactly equal. The curve is flat near the minimum, which is good news in practice. Ordering somewhat more or less than the EOQ costs very little extra. Rounding 775 units to 750 or 800 to match a carton or pallet quantity adds only a dollar or two a year in the example.

    Estimating ordering cost

    Ordering cost S includes everything that happens once per order regardless of size: purchase order processing, supplier communication, fixed freight charges, receiving, inspection and invoice handling. Staff time is usually the largest part. Estimate it by dividing the annual cost of purchasing and receiving activities by the number of orders. For manufacturers, the equivalent is the setup cost of a production run.

    Estimating holding cost

    Holding cost H is the cost of keeping one unit in stock for a year. It's usually expressed as a percentage of unit cost, commonly 20–30%, made up of the cost of capital tied up in stock, warehouse space, insurance, handling, obsolescence, damage and shrinkage. Products that spoil, go out of fashion or quickly become obsolete have much higher holding costs, which pushes the EOQ down.

    Assumptions and real-world adjustments

    • Demand is steady and known. For seasonal products, calculate EOQ per season.
    • Lead time is constant and the whole order arrives at once.
    • Unit price doesn't depend on order size. With quantity discounts, compare total cost, including purchase cost, at the EOQ and at each discount break.
    • No stockouts. Pair EOQ with a reorder point and safety stock.

    Supplier minimums, pack sizes, container capacity (see the CBM calculator) and storage limits often override the formula.

    Example: when ordering costs fall

    Ordering cost drives the result through a square root, so changes have a dampened effect. Halving the ordering cost from $75 to $37.50, for example by automating purchase orders, cuts the EOQ by about 29%, to 548 units, and the total inventory cost by the same proportion. Many businesses use this to justify investment in automated purchasing and to order smaller quantities more often.

    Using EOQ with your other numbers

    Use your landed cost per unit as the unit cost if you import, since duty and freight are part of what you hold in stock. Compare total inventory cost with your gross margin to see how much inventory management affects profitability. The days between orders figure helps you schedule purchasing and plan warehouse capacity. For products you buy from several suppliers, run the calculation separately for each, since ordering costs and lead times often differ. Recalculate whenever demand, supplier prices or storage costs change significantly.

    Frequently asked questions

    What is the EOQ formula?
    EOQ = √(2 × annual demand × cost per order ÷ holding cost per unit per year). For 12,000 units, $75 per order and $3 holding cost, EOQ ≈ 775 units.
    What is holding cost in EOQ?
    The cost of storing one unit for a year: capital, warehousing, insurance, obsolescence and shrinkage, typically 20–30% of the unit cost.
    What does ordering cost include?
    Costs incurred once per order: processing the purchase order, fixed shipping charges, receiving, inspection and invoice handling.
    Why are ordering and holding costs equal at the EOQ?
    Because the EOQ is the point where the falling ordering cost curve and the rising holding cost curve cross, which minimises their total.
    What are the limitations of EOQ?
    It assumes steady demand, constant lead times and no quantity discounts. In practice, adjust for seasonality, supplier minimums, pack sizes and discounts.

    ↑↓ to navigate · Enter to open