Little’s Law

The Presence Calculus Project

Header image

What is Little’s Law?

Little’s Law follows from a simple conservation principle:

The total time accumulated in the system by a set of items over a window, when averaged per item, is proportional to the average number of items present over that window per unit of time.
The proportionality factor is the rate at which items enter during the window.

The classical presentation expresses this as a steady state law:

\[L = λW\]

In general, we imagine discrete items flowing through an input–output system over a chosen observation window:

The common steady-state version assumes these quantities are stable, long run values. But the conservation principle itself holds on any finite window.

This gap between a finite-window identity and the long-run formula is where the much richer structure of the dynamics of flow processes appears—one we develop in The Presence Calculus.

Little’s Law and The Presence Calculus

The techniques used to prove Little’s Law and the concept of sample path analysis of flow processes form the mathematical and computational foundation of The Presence Calculus.

Our technical paper A Deep Dive into Little’s Law is a detailed examination of the concepts here. It is the basis of the samplepath toolkit — the computational foundation of The Presence Calculus Project.

We have a series of more informal articles at The Polaris Flow Dispatch that might be an easier entry point if you dont want to jump into the deep end right away.

The Little’s Law Series

Little’s Law on the Internet

If you look up Little’s Law on the internet, say for example on Wikipedia or in most classical operations management or queueing theory texts, you will see the version that assumes it applies only to stable, stationary processes.

This view is not accurate anymore, and has not been accurate for over 50 years, but it is still the most popular version. This leads people to assume that it cannot apply in complex domains like software.

This is untrue.

So don’t go by the Wikipedia definition of Little’s Law. Read the posts above instead.

Alternatively, if you prefer more technical peer-reviewed sources, here are more accurate sources that give an up-to-date picture of what Little’s Law is and what it means. All these discuss the version of Little’s Law that we use in The Presence Calculus.