On this page
Picture one ticket window at a railway station: people turn up at random and one clerk serves them one at a time. The M/M/1 queue is the simplest model of that scene, and it shows why a moderately busy counter can already have a long line.
What is an M/M/1 queue?
An M/M/1 queue is a single-server queue in which arrivals form a Poisson process and service times follow an exponential distribution (M/M/1 queue, Wikipedia). The name is written in Kendall's notation: the first letter describes arrivals, the second describes service times, and the 1 is the number of servers.
The assumptions:
Customers arrive at average rate λ (lambda), as a Poisson process of random arrivals.
Service times are exponential with rate μ (mu), so the mean service time is 1/μ; see why exponential waiting times are memoryless.
One server, first come first served, and no limit on the waiting room.
What does the utilisation ρ = λ/μ tell you?
The utilisation ρ = λ/μ is the long-run fraction of time the server is busy, and the M/M/1 queue is stable only when ρ < 1 (M/M/1 queue, Wikipedia). If work arrives as fast as the server can finish it, the line grows without limit.
What are the steady-state probabilities of an M/M/1 queue?
The number in the system is a birth-death Markov chain: arrivals move it up by one, departures down by one. In the long run, the probability of exactly n customers in the system (counting the one being served) is P(n) = (1 − ρ)ρⁿ (M/M/1 queue, Wikipedia). Finding it is the continuous-time version of solving πP = π for a Markov chain's stationary distribution.
This is a geometric distribution, so P(0) = 1 − ρ is the fraction of time the server is idle, the chance of at least k customers is ρᵏ, and the mean number in the system is L = ρ/(1 − ρ).
To turn a count into a time, use Little's law, L = λW, which John Little proved for stationary queues in 1961 (Little, Operations Research, 1961). For the M/M/1 queue this gives a mean time in the system of W = 1/(μ − λ) and a mean wait before service of Wq = W − 1/μ.
Worked example: a counter with 8 arrivals and 10 services per hour
Take λ = 8 customers per hour and μ = 10 services per hour, and apply the formulas from the M/M/1 queue page step by step.
Utilisation: ρ = 8/10 = 0.8. The clerk is busy 80% of the time and idle 20% of the time.
Probabilities: P(0) = 0.2, P(1) = 0.2 × 0.8 = 0.16, P(2) = 0.2 × 0.64 = 0.128.
Mean number in the system: L = 0.8/0.2 = 4 people.
Mean time in the system: W = 1/(10 − 8) = 0.5 hours, or 30 minutes (Little's law agrees: 4/8 = 0.5).
Service averages 6 minutes, so the mean wait before service is 24 minutes, and the line in front of the counter averages 8 × 0.4 = 3.2 people.
At least 3 people in the system: 0.8³ = 0.512, just over half the time.
Why do queues explode as ρ approaches 1?
Look at the denominator of L = ρ/(1 − ρ) from the M/M/1 formulas. As ρ creeps towards 1, 1 − ρ shrinks towards zero and L shoots up:
ρ = 0.5 gives L = 1.
ρ = 0.8 gives L = 4.
ρ = 0.9 gives L = 9.
ρ = 0.95 gives L = 19.
ρ = 0.99 gives L = 99.
At our counter, one extra arrival per hour (λ = 9) makes ρ = 0.9: L more than doubles from 4 to 9, and W doubles from 30 minutes to 1/(10 − 9) = 1 hour.
The intuition: an idle minute is lost for good, but a burst of arrivals must be cleared later. Near ρ = 1 the server rarely gets a spare stretch to catch up, so backlogs linger.
How do you use the M/M/1 model to shorten a queue?
Compare fixes by their effect on ρ, then recompute W with the M/M/1 formulas:
Serve faster: μ from 10 to 12 per hour gives ρ = 2/3, L = 2, W = 1/(12 − 8) hours = 15 minutes.
Spread demand with time slots: λ from 8 to 6 per hour gives ρ = 0.6, L = 1.5, W = 1/(10 − 6) hours = 15 minutes.
Keep a margin: if a busy day can push ρ above about 0.9, expect long waits.
Real counters are not exactly Poisson or exponential, so treat M/M/1 as a first estimate; the M/M/c queue extends it to several servers.
To practise the algebra on your own numbers, the Fermi Problem Library has a step-by-step solver that explains the reasoning rather than printing an answer. If the geometric distribution or Markov chains feel shaky, the Fermi Concept Library gives each concept its own lesson.



