M/M/1 Queue Calculator (Waiting Time)

Operations

Average time in system (W)30.00 min
Server utilisation (rho)80.00%
Average number in system (L)4.00
Average number in queue (Lq)3.20
Average wait in queue (Wq)24.00 min
How this was calculated
  1. The M/M/1 queue is the single-server model with Poisson arrivals and exponential service: everything follows from the utilisation rho = arrival rate / service rate, which must stay below 1 for a stable queue.
  2. Here rho is 80.00 percent, so the average number in the system is L = rho / (1 - rho) = 4.00 and the queue alone holds 3.20 on average.
  3. Little's law turns those counts into times: the wait in queue is Lq over the arrival rate, and the time in system adds the mean service time.
  4. Customers spend 30.00 minutes in the system on average, of which 24.00 minutes is pure queueing - the gap between the two is the service itself.

One server, one line, arrivals arriving when they please: the M/M/1 queue is the simplest waiting system that still tells the truth about congestion. Its lesson is the most important in all of service operations - as utilisation approaches 100 percent, waiting does not grow proportionally, it explodes. A server busy 90 percent of the time does not make customers wait a little longer than one busy 80 percent; it makes them wait more than twice as long.

Enter the arrival rate lambda and the service rate mu (in the same time units) and this calculator returns utilisation, the mean time in system and in queue, the mean numbers in system and in queue, and the probability the server stands idle. It is the reference model behind every 'how many staff do we need' argument - and the clearest demonstration of why the answer is never 'enough to exactly meet demand'.

Worked examples

8 arrivals, 10 service

(8 /h · 10 /h)

Average time in system (W)30.00 min
Server utilisation (rho)80.00%
Average number in system (L)4.00
Average number in queue (Lq)3.20
Average wait in queue (Wq)24.00 min

20 arrivals, 25 service

(20 /h · 25 /h)

Average time in system (W)12.00 min
Server utilisation (rho)80.00%
Average number in system (L)4.00
Average number in queue (Lq)3.20
Average wait in queue (Wq)9.60 min

5 arrivals, 6 service

(5 /h · 6 /h)

Average time in system (W)60.00 min
Server utilisation (rho)83.33%
Average number in system (L)5.00
Average number in queue (Lq)4.17
Average wait in queue (Wq)50.00 min

The M/M/1 formulas

With rho = lambda / mu below 1: mean time in system W = 1 / (mu - lambda); mean wait in queue Wq = rho / (mu - lambda); mean number in system L = lambda / (mu - lambda); mean number in queue Lq = rho x L; and the idle probability is 1 - rho. The first worked example - arrivals 8 per hour, service 10 per hour - gives rho 0.80, W 0.50 hours, Wq 0.40, L 4.00 and Lq 3.20: a customer spends half an hour in the system, 24 minutes of it waiting, in a queue averaging just over three people.

