Skip to content

Queueing Calculator (M/M/1 and M/M/c)

Queueing theory calculator for M/M/1 and M/M/c queues: utilisation, chance of waiting (Erlang C), average wait, queue length and service level by server count.

Calculator Details

Average wait in the queue:1m 45.8sSee results ↓

Average number of arrivals (calls, requests, customers, jobs)

The time unit of the arrival rate

How long one server takes per arrival, on average (1 ÷ μ)

The unit of the service time

Agents, workers, threads or checkouts serving one shared queue; 1 for M/M/1

For the service level: the share of arrivals answered within this time (e.g. 80% in 20 s)

Your Results

Average wait in the queue: 1m 45.8s

Average wait in the queue

1m 45.8s

58.75% of arrivals wait at all; those who wait average 3m 0s

Utilisation

83.33%

5 of 6 servers busy on average

Served within 20 s

47.43%

Average in the queue

2.938

7.938 in the system

Average time in the system

4m 45.8s

Wait plus service

With 6 servers at 83.3% utilisation, 58.8% of arrivals wait, the average wait is 105.8 s and 47.4% are served within 20 s.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Average wait by number of servers

Average wait by number of servers

Detailed Breakdown

Staffing: the same traffic with other server counts
ServersUtilisationWait at allAverage waitWithin 20 s
6 (you)83.33%58.75%1m 45.8s47.43%
771.43%32.41%29.17s74.04%
862.5%16.73%10.04s88.01%
955.56%8.05%3.62s94.84%
1050%3.61%1.3s97.93%

At least 6 servers are needed for a stable queue.

How This Calculator Works

How it's calculated

offered load a = arrival rate × service time · utilisation ρ = a ÷ servers

chance of waiting C = Erlang C(servers, a) · average wait = C ÷ (servers ÷ service time − arrival rate)

served within t = 1 − C × e^(−(servers ÷ service time − arrival rate) × t) · queue length = arrival rate × wait

Your numbers: 0.027778 arrivals a second × 180 s = 5 Erlangs, so 6 servers are 83.33% busy. Erlang C gives 58.75%. The queue drains at 0.005556 a second, so the average wait is 0.5875 ÷ 0.005556 = 105.753 s, and 1 − 0.5875 × e^(−0.005556 × 20) = 47.43% are served within 20 s.

Frequently Asked Questions

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

Kendall notation: the first M means arrivals are random (a Poisson process), the second that service times are exponentially distributed, and the number is how many servers share one queue. M/M/1 is a single server; M/M/c has c servers. Enter 1 server for M/M/1.

What is Erlang C?

The formula for the probability that an arrival has to wait in an M/M/c queue, named after A. K. Erlang, who developed it for telephone exchanges. Call centres use it to decide how many agents they need for a call volume and a target such as 80% of calls answered within 20 seconds.

Why does waiting time explode near 100% utilisation?

In M/M/1, the average time in the system is the service time ÷ (1 − utilisation). At 50% busy it is 2× the service time, at 80% 5×, at 90% 10× and at 99% 100×. Random bursts of arrivals pile up when there is little spare capacity to clear them.

What is the offered load in Erlangs?

Arrival rate × average service time: the number of servers that would be busy if work could be spread perfectly. 100 calls an hour lasting 3 minutes each is 100 × 3 ÷ 60 = 5 Erlangs, so at least 6 agents are needed, and more to keep waits short.

How many servers do I need?

At least the offered load rounded up to the next whole number, or the queue grows forever. Beyond that, add servers until the service level or average wait meets your target; the staffing table shows each extra server’s effect. Adding one server near the minimum cuts waits sharply; later ones help less.

Is one shared queue better than a queue per server?

Yes, for the same total capacity. A shared queue never leaves a server idle while someone waits in another line, so waits are shorter and fairer. The calculator assumes one shared queue; separate queues behave like several M/M/1 queues, each with its share of the arrivals.

Do real systems follow the M/M/c model?

Roughly. Arrivals from many independent users are close to random, but service times are often less variable than exponential (which makes real waits a bit shorter) or have long tails (longer). People also hang up or give up when they wait, which the model ignores. Use it for planning, then check against measured waits.

Included: the M/M/c queue (random arrivals, exponential service times, c identical servers sharing one first-come first-served queue with unlimited room), M/M/1 when there is one server, utilisation, the Erlang C chance of waiting, average wait and time in the system, average queue length, the share served within a target time, and a staffing table. Left out: abandonment (Erlang A), a limited queue or blocked arrivals (Erlang B, M/M/c/K), service times that are not exponential (M/G/1, M/D/1), priorities and several queues, shrinkage and breaks in staffing plans, and waits that change through the day (each result is a steady-state average).

Queueing Calculator: M/M/1 and M/M/c Waiting Times with Erlang C

By FindMySum · Last reviewed

