Little's Law Calculator

What is Little's Law?

Little's Law is a fundamental theorem in queueing theory that establishes a long-term relationship between three key variables in a stable system. Formulated by John Little in 1961, the law states that the average number of items (L) in a system is equal to the average arrival rate (λ) multiplied by the average time (W) an item spends in the system. The mathematical formula is L = λ × W.

This principle is powerful because it is independent of the distribution of arrival and service processes. Whether you are managing a bank queue, a manufacturing line, or a software development sprint, Little's Law provides a reliable way to predict system performance without needing to know complex internal dynamics.

How to Use This Calculator

Using our Little's Law Calculator is straightforward. Follow these steps:

  • Select Target Variable: Choose whether you want to solve for the total items (L), the arrival rate (throughput), or the wait time (lead time).
  • Enter Data: Input the two known values. Ensure that your time units are consistent (e.g., if arrival rate is per hour, wait time should be in hours).
  • Get Results: Click "Calculate Now" to see the missing variable instantly.

Real-World Applications

Little's Law is widely used across various industries to optimize efficiency:

1. Manufacturing: Plant managers use it to determine Work-in-Progress (WIP) inventory. If they know the throughput and lead time, they can control the amount of stock sitting on the factory floor.

2. Software Engineering (DevOps): Agile teams apply the law to manage "Work in Progress" limits. By reducing WIP, they can decrease lead times and deliver features faster to customers.

3. Retail and Customer Service: Store managers use it to calculate how many customers are in the store at any given time based on the rate of entry and average shopping duration.

Frequently Asked Questions

Q: Does the system have to be stable?
A: Yes. Little's Law applies to systems in a steady state where the arrival rate roughly equals the departure rate over the long term.

Q: What units should I use?
A: You can use any unit (seconds, hours, days), but they must be consistent. If λ is items per minute, W must be in minutes.