Quant Memo
Advanced

Erlang B and Loss Systems

The Erlang B formula answers a simple staffing question — with N lines or servers and random call arrivals, what fraction of arriving traffic gets blocked because every server is busy?

Prerequisites: The Poisson Process

Imagine a call centre with a fixed number of phone lines and no queue at all — if every line is busy when a new call arrives, that call is simply lost, not held. The question a staffing manager needs answered is: given how busy the lines typically are, what fraction of incoming calls get blocked this way? That is exactly what the Erlang B formula computes, and it is the founding result of queueing theory, dating back to a 1917 telephone-exchange paper.

The formula takes two inputs: the offered traffic AA, measured in erlangs (average number of simultaneous calls that would occur with no blocking — call arrival rate times average call duration), and the number of lines NN. It assumes calls arrive as a Poisson process and last a random amount of time with any distribution, then gives the blocking probability

B(N,A)=AN/N!k=0NAk/k!B(N, A) = \frac{A^N / N!}{\sum_{k=0}^{N} A^k / k!}

which is the probability, in the long run, that an arriving call finds all NN lines occupied. A trading-relevant reading of the same object: any system that "loses" excess demand rather than queueing it — a fixed pool of market-making capital, a limited number of execution algo slots — faces the identical blocking-probability question, with NN the number of slots and AA the average simultaneous demand for them.

With A=5A = 5 erlangs of offered traffic and N=8N = 8 lines, plugging into the formula gives B(8,5)4.2%B(8, 5) \approx 4.2\% — about one call in twenty-four is blocked, even though the average load is comfortably below the line count, because Poisson arrivals bunch unevenly.

Erlang B converts offered load and a hard capacity limit into a blocking probability for any system where excess demand is simply turned away rather than queued.

Related concepts

Practice in interviews

Further reading

  • Erlang, Solution of Some Problems in the Theory of Probabilities of Significance in Automatic Telephone Exchanges (1917)
ShareTwitterLinkedIn