Calculate optimal manufacturing batch size using the EOQ formula. Balance setup costs against inventory holding costs for efficiency.
Determining the right batch size is a fundamental manufacturing decision. Produce in batches that are too large and you tie up capital in excess inventory, increase storage costs, and risk obsolescence. Produce in batches that are too small and setup costs consume an excessive share of your budget while disrupting production flow.
The Economic Order Quantity (EOQ) formula — adapted for production as Economic Production Quantity (EPQ) — finds the mathematical sweet spot where total cost is minimized. This calculator uses the classic square-root formula: Optimal Batch = √(2 × Annual Demand × Setup Cost / Annual Holding Cost per Unit).
Beyond the optimal batch size, this calculator shows you the number of production runs per year, the total annual setup cost, and total annual holding cost, so you can see how changes to setup cost or holding cost shift the optimum.
Integrating this calculation into regular operational reviews ensures that key decisions are grounded in current data rather than outdated assumptions or rough approximations from the past.
Guessing at batch size costs money either way — too large means excess inventory, too small means excessive setups. This calculator applies proven optimization math to find the batch size that minimizes total cost. Precise quantification supports benchmarking against industry standards and internal targets, driving accountability and continuous improvement throughout the organization.
Optimal Batch = √(2 × D × S / H) Where: D = Annual demand (units) S = Setup cost per batch ($) H = Annual holding cost per unit ($) Annual Setup Cost = (D / Q) × S Annual Holding Cost = (Q / 2) × H Total Cost = Setup Cost + Holding Cost
Result: 894 units
Optimal Batch = √(2 × 10,000 × 200 / 5) = √800,000 = 894 units. This requires about 11.2 runs per year. Annual setup cost is $2,236 and annual holding cost is $2,236, totaling $4,472.
The EOQ model assumes constant demand, fixed setup cost, and constant holding cost. Real manufacturing rarely meets these assumptions perfectly, but the formula still provides a sound baseline. Adjust for real-world constraints after calculating the theoretical optimum.
Lean manufacturing pushes toward batch sizes of one — single-piece flow. EOQ shows that this is only economically optimal when setup cost approaches zero. SMED and other lean tools systematically reduce setup cost, making smaller batches feasible.
When multiple products share the same equipment, batch sizes must account for changeover sequences and total available time. Joint optimization or scheduling heuristics extend the single-product EOQ to handle real multi-product environments.
EOQ assumes instantaneous receipt of the full batch (like a purchase order). EPQ accounts for gradual production of the batch over time. For manufacturing, EPQ is technically more accurate, but EOQ gives a good approximation.
Holding cost includes capital cost (interest rate on money tied up), storage space cost, insurance, handling, and obsolescence risk. A common estimate is 20-30% of the unit production cost per year.
Use annual average demand for EOQ. For highly seasonal products, you may need to calculate different batch sizes for peak and off-peak periods, or build inventory ahead of demand spikes.
No. EOQ is a starting point. Round to practical quantities and consider constraints like container sizes, shelf life, customer order patterns, and machine limitations.
Lower setup cost always reduces the optimal batch size. This is why lean manufacturers invest heavily in SMED and quick changeover — it enables economically small batches, which improve flow and reduce inventory.
The total cost curve is relatively flat near the optimum. Being 20% above or below the optimal batch only increases total cost by about 2%. This means practical rounding has minimal cost impact.