Free economic order quantity calculator (EOQ)
This economic order quantity calculator finds the order size that balances ordering cost against holding cost, using EOQ = sqrt(2 x D x S / H). Enter annual demand, cost per order and holding cost per unit per year to see the EOQ, orders per year, cycle time and total annual cost. It runs in your browser and your numbers are not stored.
Try the economic order quantity calculator
Enter your own numbers, click the button and read the result. These tools give estimates for planning only. They use simplified formulas and the figures you enter, so check important decisions against your own data and advisers.
Economic order quantity (EOQ) calculator
Find the order size that balances ordering cost against holding cost, then see how often you would order.
- Economic order quantity (EOQ)
- EOQ, nearest whole unit
- Orders per year
- Order cycle time
- Annual ordering cost
- Annual holding cost
- Total annual cost (ordering + holding)
- Total including purchase cost
Estimates for planning only. Results depend entirely on the numbers you enter and are not a quote, a customs ruling or professional advice.
How it works
Every order has a cost to place and receive it, and every unit you hold has a cost to store and finance. Ordering in large lots means fewer orders but more stock to hold; ordering in small lots means more orders but less stock. The economic order quantity is the order size where the two annual costs are equal, which gives the lowest combined cost under the model's assumptions.
From the EOQ the calculator works out how many orders you would place a year, the time between orders, and the annual ordering and holding costs. At the EOQ the annual ordering cost and the annual holding cost are equal, so the total annual cost is twice either one.
The formula in plain words
EOQ = sqrt(2 x D x S / H), where D is annual demand, S is cost per order and H is holding cost per unit per year
Orders per year = D / EOQ
Cycle time (days) = days per year / orders per year
Annual ordering cost = orders per year x S; annual holding cost = (EOQ / 2) x H
Total annual cost = annual ordering cost + annual holding cost
Worked example
This is an example only, using made-up round numbers to show the arithmetic. They are not benchmarks, and the results were produced by this page's calculator script.
Inputs: annual demand D = 12,000 units, cost per order S = 75, holding cost H = 3 per unit per year, 365 days per year, unit cost left blank.
Results:
- EOQ: 774.6 units
- Orders per year: 15.49
- Order cycle time: 23.6 days
- Annual ordering cost: 1,161.90
- Annual holding cost: 1,161.90
- Total annual cost (ordering + holding): 2,323.79
When to use it
This economic order quantity calculator is most useful when:
- You buy an item repeatedly at a fairly steady rate and want a sensible starting order size.
- You suspect you are ordering too often, or holding too much, and want to see the cost trade-off.
- Order setup costs or holding costs have changed and you want to re-check your batch sizes.
- You want a baseline order quantity to compare with supplier minimums or pack sizes.
If the numbers point to a bigger question, such as which suppliers, inventory policies or logistics routes to change, our supply chain consulting can help you work through it.
Frequently asked questions
What is economic order quantity (EOQ)?
Economic order quantity is the order size that minimizes the combined annual cost of placing orders and holding inventory, under a simple model with steady demand and fixed costs.
What is the EOQ formula?
EOQ = sqrt(2 x D x S / H), where D is annual demand in units, S is the cost of placing one order and H is the holding cost per unit per year.
How do I estimate ordering cost and holding cost?
Ordering cost is what one order costs you to place, receive and process, including setup if you make the item yourself. Holding cost per unit per year is typically the unit cost times your carrying cost rate, covering capital, storage, insurance and handling.
Should I order exactly the EOQ?
Not necessarily. Round to pack sizes, pallet quantities and supplier minimums. Total cost changes slowly near the EOQ, so a nearby quantity that fits your constraints is often a reasonable choice.
What are the limits of the EOQ model?
It assumes steady demand, fixed ordering and holding costs, instant replenishment and no quantity discounts or stockouts. If those are far from your situation, treat the result as a starting point and pair it with safety stock.
Related tools
Set buffer stock and a reorder point from demand and lead-time variability.
Work out turns, days of inventory and annual carrying cost.
Estimate cartons per 20ft, 40ft and 40ft HC container from carton size and weight.
Browse all of our free supply chain tools.
Talk through your numbers on a free 30-minute call
Bring your inputs and we will help you check the assumptions and think through the options. We agree the scope with you before any work starts.