EN
My tools

Queueing Theory Calculator (M/M/1, M/M/c, M/G/1)

Queue length, waiting time and utilisation for M/M/1, M/M/c and M/G/1 queues from arrival and service rates, with the chance of waiting and Little's law shown.

Customers, requests or jobs arriving per time unit.
How many one server can finish per time unit (1 ÷ average service time).
Standard deviation ÷ mean of the service time: 0 = always the same (M/D/1), 1 = exponential (same as M/M/1).
Shows the chance of waiting longer than this (M/M/1 and M/M/c), in the time unit above.
Utilisation ρ
0.6667
66.67% of the time each server is busy
Average number in queue Lq
1.3333
Average number in system L
2
L = λ × W (Little's law): 2 × 1 = 2
Average wait in queue Wq
0.6667 minutes
Wq = Lq ÷ λ
Average time in system W
1 minutes
W = Wq + 1 ÷ μ
Probability of waiting
66.67%
the server is busy when a customer arrives
Probability the system is empty P0
0.3333

These are steady-state averages for random (Poisson) arrivals and a first-come, first-served queue with unlimited room.

Probability of n in the system
nP(n) %P(≤ n) %Waiting
033.333333.33330
122.222255.55560
214.814870.37041
39.876580.24692
46.584486.83133
54.389691.22094
62.926494.14725
71.950996.09826
81.300697.39887
90.867198.26588
100.578198.84399
110.385499.229310
120.256999.486211
130.171399.657512
140.114299.771613
150.076199.847814
160.050799.898515
170.033899.932316
180.022699.954917
190.01599.969918
200.0199.9819
210.006799.986620
220.004599.991121
230.00399.994122
240.00299.99623
250.001399.997424
260.000999.998225
270.000699.998826
280.000499.999227
290.000399.999528
300.000299.999729
310.000199.999830
320.000199.999831
330.000199.999932
34099.999933
My tools →
Advertisement

Queueing theory predicts how long people, packets or jobs wait when they arrive at random and a limited number of servers handle them: checkout lanes, support desks, web servers, database connections. From the arrival and service rates this calculator gives the utilisation, the average queue length, wait and time in the system, the chance of waiting at all and how many are likely to be present.

How to use this tool

  1. Choose a model: one server (M/M/1), several servers sharing a queue (M/M/c), or one server with any service-time spread (M/G/1).
  2. Enter the arrival rate λ and the service rate μ of one server in the same time unit.
  3. For M/M/c enter the number of servers; for M/G/1 the variation of the service time.
  4. Optionally enter a wait threshold to see the chance of waiting longer.

Formula

ρ = λ ÷ (cμ); Lq = C(c, a) × ρ ÷ (1 − ρ); Wq = Lq ÷ λ; W = Wq + 1 ÷ μ; L = λ × W

a = λ ÷ μ is the offered load and C(c, a) the Erlang C probability that all c servers are busy (for one server it equals ρ). For M/G/1, Lq = (λ²σ² + ρ²) ÷ (2(1 − ρ)) with σ the standard deviation of the service time (Pollaczek–Khinchine). L = λW is Little's law, which holds for any stable queue. The queue is stable only when ρ < 1.

Example

An M/M/1 queue with λ = 2 arrivals and μ = 3 services per minute has ρ = 2 ÷ 3 = 0.667. On average L = 2 customers are in the system and W = 1 minute is spent there; the queue holds Lq = 1.333 and the wait before service is Wq = 0.667 minutes. Little's law checks out: 2 × 1 = 2. With four arrivals per minute and μ = 2 the queue would be unstable.

Frequently asked questions

Why does waiting explode near 100% utilisation?

In M/M/1 the time in system is 1 ÷ (μ − λ). As λ approaches μ the denominator approaches zero: at 90% utilisation waits are ten times the service time, at 99% a hundred times. Random bursts need spare capacity to drain.

Is one fast server better than two slow ones?

For the average time in the system, yes: one server twice as fast beats two in these models, because each customer is also served faster. Two servers lower the chance of having to wait at all.

What is Little's law?

The average number in a system equals the arrival rate times the average time each item spends there (L = λW). It holds for almost any stable system, which makes it a handy cross-check on measurements.

Sources

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Queueing Theory Calculator (M/M/1, M/M/c, M/G/1). https://kakao.mobile/tools/queue-theory-tool/

MLA

“Queueing Theory Calculator (M/M/1, M/M/c, M/G/1).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/queue-theory-tool/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement