Skip to content
Business

EOQ Calculator

Calculate the optimal economic order quantity to minimize inventory holding and ordering costs. Free EOQ formula calculator for supply chain planning.

Inventory parameters

units
Presets:
$
$

Economic Order Quantity (EOQ)

1,581.14 units

316.2 orders per year · ~1 days between orders

Total annual cost

$6,324.56

Combined ordering and holding expenses

Average inventory level

790.57 units

Cycle stock (EOQ / 2)

Annual inventory cost breakdown

  • Ordering cost$3,162.2850.0%
  • Holding cost$3,162.2850.0%

How EOQ is calculated

Three steps from your demand and cost inputs to the cost-minimizing order quantity.

  1. Apply the Wilson-Harris EOQ formula

    EOQ=2×D×SH\mathrm{EOQ} = \sqrt{\frac{2 \times D \times S}{H}}

    Multiply 2 by annual demand (500,000 units) and fixed order cost ($10.00), then divide by holding cost per unit ($4.00). The square root yields 1,581.14 units per order batch.

  2. Calculate order frequency and cycle days

    N=DEOQ,T=365NN = \frac{D}{\mathrm{EOQ}}, \quad T = \frac{365}{N}

    Dividing annual demand (500,000) by the order quantity (1,581.14) gives 316.2 orders per year. With 365 calendar days, a new order is placed approximately every 1 days.

  3. Balance ordering and carrying costs

    Total Cost=(N×S)+(EOQ2×H)\mathrm{Total\ Cost} = \left(N \times S\right) + \left(\frac{\mathrm{EOQ}}{2} \times H\right)

    Ordering cost is $3,162.28 (316.2 orders × $10.00). Holding cost is $3,162.28 (average inventory of 790.57 units × $4.00). At EOQ, both costs equal each other, producing a minimum total cost of $6,324.56.

Report tool

What is Economic Order Quantity (EOQ)?

Economic Order Quantity (EOQ) is an established inventory management formula that determines the optimal purchase batch size a company should order from suppliers. First formulated by Ford W. Harris in 1913 and later refined by R. H. Wilson, the model calculates the exact order size that minimizes the combined annual costs of placing orders and carrying inventory in stock.

Every business that stocks physical goods faces a fundamental tension between two opposing costs:

  • Ordering costs: Fixed administrative, shipping, invoicing, and inspection charges incurred every time a purchase order is dispatched. Ordering in small, frequent batches multiplies these fixed expenses over the course of a year.
  • Holding costs (carrying costs): Expenses associated with storing inventory, including warehouse leases, climate control, handling, insurance, shrinkage, spoilage, and the opportunity cost of working capital locked up in unsold stock. Ordering large batches drives holding costs upward.

The EOQ formula locates the exact mathematical balance point where these two cost curves intersect, producing the lowest possible total inventory expense.

The EOQ formula and mathematical foundation

The classic Wilson-Harris model derives the ideal batch size using three primary variables:

EOQ=2×D×SH\mathrm{EOQ} = \sqrt{\frac{2 \times D \times S}{H}}

In this equation:

  • D (Annual Demand): Total number of units required or sold over the annual planning horizon.
  • S (Order Cost): Fixed setup or administrative cost incurred per purchase order, regardless of the quantity ordered.
  • H (Holding Cost): Cost to hold and carry one unit of inventory in storage for a full year. If given as a percentage (carrying rate i multiplied by unit purchase cost C), substitute H = i × C.

Total annual inventory cost equation

Total annual inventory management cost equals annual ordering cost plus annual holding cost:

Total Cost (TC)=(DQ×S)+(Q2×H)\mathrm{Total\ Cost\ (TC)} = \left(\frac{D}{Q} \times S\right) + \left(\frac{Q}{2} \times H\right)

Here, D / Q represents the number of orders placed per year, and Q / 2 represents the average cycle stock maintained in inventory under constant depletion. Setting the derivative of total cost with respect to Q equal to zero proves that minimum cost occurs when annual ordering cost strictly equals annual holding cost.

Step-by-step worked example

