Sub topic 7
Why Batches and Work in Progress Slow Flow
This chapter assumes you know the five Lean principles at a high level and have read the earlier chapters on value, the value stream, and flow. You should be comfortable with simple ratios. The chapter explains why large batches and high work in progress (WIP) make work slow, how to spot the effect, and which mistakes teams commonly make when they try to fix it.
The working model
Work in progress (WIP) is the number of items that have been started but not yet finished. A batch is a group of items that move through a step together. Both ideas matter because of one fact. An item that is not being worked on is waiting, and waiting is where most lead time goes.
In the flow efficiency example from the value stream mapping chapter, an order had 4 hours of work and 55.5 hours of waiting. Flow efficiency was 6.7%. Large batches and high WIP are two of the main reasons for waits that long. They make items queue up, and a queue is only a place where finished-with-this-step work waits for the next step.
The third Lean principle asks for work to flow without stops. Batches and WIP are the two most common things that make it stop.
How batches slow flow
Suppose a team prepares 100 customer letters. The steps are print, fold, and stuff into an envelope. Each step takes 1 minute per letter.
With a batch of 100, the team prints all 100 letters first. Then it folds all 100. Then it stuffs all 100. The first letter is finished only after 201 minutes, which is 100 minutes of printing, 100 minutes of folding, and 1 minute of stuffing. Every letter is ready at the same moment, so the customer waiting for letter 1 waits as long as the customer waiting for letter 100.
With a batch of 1, the team prints letter 1, folds it, and stuffs it, then moves to letter 2. The first letter is finished after 3 minutes. The total time to finish all 100 letters is about 102 minutes if each step is staffed separately and works in parallel, or 300 minutes if one person does everything. The batch-of-1 approach is never slower in total than the large batch in the single-person case. It is the same 300 minutes of work, delivered earlier on average.
The code below computes when each letter finishes under both approaches, for one person doing all the work.
def completion_times(n_items, batch_size, minutes_per_step=1, steps=3):
"""Return the finish time of each item when one person works
through the steps, one batch at a time."""
finish = []
clock = 0
for start in range(0, n_items, batch_size):
batch = min(batch_size, n_items - start)
# The whole batch passes through every step before the next batch starts.
clock += batch * minutes_per_step * steps
finish.extend([clock] * batch)
return finish
large = completion_times(100, 100)
small = completion_times(100, 1)
print("Batch of 100: first letter at", large[0], "min, average", sum(large) / len(large))
print("Batch of 1: first letter at", small[0], "min, average", sum(small) / len(small))Running this prints a first-letter time of 300 minutes and an average of 300 for the large batch. For the batch of 1 it prints 3 minutes for the first letter and an average of 151.5 minutes. The work done is identical. Only the order changed.
Note that this model finishes each batch through all three steps before starting the next batch. That is the assumption behind the numbers. If steps were pipelined across several people, the batch-of-100 case would also improve, but it would still be slower to deliver the first item than a small batch.
Other costs of large batches
Waiting is the main cost, but there are others.
- Late feedback. If a defect is in the first letter, a team working in batches of 100 finds it after printing 100 copies. A team working one at a time finds it after one.
- Larger rework. A defect found late affects every item made since it started.
- Hidden problems. Large batches absorb variation. A slow step looks fine because the pile hides it, so the team does not see what needs improving.
- Higher holding cost. Unfinished items take up space, money, or attention. In knowledge work, they go stale. A feature specification written three months before it is built may no longer match what the customer wants.
Why batches exist
Teams usually batch for a reason, and the reason is often a cost of switching or setting up. If printing requires a 30-minute machine setup, printing one letter at a time is wasteful. A sound response is to reduce the setup cost, not to accept the large batch as fixed. Lean practice uses the term setup reduction for this. In software, the equivalent is automating deployment so releasing small changes is cheap.
How WIP slows flow
Batch size is about how many items move together. WIP is about how many items the whole system has open. A team can have a batch size of 1 and still have 40 items in progress, because everyone has started something and nobody has finished it.
High WIP slows work in four ways.
- Queues grow. More items open means more items waiting for the next step. Each item spends more of its life idle.
- Context switching costs time. A person with five open items switches between them. Each switch costs time to reload the context, and the time is not spent on any item.
- Problems surface late. When many items are half finished, a blocked item is easy to ignore because other work is available. The blocker lasts longer.
- Predictability falls. With a long queue, the time to finish a new item depends on everything ahead of it, so estimates become unreliable.
The relationship between WIP and time is exact, not only a tendency. The next chapter covers it as Little's Law. A short preview is useful here. Average cycle time equals average WIP divided by average throughput. If throughput stays the same, doubling WIP doubles the time each item takes.
def avg_cycle_time(wip, throughput_per_day):
"""Little's Law: average cycle time = WIP / throughput."""
return wip / throughput_per_day
print(avg_cycle_time(30, 5)) # 6.0 days with 30 items in progress
print(avg_cycle_time(10, 5)) # 2.0 days after limiting WIP to 10The team in this example completes 5 items per day in both cases. With 30 items open, each takes 6 days on average. With 10 open, each takes 2 days. Nothing about the team's speed changed. Less work was open at once.
The effect of utilization
Many managers try to keep everyone fully busy. This creates high WIP, because there is always something ready to start. It also makes queues worse in a way that surprises people.
In a process with variable arrival times and variable task durations, queue length rises sharply as utilization approaches 100%. A common queueing result for a single server with random arrivals and service times (the M/M/1 model) says that average time in the system is proportional to 1 / (1 − utilization). The code shows the multiplier.
for utilization in (0.5, 0.7, 0.8, 0.9, 0.95, 0.99):
multiplier = 1 / (1 - utilization)
print(f"Utilization {utilization:.0%}: time in system is {multiplier:.0f}x the task time")The output runs from 2x at 50% to 100x at 99%. Real processes do not match the M/M/1 model exactly, so treat the numbers as the shape of the curve and not as a forecast. The lesson holds anyway. A team loaded to 95% has long queues and slow responses. Some spare capacity is what keeps work moving.
Seeing the effect in a process
Several signs point to excess batching or WIP.
- Lead time is much longer than the sum of the work times, so flow efficiency is low.
- Work items sit in columns or queues for days between steps.
- People are busy but few items are completed each week.
- Items are often reprioritized or abandoned while half done.
- Defects are found long after the work that caused them.
A simple measurement is to count the items in each stage on a board or in a tracking system, then watch how the counts change over a few weeks. A column that keeps growing marks a bottleneck. A large total marks high WIP.
Reducing batches and WIP
The following steps work in most settings.
- Make WIP visible. Put every open item on one board or list. Hidden work cannot be limited.
- Count it. Record how many items are open at each stage, and the total.
- Set a limit. Pick a WIP limit a little below the current average and enforce it. A common starting rule is about one open item per person, or fewer.
- Finish before starting. When a team member is blocked, help clear the blocker instead of starting something new.
- Shrink batches. Split work into the smallest piece that still has value. Reduce the setup or transaction cost that justified the large batch.
- Watch the result. Track cycle time and throughput. Cycle time should fall. If throughput also falls sharply, the limit may be too low or a bottleneck needs attention.
The next chapters build on this. Little's Law explains the numbers precisely, and kanban turns the WIP limit into a daily working rule.
Common errors
- Treating a full calendar as efficiency. Resource utilization is not the same as flow efficiency. A fully booked team can have very low flow efficiency.
- Cutting batch size without cutting setup cost. If every release or changeover is expensive, small batches can raise total cost. Fix the setup first, or in parallel.
- Setting a WIP limit and then ignoring it. A limit that people break whenever work arrives has no effect. Agree in advance what happens when the limit is reached.
- Hiding work to look under the limit. Work kept off the board still uses attention. Count everything, including urgent requests and support tasks.
- Starting more work to look busy while blocked. This raises WIP and lengthens every other item's cycle time.
- Expecting throughput to rise at once. Lower WIP first shortens cycle time. Throughput often improves later, as blockers surface and get fixed.
- Applying one limit everywhere. Some stages need a different limit, especially a bottleneck stage that should never run out of work.
Summary of the key points
| Concept | What it is | Effect on flow |
|---|---|---|
| Batch size | Number of items moved through a step together | Larger batches delay the first and average completion, and hide defects |
| WIP | Items started but not finished | Higher WIP lengthens queues and cycle time |
| Utilization | Share of capacity in use | Near 100%, queues grow sharply |
| Setup cost | Time or money to start a batch | High setup cost pushes teams toward large batches |
Exercise
A team finishes 4 items per day on average. It currently has 24 items in progress. Using Little's Law, what is the average cycle time? If the team limits WIP to 8 and throughput stays at 4 per day, what is the new average cycle time?
Show answer
Average cycle time = WIP / throughput. With 24 items: 24 / 4 = 6 days. With 8 items: 8 / 4 = 2 days. The team finishes the same number of items per day, but each item takes one third as long.
Exercise
A print shop prepares 50 brochures through three steps (print, fold, staple) at 2 minutes per brochure per step, with one worker doing everything. Compare the time until the first brochure is finished when the worker uses a batch of 50 versus a batch of 1. Name one reason the shop might still choose a larger batch.
Show answer
With a batch of 50, each step takes 50 × 2 = 100 minutes, so the first brochure is finished after 300 minutes. With a batch of 1, the first brochure is finished after 3 steps × 2 minutes = 6 minutes. A larger batch can make sense when the setup cost is high, for example if the print machine needs a long changeover each time it switches job, so doing small batches would add many setups.
Exercise
A support team has everyone booked at 95% utilization and complains that replies are slow. A manager proposes hiring nobody and instead lowering the planned load to about 80%. Explain why this could shorten reply times, and give the M/M/1 time-in-system multiplier at both loads.
Show answer
With random arrivals and varying task lengths, queues grow sharply as utilization nears 100%. Time in system is proportional to 1 / (1 − utilization). At 95% the multiplier is 1 / 0.05 = 20. At 80% it is 1 / 0.20 = 5. Lowering the load leaves spare capacity to absorb variation, so requests wait less. The model is a simplification, but the direction of the effect holds in real processes.