Enrichment · STEM Explorations · Probability
Type how many people arrive an hour, how long each takes and how many servers are open. The calculator gives the average wait, the line length and the fewest servers that meet your target.
The worked example is three cafeteria registers serving 180 students an hour at 45 seconds each. Nothing you type leaves this browser.
Loading the calculator. If nothing appears, turn on JavaScript.
Arrivals are assumed random (Poisson) and service times random around their average (exponential), with one shared line feeding every server.
Enrichment · STEM ExplorationsFree
The M/M/c queue and Erlang C.
With arrival rate λ, service rate μ per server (60 ÷ service minutes an hour) and c servers, the offered load is a = λ ÷ μ and utilisation is a ÷ c, which must be under 1 or the line grows forever. Erlang C gives the chance an arrival has to wait. The average wait is that chance ÷ (cμ − λ), the chance of waiting longer than t is that chance × e^(−(cμ − λ)t), and Little's law gives the average number waiting as λ × average wait.
The model assumes arrivals at random (a Poisson process), service times that vary at random around their average (exponential), one shared line, and nobody leaving it. Lines fed by a bell or a bus arrive in bursts, and very regular service makes waits shorter than this. The results are averages over a steady busy period.
The worked example is made up. Results are model averages for a steady busy period. Your figures stay in this browser. Support: team@caveatacademic.com.