1. Home
  2. Calculators
  3. Batch Size (EBQ) Calculator

Batch Size (EBQ) Calculator

Batch size where setup and holding cost balance.

At 2,236 units per batch, setup and holding cost are equal: $5,590 each per year.

Cost a year against batch size

$0$5,000$10,000$15,000$ a yearbatch size, unitsSetupHoldingTotalAfter SMED2,2361,225
Setup cost $ a batch
Holding cost $ a unit a year
After SMED $ a batch
EBQ2,236 units a batch, 22.4 batches a year, $11,180 a year
After SMED1,225 units a batch, 40.8 batches a year, $6,124 a year

Do this Cut setup cost from $250 to $75 a batch: batch 2,236 to 1,225 units, 22.4 to 40.8 batches a year, cost $11,180 to $6,124 a year, $5,056 a year saved.

The EBQ Formula

EBQ = sqrt(2 x D x S / H)
A big batch waits for its slowest member before it moves. Smaller batches get the first finished unit out the door much sooner.

How to use this calculator

  1. Enter setup/changeover cost per batch (labor + downtime).
  2. Enter holding cost per unit per period.
  3. Enter demand rate in units per period.
sqrt(S)
Setup Cost Drives EBQ
SMED
Enables Small Batches
20-30%
Typical Holding Cost %
WIP
Drops with Batch Size

Understanding Batch Size Optimization

Batch size is one of the most consequential decisions in manufacturing. Too large and you carry excess inventory, extend lead times, and hide quality problems. Too small and you spend all your time on changeovers instead of production. The Economic Batch Quantity (EBQ) finds the mathematical sweet spot.

But here is the lean insight: instead of accepting whatever EBQ the formula gives you, reduce the setup cost to make smaller batches economical. This is exactly what SMED accomplishes.

Setup $250
EBQ: 2,236
SMED
Setup $75
EBQ: 1,225
SMED
Setup $25
EBQ: 707
At 50,000 units a year and $5 holding cost, cutting setup cost 90% ($250 to $25) cuts EBQ 68% (2,236 to 707). Smaller batches = less WIP = faster flow.

Real-World Example

Annual demand is 50,000 units. Setup cost is $250 per batch. Holding cost is $5 per unit per year.

EBQ = sqrt(2 x 50,000 x 250 / 5) = sqrt(5,000,000) = 2,236 units
Batches per year = 50,000 / 2,236 = 22.4 batches
Avg inventory = 2,236 / 2 = 1,118 units
Total cost = (22.4 x $250) + (1,118 x $5) = $5,590 + $5,590 = $11,180/year

If SMED reduces setup cost to $75: EBQ drops to 1,225 units (45% smaller batches). These are the numbers loaded in the calculator above.

The Setup-Inventory Tradeoff

Setup CostEBQBatches/YearAvg Inventory
$5003,162161,581 units
$2502,236221,118 units
$1001,41435707 units
$2570771354 units

How Lean Thinking Flips the Formula

Calculate Current EBQUse this calculator with your actual setup and holding costs. This is your baseline.
Set a Target Batch SizeDecide the batch size you want (based on lead time, WIP, and customer responsiveness goals). It will be smaller than EBQ.
Calculate Required Setup CostRearrange: Required S = (Target Batch)² x H / (2 x D). This tells you how low setup cost must go.
Apply SMED to Hit That TargetUse our SMED Calculator to plan the changeover reduction needed to reach the required setup cost.

The Square Root Relationship

EBQ is proportional to the square root of setup cost. This means you must cut setup cost by 75% to halve the batch size. It also means the first 50% reduction in setup cost only reduces EBQ by 29%. Lean manufacturers keep pushing SMED because each further reduction yields compounding benefits through smaller batches.

Small Batch Benefits

  • Less WIP on the floor
  • Shorter lead times (Little's Law)
  • Faster quality feedback loops
  • Better response to demand changes

Large Batch Problems

  • High inventory carrying costs
  • Long lead times and slow response
  • Quality problems hidden in WIP
  • Obsolescence risk on large stocks

Key Takeaway

The EBQ formula tells you the optimal batch size given current setup costs. But lean manufacturing challenges you to reduce those setup costs and unlock smaller, more flexible batch sizes. Use SMED to shrink changeovers, then recalculate EBQ; the compounding benefits of smaller batches flow through your entire value stream.

Get the Plant Floor Briefing: one free tool like this every 2 weeks

One guide, one free tool, one problem fixed. Every 2 weeks by email. No spam, unsubscribe any time.

Frequently asked questions

What is economic batch quantity (EBQ)?

EBQ is the batch size that minimizes total annual cost: the sum of setup costs and holding costs. Too small = too many setups. Too large = too much inventory. EBQ finds the sweet spot.

How is EBQ different from EOQ?

EOQ (Economic Order Quantity) is for purchased items; it balances ordering cost vs holding cost. EBQ is for manufactured items; it balances setup/changeover cost vs holding cost. The formula is structurally similar.

Why do lean manufacturers want smaller batches?

Smaller batches reduce WIP, shorten lead times, improve quality feedback loops, and increase flexibility. Rather than accepting large EBQ, lean manufacturers reduce setup cost (via SMED) to make smaller batches economical.

How does setup cost reduction affect batch size?

EBQ is proportional to the square root of setup cost. Cutting setup cost by 75% (via SMED) cuts EBQ by 50%. This is why changeover reduction is foundational to lean manufacturing.

What costs should I include in holding cost?

Capital cost (interest on tied-up cash), storage space, insurance, obsolescence risk, handling, and damage. A common rule of thumb is 20-30% of unit cost per year.

Is the EBQ formula still relevant in lean manufacturing?

Yes, but lean thinking flips the approach. Instead of accepting a large EBQ, lean asks: how do we reduce setup cost to make the desired small batch size economical? SMED is the primary tool for this.

Dive deeper

Free Process Modeler. Map a full production flow, find the bottleneck, and plan staffing. Free in the browser.

Open the modeler