EOQ Calculator

EOQ Calculator

Find the optimal order quantity that minimises total inventory cost. The Economic Order Quantity balances two opposing forces: ordering too frequently drives up ordering costs, while ordering too rarely drives up holding costs. EOQ finds the exact minimum between them.

Inputs
Total units consumed or sold per year
Cost to place, process, and receive one purchase order
Storage, insurance, capital cost per unit held for a year. Typically 20–30% of unit cost.
Used to calculate total annual inventory spend
Results
Economic Order Quantity
units per order
Orders per Year
optimal reorder frequency
Order Interval
days between orders
Minimum Total Annual Cost
ordering + holding costs combined
Annual Ordering Cost
Annual Holding Cost
Economic Order Quantity — Formula
EOQ = √(2 × D × S / H) Total Cost = (D/Q) × S + (Q/2) × H Where: D = Annual Demand, S = Ordering Cost, H = Holding Cost/unit/year, Q = Order Quantity

EOQ is derived by finding the order quantity Q that minimises the sum of two cost functions: ordering cost = (D/Q) × S, which decreases as Q increases; and holding cost = (Q/2) × H, which increases as Q increases. The minimum of their sum occurs precisely where the two are equal — a result that emerges from setting the derivative of total cost to zero and solving for Q.

At EOQ, annual ordering cost always equals annual holding cost. This “golden cross” property is useful for validation: if your calculated ordering and holding costs are not approximately equal, recheck your inputs.

The formula assumes constant demand, fixed costs per order, and instantaneous replenishment. For variable demand or lead times, consider safety stock calculations and reorder point models.

EOQ Cost Curves
Summary Memo
Run the calculator above to generate a shareable EOQ summary memo.

History of the EOQ Model

+

The Economic Order Quantity formula was first published by Ford Whitman Harris, an engineer at Westinghouse Electric, in a 1913 paper titled “How Many Parts to Make at Once” in the journal Factory, The Magazine of Management. Harris derived the formula to solve a practical problem: how large a production run minimises the combined cost of setup and inventory carrying?

The model was independently rediscovered and popularised by R.H. Wilson, a management consultant, whose 1934 paper spread the technique widely. For decades it was known as the “Wilson Formula” — Harris’s original derivation was largely forgotten until researchers traced the credit back to him in the 1980s.

EOQ became foundational to Operations Research (OR) and supply chain management, forming the basis of more sophisticated inventory models including the Economic Production Quantity (EPQ), the Newsvendor Model, and multi-echelon inventory theory. Despite the rise of just-in-time (JIT) and demand-driven supply chains, EOQ remains a core analytical tool for establishing baseline order policies in classical inventory management.

How the Calculator Works

+

The calculator computes EOQ as the square root of (2 × D × S / H). It then calculates the number of orders per year as D/EOQ, and the order interval as 365/orders per year.

The cost curve chart plots total cost, ordering cost, and holding cost as functions of order quantity across a range from zero to 3× EOQ. This reveals the shape of the cost landscape: total cost has a flat, shallow minimum — meaning order quantities near but not exactly at EOQ are nearly as efficient as the theoretical optimum. A 20% deviation from EOQ typically results in less than 2% cost increase, which has important practical implications for rounding to practical lot sizes.

The chart also visually confirms the key property: at EOQ, the ordering cost and holding cost lines intersect — they are always equal at the optimum.

How to Use This Tool

+

Annual demand (D): Use 12-month actuals or a demand forecast. For new items, use comparable item demand or a market-based estimate.

Ordering cost (S): This is the total cost of one purchase cycle — typically staff time to raise a PO, supplier processing fees, receiving and inspection costs, and any administrative overhead. For most organisations, this ranges from ₹500 to ₹5,000 per order depending on the complexity of the procurement process.

Holding cost (H): The most commonly underestimated input. Include: warehouse space cost allocated to the item, insurance, spoilage and obsolescence risk, and most importantly, the opportunity cost of capital tied up in inventory. A practical formula: H = unit cost × 25% per year is a widely used approximation.

Once you have EOQ, round to the nearest practical lot size (pallet quantity, minimum order quantity, etc.) — the flat cost curve means this rounding has minimal cost impact.

Frequently Asked Questions
What if my supplier has a minimum order quantity (MOQ) higher than EOQ?
If the supplier’s MOQ exceeds your EOQ, you must order at least the MOQ. Check the total cost at the MOQ using the formula: Total Cost = (D/MOQ) × S + (MOQ/2) × H. Compare this to the EOQ total cost to understand the excess cost imposed by the MOQ constraint. This figure is useful in supplier negotiations — it quantifies what the MOQ is actually costing you.
EOQ assumes constant demand. What if my demand is seasonal or variable?
EOQ is a baseline model that assumes deterministic, constant demand. For variable demand, you need safety stock and a reorder point model. Calculate EOQ using average annual demand as a starting point, then layer safety stock calculated from demand variability and supplier lead time. For highly seasonal items, consider running separate EOQ calculations for peak and off-peak periods, or switch to periodic review systems.
Does EOQ work for services and indirect procurement?
EOQ is designed for physical inventory. For services, the analogy breaks down because there is no “holding” cost in the traditional sense. However, the underlying trade-off logic applies to contract and blanket order management: ordering too frequently (many small purchase orders) increases transaction costs, while long blanket order periods increase commitment risk and reduce flexibility. EOQ thinking can inform the optimal blanket order duration for repeat-service purchases.
How do I calculate the holding cost per unit if I don’t have exact figures?
A practical approximation widely used in industry: Holding Cost = Unit Cost × Carrying Rate, where the carrying rate is typically 20–30% per year. This rate bundles cost of capital (~10–15%), storage (~5–8%), obsolescence and spoilage risk (~2–5%), and insurance (~1–2%). If your organisation uses a higher cost of capital (common in high-growth Indian markets), adjust the capital component upward accordingly.