A queueing calculator estimates how long people or jobs wait when work arrives at random and a fixed number of servers handle it. Enter the arrival rate, the average service time and the number of servers, and it gives the utilisation, the chance of having to wait, the average wait and queue length, and the share served within a target time. It covers the M/M/1 queue (one server) and the M/M/c queue (several servers sharing one line), the models behind Erlang C staffing in call centres.

The model

Queueing theory names a model by its arrivals, its service times and its servers. M/M/c means:

  • M (arrivals): random, independent arrivals at an average rate λ, a Poisson process. Calls to a help line, requests to a website and customers at a counter all come close to this when many independent people are involved.
  • M (service): service times vary randomly around an average S, following an exponential distribution.
  • c servers: agents, checkouts, worker threads or machines, all taking from one shared queue in arrival order.

Set c to 1 and you have M/M/1, the simplest queue.

Offered load and utilisation

The first number to look at is the offered load:

a = arrival rate × service time

measured in Erlangs: how many servers would be busy if work could be spread perfectly. The calculator opens with 100 arrivals an hour taking 3 minutes each: 100 × 3 ÷ 60 = 5 Erlangs. With 6 servers, utilisation is 5 ÷ 6 = 83.3%.

If the offered load reaches the number of servers, the queue is unstable: on average more work arrives than can be done, and the line grows without limit. The calculator says so and gives the minimum number of servers, here 6.

Waiting: Erlang C

Even below 100% busy, random bunches of arrivals mean some must wait. The Erlang C formula gives the probability that an arrival finds every server busy. From it follow the rest:

average wait = C ÷ (c ÷ S − λ)

share served within t = 1 − C × e^(−(c ÷ S − λ) × t)

average queue length = λ × average wait (Little's law)

For the default example, C is 58.8%: more than half of arrivals wait. The average wait is 105.8 seconds, about 1 minute 46 seconds, and only 47.4% are served within 20 seconds. Those who do wait average 3 minutes, because the queue drains at c ÷ S − λ = 1 arrival every 180 seconds.

The staffing table

The breakdown table shows the same traffic with other numbers of servers, and it carries the most useful lesson of queueing theory. Adding one server to the default example, 7 instead of 6, drops utilisation to 71.4% but cuts the chance of waiting from 58.8% to 32.4% and the average wait from 106 seconds to 29 seconds. The service level within 20 seconds rises from 47% to 74%. Near full utilisation, a little more capacity buys a lot less waiting; further servers help less and less.

That is also why systems run "hot" feel slow. For M/M/1, the average time in the system is the service time divided by (1 − utilisation): 5 times the service time at 80% busy, 10 times at 90%, 100 times at 99%.

Bigger pools are more efficient

Compare one large pool with several small ones at the same utilisation. 360 calls an hour of 4 minutes each is 24 Erlangs; 30 agents run at 80% busy. Only 17.3% of callers wait, averaging under 7 seconds, and 89.5% are answered within 20 seconds. Split the same traffic into 6 teams of 5 agents, each with its own queue, and waits are many times longer, because an idle agent in one team can't help a caller waiting for another. Pooling servers behind one queue is one of the cheapest ways to cut waits.

Using the results

The model gives steady-state averages for a constant arrival rate, so plan for the busiest period. Real systems differ from the assumptions: people hang up when they wait too long, service times may be steadier or more variable than the exponential model, and staff take breaks. Treat the numbers as a planning baseline, then add a margin and compare with what you measure.

More questions

What is the difference between Erlang B and Erlang C?

Erlang B is for systems with no queue: an arrival that finds every server busy is turned away, as on old telephone trunks, and the formula gives the share blocked. Erlang C is for systems where arrivals wait in line until a server is free, which is this calculator's model.

Can I use this for web servers and thread pools?

As a first estimate, yes. Treat each worker thread or process as a server, the request rate as arrivals and the average handling time as the service time. Real request times vary less or more than the exponential model assumes, and servers often share CPUs, so confirm with a load test.

What is a service level of 80/20?

A contact-centre target: 80% of calls answered within 20 seconds. The calculator's service level is the share answered within the target wait, 1 − C × e^(−(cμ − λ)t), so enter 20 seconds and add agents until it reaches 80%.

What is shrinkage?

The share of paid staff time when agents are not available to take calls: breaks, training, meetings, absence. If the calculator says 30 agents and shrinkage is 30%, you need 30 ÷ 0.7 ≈ 43 agents scheduled. Shrinkage isn't in the queueing formula, so apply it afterwards.

Why should the arrival rate be for the busiest period?

Because the formulas give steady-state averages for a constant rate. Averaging a quiet morning with a busy afternoon understates the afternoon's waits badly, since waits grow much faster than linearly with load. Work with the busiest 15-minute or 1-hour interval you need to handle.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy