Sub topic 8
Little's Law: Linking WIP, Throughput, and Cycle Time
What you need first
This chapter assumes you know what work in progress (WIP) and batch size are from the previous chapter. It also assumes you can read a simple formula and do division. No statistics background is needed.
Little's Law is the first quantitative tool in this tutorial that predicts how a change in one measure moves another. Later chapters on pull and kanban depend on it. A WIP limit is a decision about cycle time, and this law is the reason.
The law
Little's Law says that, for a stable process, three averages are tied together:
average WIP = average throughput × average cycle timeRearranged for the case Lean cares about most:
average cycle time = average WIP / average throughputThe terms need exact definitions, because most mistakes with the law are mistakes of definition.
| Term | Meaning | Typical unit |
|---|---|---|
| WIP | Items that have started but are not finished, counted at the same moment | items |
| Throughput | Items finished (leaving the process) per unit of time | items per day |
| Cycle time | Time one item spends between entering and leaving the process | days |
Cycle time here is the time an item spends inside the boundary you drew, including waiting. It is not the hands-on time. In the value stream chapter this was called lead time for a whole order. The idea is the same: the clock runs while the item waits.
The law was proved by John Little in 1961 for queueing systems. It makes no assumptions about the order in which items are served or about how work arrives. That generality is why it applies equally to a factory floor, a support queue, or a software team's board.
A first calculation
The calculation below uses the numbers from the spine. A team finishes 5 items per day on average.
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 10With 30 items in progress and 5 finishing per day, an average item takes 6 days from start to finish. Cut WIP to 10 at the same throughput, and the average item takes 2 days.
The team did not work faster. Throughput stayed at 5 per day. Items simply stopped queueing behind each other. This ties directly to flow efficiency from the mapping chapter. Almost all of an item's lead time is waiting, so removing items from the queue removes waiting.
Reading the law in three directions
The formula links three quantities, so you can solve for any one of them when you know the other two.
- Solve for cycle time. You know WIP and throughput, and you want to predict how long an item takes. A board has 24 open items and the team closes 4 per week. The average cycle time is 24 / 4 = 6 weeks.
- Solve for WIP. You know how fast you need to be and how much you can finish. To keep cycle time at 3 days with a throughput of 5 per day, you can hold at most 3 × 5 = 15 items in progress.
- Solve for throughput. You know WIP and cycle time, and you want the rate. If 12 items are in progress and each takes 4 days, the team completes 12 / 4 = 3 items per day.
The second use is the one that matters for pull. You choose a target cycle time, and the law gives you the WIP limit that supports it. Kanban makes that limit concrete.
Why this makes WIP a lever
For a given process, throughput is fixed in the short term by capacity: people, machines, and the slowest step. You cannot raise it quickly. WIP, by contrast, is a choice. Someone decides whether to start the next item.
So the law gives managers a control that works:
- Lowering WIP shortens cycle time without needing more capacity.
- Raising WIP lengthens cycle time, and usually does not raise throughput.
The second point is the common surprise. Starting more work looks like progress, but once every worker and machine is busy, extra items only wait. The queue grows, cycle time grows, and throughput stays flat.
There is a lower bound too. If you cut WIP too far, a step may run out of work and sit idle, and throughput drops. WIP limits are therefore set low enough to expose waiting but high enough to keep the bottleneck fed.
Checking the law on real data
You can verify Little's Law from timestamps. This script takes the start and finish day of five items and computes all three averages independently. WIP is counted by looking at each day and counting items that are open, not by using the formula.
# (start_day, finish_day) for each item. An item is "in progress" on day d
# if start <= d < finish.
items = [(0, 3), (1, 4), (2, 4), (3, 6), (5, 7)]
first_day = min(start for start, _ in items)
last_day = max(finish for _, finish in items)
window = last_day - first_day # 7 days; the process starts and ends empty
# Average cycle time: mean of (finish - start)
avg_cycle = sum(finish - start for start, finish in items) / len(items)
# Throughput: items finished per day over the window
throughput = len(items) / window
# Average WIP: count open items on each day, then average
daily_wip = [
sum(1 for start, finish in items if start <= day < finish)
for day in range(first_day, last_day)
]
avg_wip = sum(daily_wip) / window
print(f"Average cycle time: {avg_cycle:.2f} days")
print(f"Throughput: {throughput:.3f} items/day")
print(f"Average WIP: {avg_wip:.3f}")
print(f"Throughput x cycle time: {throughput * avg_cycle:.3f}")
# Average cycle time: 2.60 days
# Throughput: 0.714 items/day
# Average WIP: 1.857
# Throughput x cycle time: 1.857The two WIP figures match because the window starts and ends with no items in progress. Total item-days (13) equal the sum of the cycle times, and both equal average WIP times the window length. That is the whole proof in miniature.
When the law holds, and when it misleads
Little's Law is an identity over a long enough period, but you can misapply it. Check these conditions before you trust a number.
The system must be stable
Over the period you measure, the number of items entering should roughly equal the number leaving. If the backlog is growing every week, arrivals exceed completions, and averages computed from finished items understate the true wait. Items still stuck in the queue are not in your data yet.
Use the same boundary for all three measures
WIP, throughput, and cycle time must describe the same part of the process. A common mistake is to count WIP for the whole board but measure cycle time only from "In development" to "Done". The result will not satisfy the formula, and the gap is the time items spent before development started.
Keep the units consistent
If throughput is per week and cycle time is in days, convert one of them first. A mismatch gives an answer that is wrong by a factor of five or seven, and the result looks plausible.
Averages are not guarantees
The law relates averages. An average cycle time of 2 days does not mean every item takes 2 days. Some items take 8 days, and customers feel those. Use the law for planning and for choosing a WIP limit, and look at the spread of cycle times separately.
Counting WIP honestly
Items that are "blocked" or "waiting for approval" are still in progress. Leaving them out of the WIP count makes the board look healthy while the cycle time stays long. Count everything that has started and has not finished.
Common errors
- Using the law to forecast one item. It describes averages across many items. It does not tell you when a particular order will ship.
- Assuming throughput stays constant when WIP changes. Throughput usually holds when you cut WIP from a very high level. It will fall if you cut so far that the bottleneck starves.
- Counting only started items that are moving. Parked items still add to cycle time.
- Mixing item sizes. If one item is a ten-minute fix and another is a three-month project, an average count of items hides what is happening. Group items of similar size, or measure each size separately.
- Treating the law as a cause. It is an arithmetic relation. It shows that cycle time cannot fall unless WIP falls or throughput rises, but it does not say how to do either. That requires the pull and flow practices in the other chapters.
Connecting to pull
The next chapters build on one idea. If you choose a target cycle time, the law gives a maximum WIP. A pull system enforces that maximum, because new work enters only when something leaves. The simple rule from the spine does exactly this:
WIP_LIMIT = 3
def can_pull_new_work(in_progress):
"""A team pulls a new item only when it is below its WIP limit."""
return in_progress < WIP_LIMIT
print(can_pull_new_work(2)) # True: capacity is free, so pull the next item
print(can_pull_new_work(3)) # False: finish something before starting moreIf this team finishes 1.5 items per day, a limit of 3 caps average cycle time at 3 / 1.5 = 2 days. The rule is a promise about speed.
Exercises
Exercise
A support team has 40 tickets open (started, not resolved) and resolves 8 tickets per day on average. What is the average time a ticket takes to resolve, and what WIP would give an average of 2 days at the same throughput?
Show answer
Average cycle time = 40 / 8 = 5 days. For an average of 2 days at 8 tickets per day, WIP should be about 2 × 8 = 16 tickets.
Exercise
A manager reports a cycle time of 3 days measured from "In development" to "Done". The whole board holds 30 items and the team finishes 5 per day. Using Little's Law, what cycle time does the board as a whole imply, and what does the difference suggest?
Show answer
The whole board implies 30 / 5 = 6 days. The reported 3 days covers only part of the process. The other roughly 3 days are spent waiting before development starts, so the measures use different boundaries and the queue before development is a place to look for waste.
Exercise
Why might cutting WIP from 10 to 2 reduce throughput even though Little's Law predicts a shorter cycle time?
Show answer
Little's Law relates averages and assumes throughput is given. With very little WIP, the bottleneck step can run out of work and sit idle, so fewer items finish per day. The new throughput must be measured, and the limit should stay high enough to keep the bottleneck busy.