M/M/1 and M/M/c queues: formulas and worked examples

Queueing formulas answer practical questions: how long will customers wait, how long will the line get, and what happens if I add a second counter? This guide works through the two models most people need, M/M/1 for a single server and M/M/c for several, with real numbers.

What M/M/1 and M/M/c mean

The letters describe the assumptions. The first M says customers arrive at random (a Poisson process), at an average rate λ. The second M says service times are random too (exponential), with an average rate μ per server. The last part is the number of servers: 1, or c. Customers wait in one line, first come first served, and nobody leaves the line.

Two rules apply to every stable queue:

  • Utilization ρ = λ / (c × μ) must be below 1. If customers arrive faster than the servers can handle them, the line grows forever.
  • Little’s law ties the averages together: L = λ × W and Lq = λ × Wq.

Worked example 1: one counter (M/M/1)

A print shop has one counter. Customers arrive at 8 per hour on average, and the clerk can serve 10 per hour (6 minutes each on average).

ρ = λ / μ = 8 / 10 = 0.8 Lq = ρ² / (1 − ρ) = 0.64 / 0.2 = 3.2 customers waiting Wq = Lq / λ = 3.2 / 8 = 0.4 h = 24 minutes W = Wq + 1/μ = 0.4 + 0.1 = 0.5 h = 30 minutes L = λ × W = 8 × 0.5 = 4 customers in the shop

The clerk is busy 80% of the time, which sounds comfortable. Yet the average customer waits 24 minutes before being served, for a 6-minute job. In an M/M/1 queue, the chance of waiting at all equals ρ, so 80% of customers wait, and 49% wait longer than 15 minutes.

This is the part people find surprising. At 80% utilization the line is already long, and it gets worse fast: at 90% the average wait would be 2.25 times what it is at 80%.

Worked example 2: three counters (M/M/c)

A bank branch has three tellers. Customers arrive at 24 per hour, and each teller serves 10 per hour. Utilization is 24 / (3 × 10) = 80%, the same as the print shop.

For several servers the probability of waiting comes from the Erlang C formula, and the rest follows:

P(wait) = Erlang C(c = 3, a = λ/μ = 2.4) = 0.647 Lq = P(wait) × ρ / (1 − ρ) = 2.59 customers Wq = Lq / λ = 0.108 h = 6.5 minutes W = Wq + 1/μ = 0.208 h = 12.5 minutes

Same utilization, very different experience: the average wait is 6.5 minutes instead of 24, and 65% of customers wait at all instead of 80%.

Why a shared line beats separate lines

Three tellers with one shared line work better than three separate one-counter queues at the same load. When one teller is stuck with a long transaction, the next customer simply goes to whoever is free. This is called the pooling effect, and it is why banks, airports and post offices use a single snake line.

Adding a fourth teller shows the other side. Utilization drops to 60%, the probability of waiting falls to 29%, and the average wait to 1.1 minutes. Whether that extra salary is worth it depends on what a waiting customer costs you.

Common mistakes

  • Mixing time units. λ and μ must use the same unit (both per hour or both per minute). The waiting times come out in that unit.
  • Using the average service time as μ. μ is a rate. A 6-minute service time means μ = 10 per hour, not 6.
  • Entering the total rate of all servers as μ. In M/M/c, μ is the rate of one server.
  • Planning at 95% utilization. Averages look fine on paper, but waiting times explode as ρ approaches 1. Leave headroom.
  • Trusting the model for very regular service. If every service takes nearly the same time, real waits are shorter than M/M/c predicts (about half for a single server). The model is then a safe upper bound.

Run your own numbers

The free Queue Calculator does this math as you type and shows each step. No sign-up, and your numbers stay in your browser.

Frequently asked questions

What is the difference between M/M/1 and M/M/c?

M/M/1 has a single server. M/M/c has c identical servers sharing one line. Both assume random arrivals and random service times. With several servers, the probability of waiting comes from the Erlang C formula instead of being simply equal to utilization.

What does utilization mean in a queue?

The share of time servers are busy: ρ = λ / (c × μ). With 8 arrivals an hour and a server that handles 10, ρ = 0.8. It must stay below 1, otherwise the queue grows without limit.

Why is the wait so long at 80% utilization?

Because arrivals and service times are random. Customers bunch up, and when the server is busy most of the time, those bunches have no slack to clear. Waiting time grows roughly with ρ / (1 − ρ), which shoots up as ρ nears 1.

How do I get the arrival rate?

Count arrivals over several busy periods and divide by the time. Use the busiest hour you need to plan for, not the daily average.

Can I use these formulas for a call center?

Yes, M/M/c is the same model as Erlang C. A call center calculator adds service-level targets and shrinkage on top.

Elio Saliba is an industrial engineering student at LAU in Lebanon. He builds and tests every calculator on this site. About the site

More guides