Every formula has (mu - lambda) in its denominator, which is the mathematics of the explosion: the gap between service capacity and demand is the whole story. Halve the gap and you double every wait and every queue. Nothing else in the model - not the arrival pattern's details, not the server's speed alone - matters as much as that difference.

  • rho = lambda / mu must be under 1 for a steady state
  • W = 1 / (mu - lambda); Wq = rho / (mu - lambda)
  • L = lambda W and Lq = lambda Wq (Little's law)
  • Idle probability = 1 - rho

Worked examples: the utilisation cliff

The second example is the scale lesson: arrivals of 20 per hour against service of 25 per hour give the same rho of 0.80, the same L of 4.00 and Lq of 3.20 as the first example - but the waits halve and more, to 12.00 minutes in system and 9.60 in queue. Utilisation fixes the counts; the absolute rates fix the clock. A bigger, faster system at the same utilisation is a kinder system to wait in.

The third example steps onto the cliff's slope: 5 arrivals against 6 served gives rho 0.83 - only three points above the first example's 0.80 - yet the mean system time doubles to 60.00 minutes, the queue wait reaches 50.00 minutes and the system holds 5.00 people on average. Small systems live closer to the edge: with mu - lambda of just 1 per hour, every formula's denominator is a hair's breadth, and a single extra arrival per hour would push rho to 1.0 and the queue to infinity. The three examples together trace the curve's character - manageable at moderate load, treacherous near capacity, and crueller the smaller the system.

LambdaMuRhoW (system)Wq (queue)Lq
8 /h10 /h0.8030.00 min24.00 min3.20
20 /h25 /h0.8012.00 min9.60 min3.20
5 /h6 /h0.8360.00 min50.00 min4.17

Little's law: the consistency check

Little's law, L = lambda W, ties the model's outputs together and audits them: 8 arrivals per hour spending 0.50 hours in system must average 4.00 in system, and the calculator's L and W satisfy it exactly, as do Lq and Wq. The law holds for any stable queue - any server count, any distributions - which makes it the universal cross-check when a fancier model or a simulation produces numbers that smell wrong.

It also converts between the two languages of congestion: managers count people (L), customers feel time (W), and Little's law is the exchange rate. A promise about one is a promise about the other, at a given arrival rate - a fact worth surfacing whenever a service-level discussion tries to commit to short waits and short queues while raising throughput on the same single server.

Rostering a single-server service? Keep planned utilisation at or below about 0.85: the M/M/1 curve says the wait cost of the last 15 percent of utilisation is larger than everything before it.

The model's assumptions, honestly

M/M/1 assumes Poisson arrivals (memoryless, independent), exponential service times, one server, an unlimited queue, and first-come-first-served discipline, all in steady state. Real services violate each somewhere: appointments smooth arrivals (better than the model), service times are often less variable than exponential (better), customers balk and abandon (the model overstates their wait by assuming they stay), and rush hours are not steady state at all (worse - the model understates peak waits).

The standard defence is that M/M/1 is a bound and a compass rather than a portrait: it shows the shape of the congestion problem and a pessimistic-leaning estimate for many real systems. When the violations are the story - multiple servers, abandonment, scheduled arrivals - the neighbouring models (M/M/c, Erlang A, simulation) take over, with this page's outputs as the baseline they must explain their differences from.

One server or two?

The model's most valuable comparison is against its two-server sibling. Splitting the third example's single 8-per-hour server into two 4-per-hour servers at the same total capacity and utilisation transforms the wait, because a free server is so much more likely to exist when either of two can take the next arrival. Pooling is the deep principle: one queue feeding several servers beats separate queues at the same staffing, a result that reorganised everything from bank lobbies to call centres.

Run this page before that comparison, not instead of it: the M/M/1 numbers state the cost of the single-server design in hours and people, which is the baseline the pooled design's benefit is measured against. Congestion economics starts here.

From the model to a staffing decision

The M/M/1 numbers become a decision when they are priced. Suppose the first example's service is a support desk: 8 arrivals an hour, one agent clearing 10 an hour, callers waiting 0.40 hours on average. The queue holds 3.20 callers on average - that is the waiting cost the callers bear, convertible to money at any honest value of customer time, and comparable against the cost of capacity: a second agent (moving the system to M/M/2, where the same load gives a fraction of the wait), a faster agent (raising mu to 12 cuts Wq to 0.17 hours at the same rho logic), or demand shaping that moves arrivals off the peak.

The model's contribution to that meeting is the curve's shape: it shows that the desk is not 'a bit short-staffed' but positioned on a cliff where one absence (mu effectively falling) doubles the queue, and where a modest arrival increase from a product launch does the same. Staffing decisions made on average utilisation alone walk into that cliff with their eyes open. The calculator's outputs - waits and queue lengths at the actual lambda and mu, not just rho - are the form in which the cliff becomes visible to people who do not read Greek letters.

The deepest takeaway from M/M/1 is cultural rather than mathematical: variability is a cost, and spare capacity is how a service pays it down. A manager who staffs to 100 percent of average demand has not eliminated waste; they have converted an idle-time cost they could see into a waiting cost borne by customers, where it is larger, compounding and mostly invisible until it surfaces as churn. The formulas on this page price that conversion exactly for the single-server case - rho in, waits and queues out - and the pricing usually reverses the intuition that high utilisation is efficient. Efficient is a property of the whole system, customers included. Run the numbers for your own lambda and mu before the next rostering argument: if the queue they predict resembles the one in your lobby, the model has told you the truth, and the truth has a specific, fixable shape - a little more capacity, a little less variability, or a second server pooling the risk.

FAQs

What wait does an arrival rate of 8 against a service rate of 10 give?

Rho is 80.00 percent, the mean time in system is 30.00 minutes and the queue wait is 24.00 minutes, with 3.20 in queue.

Why do waits explode near full utilisation?

Every wait formula divides by (mu - lambda); as arrivals approach service capacity the gap vanishes and waits grow without bound.

What does the second example show about scale?

At 20 arrivals against 25 served, rho is again 80.00 percent and L and Lq match the first example, but the waits shrink: 12.00 minutes in system, 9.60 in queue - same utilisation, faster clock.

What happens at rho of 83.33 percent?

The third example: 5 arrivals against 6 served give 60.00 minutes in system and 50.00 minutes of queue wait, with 5.00 in system.

What does Little's law say here?

L = lambda W: 8 per hour x 0.50 h = 4.00 in system, exactly matching the model's L.

What if lambda exceeds mu?

No steady state exists - the queue grows indefinitely; the calculator refuses rather than printing negative waits.

Sources

Related calculators

Takt Time Calculator
Takt time from available production time and customer demand: shift length minus breaks, divided by units demanded, in seconds per unit.
OEE (Overall Equipment Effectiveness) Calculator
Overall equipment effectiveness as availability x performance x quality, from planned time, downtime, ideal cycle time and good count.
Kanban Quantity Calculator (Number of Cards)
Number of kanban cards from daily demand, replenishment lead time, safety factor and container capacity: N = D x L x (1 + S) / C.