M/M/1/K Finite Capacity Queue Calculator

Operations

Mean number in system L2.14
Blocking probability (%)6.63
Effective arrival rate (per hour)7.47
Mean time in system (min)17.21
How this was calculated
  1. Utilisation rho = 8 / 10 = 0.80 with room for 6 in the system at once
  2. Blocking probability = P0 x rho^6 = 6.63 percent of arrivals find the system full and are turned away
  3. Effective arrival rate = 8 x (1 - 0.0663) = 7.47 per hour actually enter
  4. Mean number in system L = 2.14 and the mean time in system is 17.21 min by Little's law

The ordinary M/M/1 queue has an uncomfortable habit: let arrivals creep above the service rate and the predicted queue grows to infinity. Real systems never do that, because real systems run out of room. A call centre has a finite number of trunk lines, a clinic waiting room has a finite number of chairs, and a router has a finite buffer. When the room is gone, the next arrival is turned away - and that single change makes the mathematics behave at any load. The M/M/1/K queue is the finite-capacity version: one server, Poisson arrivals, exponential service, and room for exactly K customers in the system at once, counting the one in service.

Enter the arrival rate, the service rate and the capacity K. The calculator returns the mean number in system, the blocking probability - the share of arrivals who find the system full and are lost - the effective arrival rate of those who actually get in, and the mean time in system from Little's law applied to the effective rate. The three worked examples cover a calm system at rho 0.80, an overloaded one at rho 1.20 that sheds more than a quarter of its arrivals, and the exactly balanced case rho 1.00 where every state is equally likely.

Worked examples

Calm system, L 2.14

(8 per hour · 10 per hour · 6 places)

Mean number in system L2.14
Blocking probability (%)6.63
Effective arrival rate (per hour)7.47
Mean time in system (min)17.21

Overloaded, L 2.36

(12 per hour · 10 per hour · 4 places)

Mean number in system L2.36
Blocking probability (%)27.86
Effective arrival rate (per hour)8.66
Mean time in system (min)16.35

Balanced rho 1, L 5.00

(5 per hour · 5 per hour · 10 places)

Mean number in system L5.00
Blocking probability (%)9.09
Effective arrival rate (per hour)4.55
Mean time in system (min)66.00

A queue that can say no

Blocking changes everything about how a queue fails. In an infinite queue, overload means ever-longer waits; in a finite queue, overload means lost arrivals, and the customers who do get in wait a perfectly finite time. Which failure you prefer depends on the business: a telephone exchange would rather give a busy signal than queue a call forever, while a hospital would rather queue than turn anyone away - which is why hospitals build bigger waiting rooms and exchanges provision more lines. The capacity K is the design knob that trades one failure against the other.

The model's assumptions are the standard Kendall ones: arrivals as a Poisson stream, service times exponential, one server, and first-come-first-served among those admitted. Within those assumptions the results are exact, not simulated. The state probabilities follow a truncated geometric distribution, Pn proportional to rho raised to n for n up to K, and every output on this page is a sum over those K + 1 states. That finiteness is the deep difference from M/M/1: there is always a normalising constant, always a steady state, and therefore always an answer.

  • Capacity K counts the customer in service plus those waiting
  • Arrivals who find K in the system are blocked and lost - they do not retry inside the model
  • The system is stable for any rho, including rho above 1
  • Blocking probability and waiting time trade against each other through K

Blocking probability and the effective arrival rate

The blocking probability PK is the probability the system is full, P0 x rho^K. In the first worked example - arrivals 8 per hour, service 10 per hour, capacity 6 - rho is 0.80 and PK is 6.63 percent: about one arrival in fifteen finds all six places taken. Those arrivals vanish from the system's workload, so the server actually faces the effective arrival rate lambda x (1 - PK) = 8 x (1 - 0.0663) = 7.47 per hour. Every downstream quantity - the mean number present, the time in system - is driven by that admitted stream, not by the offered 8 per hour.

This is the most common error in finite-queue work: applying Little's law with the offered arrival rate. Little's law counts the customers who are actually in the system, so it must be fed the effective rate. With L = 2.14 and the effective rate 7.47 per hour, the mean time in system is 17.21 minutes. Feed it the offered 8 instead and you would understate the wait of everyone who got in.

ExampleLambdaMuKRhoBlockingL
181060.806.63%2.14
2121041.2027.86%2.36
355101.009.09%5.00

Worked examples: calm, overloaded and exactly balanced

Example 2 is the one that surprises people raised on M/M/1. Arrivals of 12 per hour against a service rate of 10 give rho 1.20 - deep into what would be meltdown territory for an infinite queue. With capacity 4 the system simply refuses the excess: blocking is 27.86 percent, only 8.66 per hour enter, and the mean number in system is 2.36 with a mean time of 16.35 minutes. Note that the admitted customers wait less than in the balanced example below. Blocking is doing load-shedding work: the system protects the experience of those inside by rationing entry.

