EOQ Calculator
Free EOQ Calculator for operations & inventory. Enter your numbers to see returns, costs, and optimized scenarios instantly.
EOQ Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: EOQ = โ(2DS / H)
Worked example โ EOQ = 1,225 units | 8.16 orders/year | Total cost = $2,449 | ROP = 280 units
Formula
EOQ = โ(2DS / H)
The Economic Order Quantity formula calculates the optimal order size by taking the square root of (2 times annual demand D times ordering cost per order S, divided by annual holding cost per unit H). This minimizes total inventory costs by balancing ordering and holding costs.
Worked Examples
Example 1: Manufacturing Parts Ordering
Problem:A factory uses 10,000 widgets per year. Each order costs $150 to place, and annual holding cost is $2 per widget. Lead time is 7 working days with 250 working days per year.
Solution:D = 10,000 units/year, S = $150/order, H = $2/unit/year EOQ = sqrt(2 ร 10,000 ร 150 / 2) = sqrt(1,500,000) = 1,225 units Orders per year = 10,000 / 1,225 = 8.16 orders Annual ordering cost = 8.16 ร $150 = $1,224 Annual holding cost = (1,225/2) ร $2 = $1,225 Reorder point = (10,000/250) ร 7 = 280 units
Result:EOQ = 1,225 units | 8.16 orders/year | Total cost = $2,449 | ROP = 280 units
Example 2: Retail Store Inventory
Problem:A store sells 5,200 units annually. Ordering cost is $75 per order, and holding cost is $4.50 per unit per year. Lead time is 3 days.
Solution:D = 5,200 units/year, S = $75/order, H = $4.50/unit/year EOQ = sqrt(2 ร 5,200 ร 75 / 4.50) = sqrt(173,333) = 416 units Orders per year = 5,200 / 416 = 12.5 orders Order cycle = 250/12.5 = 20 working days Reorder point = (5,200/250) ร 3 = 62 units
Result:EOQ = 416 units | 12.5 orders/year | Total cost = $1,873 | ROP = 62 units
Frequently Asked Questions
What is the Economic Order Quantity (EOQ) model?
The Economic Order Quantity (EOQ) model is a fundamental inventory management formula that determines the optimal order quantity to minimize total inventory costs. Developed by Ford W. Harris in 1913 and later refined by R.H. Wilson, the EOQ model balances two opposing costs: ordering costs (which decrease as order size increases because fewer orders are needed) and holding costs (which increase as order size increases because more inventory is stored). The classic EOQ formula is Q* = sqrt(2DS/H), where D is annual demand, S is the ordering cost per order, and H is the annual holding cost per unit. The model assumes constant demand, fixed ordering costs, constant holding costs, instantaneous replenishment, and no quantity discounts, making it a starting point that many businesses adapt to their specific circumstances.
What costs are included in ordering cost and holding cost?
Ordering costs include all expenses incurred each time an order is placed, regardless of order size. These typically encompass purchase order processing, communication with suppliers, receiving and inspection labor, invoice processing and payment handling, transportation and freight charges, and quality control testing. Holding costs (also called carrying costs) represent the expense of storing inventory over time. They typically include warehouse rent or depreciation, insurance on stored goods, opportunity cost of capital tied up in inventory (often the largest component), obsolescence and spoilage losses, handling and material movement costs, utilities for climate control and lighting, inventory management system costs, and property taxes on inventory. Rather than adopting a rule-of-thumb carrying rate, build your own: add the annual cost of capital you actually apply to working capital, plus measured storage cost per unit of space, insurance premiums, and an obsolescence or shrinkage allowance taken from your own write-off history. The result varies widely by product, since perishable, fashion-cycle and high-value goods carry far heavier obsolescence and insurance components than stable commodity parts, and the capital component moves with prevailing interest rates.
What are the limitations of the EOQ model?
The classic EOQ model has several important limitations that practitioners should understand. It assumes constant and known demand, which rarely occurs in practice as demand fluctuates seasonally and unpredictably. It assumes instantaneous replenishment, ignoring lead times and production schedules. It does not account for quantity discounts, which are common in real purchasing situations. The model assumes a single product in isolation, ignoring interactions between multiple products sharing warehouse space or transportation. It does not consider stockout costs or service level targets. Holding and ordering costs are assumed constant, when in reality they may vary with volume. Despite these limitations, EOQ remains valuable as a baseline calculation. Many extensions have been developed, including EOQ with quantity discounts, EOQ with backorders, the production EOQ model, and stochastic demand models.
How does lead time affect the EOQ reorder point?
Lead time does not affect the EOQ quantity itself but critically determines when to place an order, known as the reorder point (ROP). The basic reorder point formula is ROP = daily demand multiplied by lead time in days. For example, if daily demand is 20 units and lead time is 5 days, you should reorder when inventory drops to 100 units. In practice, companies add safety stock to account for variability in both demand and lead time: ROP = (average daily demand multiplied by average lead time) plus safety stock. Safety stock is typically calculated using the standard deviation of demand during lead time multiplied by a service level factor (z-score). Longer lead times require higher reorder points and often more safety stock, increasing average inventory levels and costs. Reducing lead times through supplier management, better logistics, or local sourcing can significantly reduce inventory investment.
How do I calculate EOQ with quantity discounts?
When suppliers offer quantity discounts, the standard EOQ formula must be extended because the unit purchase cost changes at different order quantities. The procedure involves several steps: first, calculate the EOQ at each price level using the standard formula. Then, check if each calculated EOQ falls within its valid price range. If an EOQ falls below its price break quantity, adjust it up to the minimum quantity for that price level. Next, calculate the total annual cost (ordering plus holding plus purchase cost) at each viable order quantity. Finally, select the quantity with the lowest total cost. The total cost formula is TC = (D/Q) multiplied by S plus (Q/2) multiplied by H plus D multiplied by the unit price. Sometimes ordering more than the EOQ is justified because the price discount savings exceed the additional holding cost. This analysis is essential for procurement professionals making bulk purchasing decisions.
How much does it cost to order a quantity other than the exact EOQ?
Surprisingly little, because the total cost curve is flat near its minimum. The penalty ratio is 0.5 x (Q / Q* + Q* / Q), so ordering 20 percent above the optimum raises annual ordering-plus-holding cost by about 1.7 percent, and 20 percent below raises it by about 2.5 percent. That tolerance is why rounding the EOQ up to a full case, pallet or truckload is usually sensible, and why modest errors in the estimated ordering cost rarely change the decision.
Why do annual ordering cost and annual holding cost come out equal at the EOQ?
Because the optimum sits exactly where the two curves cross. Annual ordering cost (D / Q) x S falls as the batch grows while annual holding cost (Q / 2) x H rises, and setting them equal then solving for Q reproduces the square root of 2DS / H. That gives a quick audit: at 10,000 units of demand, $150 per order and $2 per unit per year, EOQ is 1,225 units with ordering and holding costs both near $1,225. A large gap between the two means an input is wrong.
My holding cost is quoted as a percentage of value - how do I convert it?
Multiply the unit cost by the annual carrying rate to get H in dollars per unit per year. A part costing $25 carried at 24 percent gives H = $6.00. Entering 24 in the field instead of 6 treats carrying cost as four times its real level and halves the EOQ, because the optimal quantity varies with the inverse square root of H. Carrying rates normally bundle the cost of capital, storage, insurance, shrinkage and obsolescence into one figure.
What is the difference between EOQ and the economic production quantity?
EOQ assumes a batch arrives all at once, so stock jumps to Q and then drains away. When you make the item yourself, units are added at a finite production rate p while demand d draws them down, so peak inventory never reaches the full run size. The economic production quantity adjusts for that overlap: Q = sqrt(2DS / (H x (1 - d / p))). Since the bracketed term is below one, EPQ always exceeds the equivalent EOQ, and S becomes a setup cost rather than a purchase order cost.
How does setup-time reduction change the optimal batch size?
EOQ treats the ordering or setup cost S as a given, whereas lean practice attacks S directly through quick changeover, blanket supplier agreements and electronic ordering. Because Q* varies with the square root of S, cutting setup cost by 75 percent halves the optimal batch exactly. Smaller batches then shorten the order cycle, cut average inventory and surface quality problems sooner. That is the arithmetic behind just-in-time replenishment: it does not repeal EOQ, it changes one of its inputs.
References
Background & Theory
History
Reviewed for accuracy by Sahil, Senior Finance & Tax Editor ยท Editorial policy
Related Calculators
๐งฎInflation Cpiadjustment Calculator
Calculate inflation cpiadjustment with inputs, formulas, and instant results.
๐งฎPurchasing Power Parity (PPP) Converter
Calculate pppconverter with inputs, formulas, and instant results.
๐งฎPrice Elasticity Calculator
Calculate price elasticity with inputs, formulas, and instant results.
๐งฎQueueing M/M/s Calculator
Calculate queueing mmscalculator with inputs, formulas, and instant results.
๐งฎReorder Point Calculator
Calculate reorder point with inputs, formulas, and instant results.
๐งฎSafety Stock Calculator
Calculate safety stock with inputs, formulas, and instant results.
๐งฎBreakeven Point Calculator
Calculate breakeven point with inputs, formulas, and instant results.
๐งฎContribution Margin Calculator
Calculate contribution margin with inputs, formulas, and instant results.