The Economic Order Quantity (EOQ) calculator estimates the order size that minimizes the combined cost of ordering and holding inventory. It is a classic inventory-control model used when demand is relatively stable and replenishment costs are known. Instead of guessing a “good enough” purchase quantity, EOQ gives a mathematically grounded target that can reduce unnecessary order frequency while avoiding excess stock.
For the model to be useful, inputs should be expressed on the same annual basis: annual demand in units, fixed cost per order, and holding cost per unit per year. The result is most reliable for items with steady demand, consistent lead times, and no major stockout penalties. If your business has volume discounts, seasonal swings, or irregular demand, EOQ is still a helpful baseline, but it should be reviewed alongside practical constraints.
How This Calculator Works
The calculator uses the square-root EOQ model to balance two opposing inventory costs: ordering costs fall when you place larger, less frequent orders, while holding costs rise when you keep more units in stock. The optimal point is where the incremental savings from fewer orders no longer outweigh the extra carrying cost of storing inventory.
After you enter annual demand, fixed order cost, and holding cost per unit per year, the calculator computes the order quantity that minimizes total relevant inventory cost under the model assumptions. It is designed for planning, not for replacing operational constraints such as supplier minimums, storage limits, or cash-flow restrictions.
Formula
EOQ = √((2 × D × S) ÷ H)
Where:
| Symbol | Meaning | Units |
|---|---|---|
| D | Annual demand | Units per year |
| S | Fixed cost per order | Currency per order |
| H | Holding cost per unit per year | Currency per unit per year |
| EOQ | Economic order quantity | Units per order |
Total relevant inventory cost is commonly written as:
Total Cost = (D ÷ EOQ) × S + (EOQ ÷ 2) × H
This expression includes ordering cost and holding cost. It does not typically include the purchase price of the item, since purchase cost is usually unchanged by the order quantity in the basic EOQ model.
Example Calculation
- Start with annual demand of 10,000 units.
- Use a fixed ordering cost of $50 per order.
- Use a holding cost of $2 per unit per year.
- Substitute into the formula: EOQ = √((2 × 10,000 × 50) ÷ 2).
- Simplify: EOQ = √500,000.
- The result is approximately 707 units.
That means ordering about 707 units at a time should minimize the model’s combined ordering and holding costs for this scenario.
Where This Calculator Is Commonly Used
- Retail inventory planning for fast-moving products
- E-commerce replenishment for regularly sold SKUs
- Wholesale and distribution purchasing decisions
- Manufacturing materials planning and component stocking
- Warehouse inventory policy setting
- Pharmaceutical and consumable stock control
- Seasonal planning as a starting point before adjustments
How to Interpret the Results
An EOQ value should be treated as a target order quantity, not an absolute rule. If the result is low, the model is suggesting that holding costs are relatively expensive compared with ordering costs, so smaller and more frequent orders may be efficient. If the result is high, larger orders can reduce ordering frequency, but you should check whether storage capacity, spoilage risk, or cash constraints make that practical.
To use EOQ correctly, compare it with your supplier minimums, lead times, service-level goals, and any quantity discounts. In many real-world cases, the best operational order size is close to EOQ but adjusted for business constraints. If your demand changes sharply over time, recalculate regularly instead of relying on a single static estimate.
Frequently Asked Questions
What does EOQ actually minimize?
EOQ minimizes the sum of ordering costs and holding costs in the classic inventory model. It is based on the idea that ordering more often increases ordering expense, while ordering larger quantities increases storage expense. The formula finds the point where those two costs are balanced most efficiently.
Do I include the product purchase price in the EOQ formula?
Usually, no. In the basic EOQ model, purchase price is assumed to be constant regardless of order size, so it does not affect the optimal quantity. If unit price changes with order volume, you may need to compare EOQ with discount thresholds or use a more advanced pricing model.
What if my demand is monthly instead of annual?
You should convert it to an annual figure before using the calculator, because the standard EOQ formula expects demand and holding cost on a matching annual basis. If you use monthly demand, your holding cost must also be adjusted consistently, or the result will be distorted.
Can EOQ be used when demand is seasonal?
It can be used as a rough baseline, but seasonal demand weakens the assumptions behind the model. For highly seasonal items, you may need separate EOQ calculations by season or a more flexible replenishment approach that accounts for changing demand patterns.
Why does a higher order cost increase EOQ?
When placing an order is expensive, it becomes more efficient to order less often and buy more units each time. That reduces the number of order events per year. The EOQ formula reflects this by increasing the recommended order quantity as fixed order cost rises.
What if my holding cost is hard to estimate?
Holding cost is often estimated as a percentage of item value or as a combination of storage, insurance, spoilage, and capital costs. If the estimate is uncertain, EOQ is still useful, but the result should be tested with a few plausible holding-cost values to see how sensitive the order quantity is.
Does EOQ work if I have stockout risk?
Not perfectly. The basic EOQ model assumes replenishment is available before inventory runs out and does not explicitly price stockouts. If stockouts are costly or likely, you may need safety stock, reorder point analysis, or a service-level-based inventory model alongside EOQ.
FAQ
What does EOQ actually minimize?
EOQ minimizes the sum of ordering costs and holding costs in the classic inventory model. It is based on the idea that ordering more often increases ordering expense, while ordering larger quantities increases storage expense. The formula finds the point where those two costs are balanced most efficiently.
Do I include the product purchase price in the EOQ formula?
Usually, no. In the basic EOQ model, purchase price is assumed to be constant regardless of order size, so it does not affect the optimal quantity. If unit price changes with order volume, you may need to compare EOQ with discount thresholds or use a more advanced pricing model.
What if my demand is monthly instead of annual?
You should convert it to an annual figure before using the calculator, because the standard EOQ formula expects demand and holding cost on a matching annual basis. If you use monthly demand, your holding cost must also be adjusted consistently, or the result will be distorted.
Can EOQ be used when demand is seasonal?
It can be used as a rough baseline, but seasonal demand weakens the assumptions behind the model. For highly seasonal items, you may need separate EOQ calculations by season or a more flexible replenishment approach that accounts for changing demand patterns.
Why does a higher order cost increase EOQ?
When placing an order is expensive, it becomes more efficient to order less often and buy more units each time. That reduces the number of order events per year. The EOQ formula reflects this by increasing the recommended order quantity as fixed order cost rises.
What if my holding cost is hard to estimate?
Holding cost is often estimated as a percentage of item value or as a combination of storage, insurance, spoilage, and capital costs. If the estimate is uncertain, EOQ is still useful, but the result should be tested with a few plausible holding-cost values to see how sensitive the order quantity is.
Does EOQ work if I have stockout risk?
Not perfectly. The basic EOQ model assumes replenishment is available before inventory runs out and does not explicitly price stockouts. If stockouts are costly or likely, you may need safety stock, reorder point analysis, or a service-level-based inventory model alongside EOQ.