Example 3 sits exactly at rho 1.00, arrivals and service both 5 per hour, capacity 10. Here the truncated geometric distribution goes flat - every state from empty to full is equally likely, each with probability 1/11 - so L is exactly K/2 = 5.00 and blocking is 9.09 percent. Yet the mean time in system stretches to 66.00 minutes, the longest of the three, because the generous capacity admits customers into a system that is full nearly a tenth of the time and drains only as fast as it fills.

When rho passes 1 - and why nothing explodes

The infinite M/M/1 queue diverges at rho 1 because its state probabilities rho^n no longer sum to anything finite. Truncation at K repairs the sum: there are only K + 1 terms, so the normalising constant P0 = (1 - rho) / (1 - rho^(K+1)) exists for every rho except exactly 1, where the flat distribution takes over with P0 = 1/(K + 1). Nothing in the algebra fears rho above 1; only the interpretation changes, from a waiting system to a rationing one.

Practically, running at rho above 1 means the blocking probability becomes the headline number and the business question becomes how much demand you are willing to refuse. In example 2 the answer was 27.86 percent - usually unacceptable for customers, sometimes exactly right for a buffer protecting an expensive downstream resource. The model does not judge; it prices the trade.

A finite queue never explodes, but the overload has to go somewhere: it leaves as blocked arrivals. Always read the blocking probability alongside the waiting time.

Choosing K: buffer room against lost work

Raising K always reduces blocking and always increases the waiting time of those admitted, because a bigger room holds more people in line ahead of each arrival. The first example at K 6 blocks 6.63 percent; squeeze the same offered load into fewer places and blocking climbs steeply, while a much larger room would push blocking towards zero at the price of M/M/1-like waits. There is no universally right K - there is the K whose blocking rate your customers tolerate and whose waiting time your service promise allows.

Two practical warnings close the page. First, real arrivals who are blocked often retry, which raises the offered load the model sees - a retrial stream can push a comfortably loaded design into the shedding regime. Second, the exponential-service assumption flatters real systems whose service times are more variable; treat the outputs as a well-founded first design, then simulate with your measured distributions before committing concrete, chairs or trunk lines.

A useful relative is the Erlang B model, the special case where capacity equals the number of servers and there is no waiting room at all: arrivals either seize a server or are gone. M/M/1/K generalises it by letting admitted customers wait. If your real system has several servers as well as a finite room, you are in M/M/c/K territory - the same truncated-distribution idea with a two-piece state distribution - and the single-server numbers on this page become a conservative first sketch: a second server at the same capacity would cut both blocking and waiting, and the gap between the two designs is itself a useful measure of what the extra server buys.

FAQs

Arrival rate 8, service rate 10, capacity 6 - how many are in the system on average?

L is 2.14, with a blocking probability of 6.63 percent and a mean time in system of 17.21 minutes.

What happens when arrivals exceed service - 12 against 10 with capacity 4?

Rho is 1.20 yet the system stays stable: 27.86 percent of arrivals are blocked, only 8.66 per hour enter, and L is 2.36. The finite room converts overload into refusals instead of endless waits.

What is the effective arrival rate in the first example?

8 x (1 - 0.0663) = 7.47 per hour actually enter; the rest find all 6 places taken. Little's law uses this rate, not the offered 8.

What happens at rho exactly 1?

With arrival and service both 5 and capacity 10, every state is equally likely: L is 5.00, blocking is 9.09 percent and the mean time in system stretches to 66.00 minutes.

Why is the mean time in the overloaded example shorter than in the balanced one?

Because blocking sheds load: at rho 1.20 the time is 16.35 minutes, while at rho 1.00 with capacity 10 it is 66.00 minutes - a bigger buffer admits more waiting.

How does capacity change blocking?

At rho 0.80 with capacity 6, blocking is 6.63 percent; more room at the same offered load blocks less - capacity is the knob that trades lost arrivals against waiting room.

Sources

Related calculators

M/M/1 Queue Calculator (Waiting Time)
M/M/1 single-server queue: utilisation, average numbers in system and queue, and average waiting times from arrival and service rates.
Erlang C Call Center Calculator
Erlang C probability that a caller has to wait, with average speed of answer, service level and occupancy for a call center team.
Erlang B Blocking Calculator
Erlang B blocking probability for a loss system - offered traffic in Erlangs against a fixed number of channels or circuits, with the carried traffic and grade of service. Unlike Erlang C there is no queue: a blocked arrival is lost.