Consider a regional industrial equipment distributor with the following operational data:

  • Annual demand (DD): 10,000 units
  • Order cost (SS): $50 per purchase order
  • Holding cost (HH): $4 per unit per year

Applying the formula step by step:

  1. Calculate the numerator:
    2×10,000×50=1,000,0002 \times 10{,}000 \times 50 = 1{,}000{,}000
  2. Divide by annual holding cost per unit:
    1,000,0004=250,000\frac{1{,}000{,}000}{4} = 250{,}000
  3. Extract the square root to find EOQ:
    EOQ=250,000=500 units\mathrm{EOQ} = \sqrt{250{,}000} = 500\text{ units}
  4. Determine order frequency and cycle schedule:
    N=10,000500=20 orders/year,T=3652018.25 daysN = \frac{10{,}000}{500} = 20\text{ orders/year}, \quad T = \frac{365}{20} \approx 18.25\text{ days}
  5. Verify annual cost balance:
    Ordering Cost=20×$50=$1,000,Holding Cost=5002×$4=$1,000\text{Ordering Cost} = 20 \times \$50 = \$1{,}000, \quad \text{Holding Cost} = \frac{500}{2} \times \$4 = \$1{,}000

    Total annual inventory cost is exactly $2,000, split evenly between ordering and holding.

Integrating EOQ into broader working capital management

Calculating the economic order quantity is only one element of modern supply chain planning. Inventory decisions directly impact liquidity, working capital requirements, and profitability:

Practical considerations and adjustments in real operations

While the pure EOQ formula provides a solid theoretical baseline, operational reality often requires sensible adjustments:

  • Supplier Minimum Order Quantities (MOQs): If a supplier mandates a minimum batch size of 1,000 units and your EOQ is 650 units, ordering 1,000 units is necessary unless supplier terms can be renegotiated.
  • Quantity discounts: Vendors frequently offer price breaks for larger orders. If a price discount outweighs the extra holding cost of holding larger batches, ordering above EOQ can be financially advantageous.
  • Packaging and pallet constraints: Goods typically ship in standardized cartons, skids, or full truckloads. Round your calculated EOQ to the nearest case or pallet multiple.
  • Safety stock and demand variability: The standard EOQ model assumes uniform, constant demand. In practice, businesses maintain buffer safety stock to protect against lead-time delays and sales spikes.

Frequently asked questions

What is holding cost and how do I determine it?

Holding cost, also known as carrying cost, covers all expenses associated with keeping unsold inventory in storage. It includes warehouse rent, utilities, insurance, property taxes, labor, handling, depreciation, damage, shrinkage, obsolescence, and the cost of capital invested in inventory. Holding costs commonly range from 15% to 30% of unit purchase cost per year across retail and manufacturing sectors.

What is the difference between EOQ and the reorder point (ROP)?

EOQ determines how much to order each time a purchase is made. The reorder point (ROP) determines when to place that order. The reorder point is calculated as lead time demand plus safety stock. Used together, ROP signals the replenishment trigger and EOQ specifies the batch quantity.

Why are annual ordering and holding costs identical at EOQ?

In the total cost curve, ordering cost decreases inversely with batch size while holding cost increases linearly with batch size. Mathematically, the minimum point of the sum of two functions where one is proportional to Q and the other to 1/Q occurs exactly where the two component curves cross each other.

How does inflation or interest rate changes affect EOQ?

Rising interest rates increase the opportunity cost of working capital, which raises the annual holding cost per unit (H). Because holding cost appears in the denominator of the EOQ formula, higher holding costs reduce the optimal batch size, encouraging leaner, more frequent orders. Conversely, anticipated price inflation or rising freight rates increase order costs (S), raising the optimal order quantity.

What happens if I order slightly more or less than EOQ?

The total inventory cost curve is relatively flat around the minimum point. Moderate deviations (such as rounding to full box counts, pallet tiers, or standard carton packs) usually increase total annual inventory costs by less than 1% to 3%.

Resources and references

The formulas and methods in this calculator were checked against these independent sources.