EOQ Calculator (Economic Order Quantity)

Calculate the optimal order quantity that minimizes total inventory costs, including ordering and holding costs. The EOQ model helps businesses determine the most cost-effective amount to order at one time.

Total units needed per year
Cost per order (shipping, handling, etc.)
Cost to hold one unit per year (storage, insurance, etc.)
Price per unit for total cost calculation
Number of working days (default: 365)
Economic Order Quantity (EOQ)
707 units
Number of Orders per Year
14.14 orders
Order Cycle Time
25.82 days
Total Ordering Cost
$707.11
Total Holding Cost
$707.11
Total Inventory Cost
$1,414.21
Total Annual Cost (Including Purchase)
$101,414.21
Cost Analysis: Order Quantity vs. Total Cost
Inventory Level Over Time (Sawtooth Pattern)

What is EOQ (Economic Order Quantity)?

The Economic Order Quantity (EOQ) is a fundamental inventory management formula that determines the optimal order quantity a company should purchase to minimize its total inventory costs. These costs consist of two main components: ordering costs (also known as setup costs) and holding costs (also known as carrying costs). The EOQ model was developed by Ford W. Harris in 1913 and remains one of the most widely used inventory control techniques in operations management.

The EOQ model operates on the principle that there is a trade-off between ordering costs and holding costs. When a company orders in large quantities, it reduces the number of orders placed annually (lowering ordering costs), but increases the average inventory level (raising holding costs). Conversely, ordering in small quantities frequently reduces holding costs but increases ordering costs. The EOQ finds the sweet spot where the total of these two costs is minimized.

The EOQ Formula

EOQ = √(2DS / H)
Where: D = Annual Demand, S = Order Cost per Order, H = Holding Cost per Unit per Year

This elegant formula derives from calculus, specifically by taking the derivative of the total cost function and setting it equal to zero to find the minimum. The resulting equation shows that the optimal order quantity increases with higher demand and order costs, but decreases as holding costs rise.

Understanding the Variables

Variable Description Examples
D (Annual Demand) The total number of units required over a year Units sold, materials consumed, products manufactured
S (Order Cost) Fixed cost incurred each time an order is placed Shipping fees, administrative costs, inspection costs, receiving costs
H (Holding Cost) Cost to store one unit for one year Warehouse rent, insurance, obsolescence, opportunity cost of capital

How to Calculate EOQ: Step-by-Step

  1. Determine Annual Demand (D): Calculate or forecast the total quantity of units you will need for the entire year. This should be based on historical sales data, market analysis, or production requirements.
  2. Calculate Order Cost (S): Sum up all fixed costs associated with placing a single order. This includes purchase order processing, shipping and freight charges, receiving and inspection costs, and any administrative overhead.
  3. Estimate Holding Cost (H): Determine the annual cost to hold one unit in inventory. This typically includes storage space costs, insurance premiums, taxes, shrinkage and obsolescence, and the opportunity cost of tied-up capital (usually 10-25% of inventory value).
  4. Apply the EOQ Formula: Plug your values into the formula EOQ = √(2DS/H) to calculate the optimal order quantity.
  5. Calculate Related Metrics: Use the EOQ to determine the number of orders per year (D/EOQ) and the order cycle time (Working Days / Orders per Year).

Example Calculation

A retail store sells 10,000 widgets annually. Each order costs $50 to place, and holding one widget in inventory costs $2 per year.

EOQ = √(2 × 10,000 × 50 / 2) = √(500,000) = 707.11 units

This means the store should order approximately 707 widgets at a time. They will place about 14.14 orders per year (10,000 ÷ 707), with an order cycle of roughly 26 days between orders.

Related EOQ Calculations

Number of Orders per Year

N = D / EOQ
Where N is the number of orders placed annually

Order Cycle Time

T = Working Days / N
Time between orders in days

Total Inventory Costs

TC = (D/Q × S) + (Q/2 × H)
Total Ordering Cost + Total Holding Cost

At the EOQ point, an interesting property emerges: the total ordering cost equals the total holding cost. This balance is what makes the EOQ the minimum cost point.

Assumptions of the EOQ Model

The basic EOQ model makes several simplifying assumptions:

Extensions and Variations

EOQ with Quantity Discounts

When suppliers offer price breaks for larger orders, the basic EOQ may not minimize total costs. In this case, you must calculate the total cost (including purchase price) at each price break quantity and compare it to the cost at EOQ.

Production Order Quantity (POQ)

Also known as the Economic Production Quantity (EPQ), this variation accounts for situations where inventory is replenished gradually during a production run rather than all at once. The formula adjusts for the production rate:

POQ = √(2DS / H(1 - d/p))
Where d = daily demand rate, p = daily production rate

Reorder Point (ROP)

While EOQ tells you how much to order, the Reorder Point tells you when to order. It accounts for lead time demand:

ROP = d × L
Where d = daily demand, L = lead time in days

Benefits of Using EOQ

Limitations and Real-World Considerations

While the EOQ model is valuable, it has limitations in real-world applications:

EOQ in Different Industries

Manufacturing

Manufacturers use EOQ for raw materials ordering, balancing production schedules with inventory costs. They often extend the model to include production constraints and multiple product considerations.

Retail

Retailers apply EOQ to manage merchandise inventory, though they often modify it to account for seasonal demand patterns and promotional activities.

Healthcare

Hospitals and pharmacies use EOQ principles for medical supplies and pharmaceuticals, with additional considerations for expiration dates and critical availability requirements.

E-commerce

Online retailers leverage EOQ alongside demand forecasting algorithms to optimize warehouse inventory and fulfillment costs across multiple distribution centers.

Tips for Accurate EOQ Calculation

  1. Use Quality Data: Base your demand estimates on reliable historical data and forecasts
  2. Include All Costs: Don't overlook hidden ordering or holding costs
  3. Regular Updates: Recalculate EOQ periodically as conditions change
  4. Consider Safety Stock: Build in buffer inventory for demand variability
  5. Round Practically: Adjust EOQ to match supplier minimum order quantities or pack sizes

Frequently Asked Questions

What happens if I order more than the EOQ?

Ordering more than the EOQ increases your average inventory level, raising holding costs. While you'll place fewer orders (reducing ordering costs), the increase in holding costs will exceed the savings, resulting in higher total costs.

What happens if I order less than the EOQ?

Ordering less means you'll need to place more orders throughout the year. The additional ordering costs will outweigh the savings from reduced inventory levels, increasing total costs.

How often should I recalculate EOQ?

Most businesses recalculate EOQ quarterly or when significant changes occur in demand patterns, costs, or market conditions. Some industries with volatile conditions may need monthly updates.

Can EOQ be negative or zero?

No, EOQ must always be positive. If your calculation yields zero or negative results, check your input values. Demand must be positive, and both ordering and holding costs must be greater than zero.

Is EOQ still relevant with modern inventory management systems?

Yes, EOQ remains a foundational concept. Modern inventory systems often use EOQ as a baseline, then adjust for additional factors like demand variability, lead time uncertainty, and multi-location considerations.