Works on this device
Economic Order Quantity Calculator
The economic order quantity (EOQ) is the order size that keeps the yearly cost of placing orders and holding stock as low as it can be. Enter your yearly demand, the cost of one order and the holding cost, and the calculator gives the EOQ and its costs.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Enter the yearly demand in units and the cost of placing one order.
- Enter the holding cost of one unit for one year, or a percent of the unit cost together with the unit cost.
- If you like, add the lead time in days to see the reorder point, and your own order quantity to see what it costs against the EOQ.
- Choose Calculate. The table and the chart show how the yearly cost changes with the order size.
- If the supplier gives lower prices for larger orders, choose EOQ with quantity discounts. If you make the goods yourself, choose Production quantity.
The formulas
- EOQ = √(2 × D × S ÷ H), with D the yearly demand, S the cost of one order and H the holding cost of one unit for one year (the Wilson formula).
- Orders a year = D ÷ Q. Time between orders = Q ÷ D × days in the year.
- Yearly ordering cost = D ÷ Q × S. Yearly holding cost = Q ÷ 2 × H. At the EOQ the two are equal, and their sum is √(2 × D × S × H).
- Reorder point without safety stock = demand per day × lead time in days.
- Production quantity = √(2 × D × S ÷ (H × (1 − u ÷ p))), with u the demand per day and p the production per day. The highest stock is Q × (1 − u ÷ p).
The assumptions
The Wilson formula assumes that demand is known and steady, that the lead time is known and fixed, that each order arrives all at once, that there are no stockouts, and that the cost of an order and the holding cost of a unit do not change with the order size. Real demand moves, so add safety stock with the Safety Stock Calculator.
Worked example
A shop sells 12,000 units a year. Each order costs 75 to place, and holding one unit for a year costs 2.50. EOQ = √(2 × 12,000 × 75 ÷ 2.5) = √720,000 = 848.53 units. That is 14.14 orders a year, one every 25.8 days. The yearly ordering cost and the yearly holding cost are both 1,060.66, so together they are 2,121.32.
Price breaks: with a yearly demand of 5,000, an order cost of 49, a holding cost of 20% of the price, and prices of 5.00, 4.80 from 1,000 units and 4.75 from 2,000 units, the EOQs are 700, 714.4 and 718.2. The second and the third are raised to 1,000 and 2,000. The total yearly costs are 25,700.00, 24,725.00 and 24,822.50, so ordering 1,000 at 4.80 is best.
Production: with the first figures and a production rate of 80 units a day over 365 days of use, demand is 32.88 a day. The best run is 1,105.59 units and the highest stock is 651.24 units.
Limits you should know
- The EOQ is a guide. The total cost changes slowly near it, so a round order size close to the EOQ costs very little more.
- Price breaks are taken as all-units discounts: the lower price applies to every unit of the order.
- The cost of an order may have 2 decimal places. Holding costs and unit prices may have up to 4.
- For the reorder point with safety stock, use the Reorder Point Calculator.
- The result is arithmetic on the figures you type. It is not financial advice.