M/M/1 and M/M/c queue calculator

Enter how many customers, calls or jobs arrive per unit of time, how many one server can handle in the same time, and for M/M/c the number of servers. The calculator gives the utilization, the chance a newcomer has to wait, the average queue length and the average wait.

Model
Rates per
Utilization ρ80 %
Average wait in the queue Wq0.8 h
Probability of waiting
80 %
Probability the system is empty P₀
20 %
Average queue length Lq
3.2
Average number in the system L
4
Average time in the system W
1 h
Offered load a = λ/μ (busy servers on average)
0.8

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose M/M/1 for a single server or M/M/c for several servers sharing one queue.
  2. Enter the arrival rate λ and the service rate μ of one server in the same time unit, and pick that unit.
  3. For M/M/c enter the number of servers.
  4. Read the utilization and the average wait first; the rest of the table shows queue length, time in the system and the chance of an empty system.

Formulas

With a = λ/μ and ρ = a ÷ c (must be below 1):

  • P₀ = 1 ÷ (Σₖ₌₀^{c−1} aᵏ/k! + aᶜ ÷ (c!(1 − ρ)));
  • probability of waiting (Erlang C) C = aᶜ ÷ (c!(1 − ρ)) × P₀;
  • Lq = C × ρ ÷ (1 − ρ), Wq = Lq ÷ λ;
  • W = Wq + 1/μ, L = λ × W.

For one server these reduce to ρ = λ/μ, L = ρ ÷ (1 − ρ), W = 1 ÷ (μ − λ).

Worked example

A single counter where 4 customers arrive per hour and the clerk serves 5 per hour:

  • utilization ρ = 4 ÷ 5 = 80 %, and a newcomer has to wait with probability 80 %;
  • the counter is empty 20 % of the time;
  • on average 3.2 people wait, 4 are in the system;
  • the average wait in line is Wq = 0.8 ÷ (5 − 4) = 0.8 h, the total time W = 1 h.

Add a second clerk serving 3 per hour each (M/M/2, λ = 4, μ = 3): utilization 66.67 %, chance of waiting 53.33 %, Wq = 0.2667 h, about 16 minutes.

Tips

  • Keep utilization well below 100 % when waits matter: the last few percent cost the most time.
  • One shared queue beats separate queues with the same total capacity; that is what M/M/c models.
  • Real arrivals may not be random (appointments, batches); then the model is only a rough guide.

Frequently asked questions

What do M/M/1 and M/M/c mean?

Kendall's notation. The first M means arrivals are random (a Poisson process), the second that service times are exponential, and the number is how many servers work in parallel from one shared queue.

What is the probability of waiting?

For M/M/c it is the Erlang C formula, the chance that all servers are busy when someone arrives. For one server it equals the utilization ρ.

Why does the wait explode near 100 % utilization?

In M/M/1 the time in the system is 1 ÷ (μ − λ). At 80 % utilization with μ = 5 per hour it is 1 hour; at 95 % it is 4 hours. Random arrivals bunch up, and a busy server has no slack to clear the bunches.

Which units should the rates have?

Both rates in the same unit, chosen with "Rates per". The times come out in that unit: rates per hour give waits in hours.

More in Developer

All tools in this category: Developer ·Updated November 6, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.