At a Glance
- Category
- Operations
- Best For
- Production planners choosing batch sizes
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Balances setup costs (small batches) against holding cost (large batches) when stock builds up during production.
Production planners, industrial engineers and supply chain analysts.
Setting lot sizes for items made in-house.
Too many setups waste time; too large a batch ties up inventory.
Key Features & Capabilities
Optimal batch size
The economic production quantity, in units per run.
Cost breakdown
Annual setup and holding costs.
Runs per year
How often to produce.
How to Use This Tool
Enter annual demand
Type units demanded per year. Tip: Use a forecast.
Enter the production capacity
Type annual units if the line ran continuously. Tip: It must exceed demand.
Enter setup and holding costs
Type cost per setup and annual holding cost per unit. Tip: Include all setup costs.
Read the batch size
See the EPQ, runs per year and total cost. Tip: Round to practical lot sizes.
Worked Real-World Example
12,000 units a year
A plant has annual demand of 12,000 units and can make 36,000 a year. A setup costs 450 and holding costs 5.50 per unit per year.
How It Works (Math & Calculation Logic)
Demand-to-capacity ratio = D ÷ P. EPQ = √(2 × D × S ÷ (H × (1 − D ÷ P))). Runs per year = D ÷ EPQ. Annual setup cost = runs × S. Maximum inventory = EPQ × (1 − D ÷ P). Annual holding cost = maximum inventory ÷ 2 × H. Total = setup + holding.
How to Interpret Your Results
Total cost is flat near the optimum, so rounding the batch is usually fine.
Reducing setup cost reduces the optimal batch size.
Cut setup cost to justify smaller, more flexible batches.
Frequently Asked Questions
What is EPQ?
How is EPQ different from EOQ?
Why does capacity matter?
What if setup costs fall?
Can I round the batch size?
Complementary QuickForma Utilities
Kanban Container & Safety Card Quantity Solver
Calculate and analyze kanban container & safety card quantity solver with instant client-side business precision.
SMED Tooling Changeover Setup Loss Solver
Calculate and analyze smed tooling changeover setup loss solver with instant client-side business precision.
WIP Inventory Valuation & Production Flow
Calculate and analyze wip inventory valuation & production flow with instant client-side business precision.
Cube Utilization & Bin Storage Efficiency
Calculate and analyze cube utilization & bin storage efficiency with instant client-side business precision.
Warehouse Order Picker Travel Time Solver
Calculate and analyze warehouse order picker travel time solver with instant client-side business precision.
OTIF Supplier Delivery Performance Rating
Calculate and analyze otif supplier delivery performance rating with instant client-side business precision.
Chemical / Food Production Yield Loss Solver
Calculate and analyze chemical / food production yield loss solver with instant client-side business precision.
Asset Equipment Replacement Timing NPV
Calculate and analyze asset equipment replacement timing npv with instant client-side business precision.
Standard vs Actual Labor Hours Variance
Calculate and analyze standard vs actual labor hours variance with instant client-side business precision.
Net Material Requirements & Lead Time Solver
Calculate and analyze net material requirements & lead time solver with instant client-side business precision.
Critical MRO Spare Parts Safety Stock Solver
Calculate and analyze critical mro spare parts safety stock solver with instant client-side business precision.