Batch Size Optimization Calculator

Calculate optimal manufacturing batch size using the EOQ formula. Balance setup costs against inventory holding costs for efficiency.

units
$
$
$
days
days
units/day
Optimal Batch Size (EPQ)
1,175 units
Classic EOQ: 1,025 units
Runs per Year
10.2
Cycle: 24.5 days, Production: 5.9 days
Annual Setup Cost
$3,574.47
10.2 runs ร— $350.00
Annual Holding Cost
$3,572.00
Avg inventory ร— $8.00/unit/yr
Total Inventory Cost
$7,146.47
$0.60/unit โ€” Setup + Holding only
Reorder Point
576 units
240 demand + 336 safety
Inventory Turns
26.9ร—/yr
Annual demand รท average inventory
Daily Demand
48 units/day
Based on 250 working days/year
Setup vs Holding Cost Split
Setup 50%
Holding 50%

Batch Size Sensitivity Analysis

% of OptimalBatch SizeSetup CostHolding CostTotal CostCost PenaltyPenalty Bar
50%588$7,142.86$1,787.52$8,930.38+25%
75%881$4,767.31$2,678.24$7,445.55+4.2%
100%1,175$3,574.47$3,572.00$7,146.47Optimal
125%1,469$2,859.09$4,465.76$7,324.85+2.5%
150%1,763$2,382.30$5,359.52$7,741.82+8.3%
200%2,350$1,787.23$7,144.00$8,931.23+25%
Planning notes, formulas, and examples

About the Batch Size Optimization Calculator

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.

When This Page Helps

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.

How to Use the Inputs

  1. Enter annual demand for the product in units.
  2. Enter the cost per production setup (labor, materials, lost production).
  3. Enter the annual holding cost per unit (storage, capital, insurance, obsolescence).
  4. View the optimal batch size from the EOQ formula.
  5. Review the number of production runs per year at optimal batch size.
  6. Compare total annual cost against your current batch size cost.
Formula used
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

Example Calculation

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.

Tips & Best Practices

  • Include all setup costs: labor, materials, machine downtime, and first-article scrap.
  • Holding cost typically ranges from 20-30% of unit cost per year.
  • If optimal batch is impractically small, focus on reducing setup cost to lower it further.
  • Round the optimal batch to a practical container or pallet quantity.
  • Recalculate whenever setup cost or demand changes significantly.
  • Consider shelf life and obsolescence risk for perishable or fast-changing products.

EOQ Assumptions and Limitations

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.

Connecting Batch Size to Lean Manufacturing

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.

Multi-Product Batch Optimization

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.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • 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.