Erlang B Calculator
See the chance a call is blocked when offered traffic and a fixed pool of trunks are known.
What it does
A telephone exchange has a fixed number of circuits. If every circuit is busy when a call arrives, that call is cleared instead of waiting. Agner Erlang published a formula for this loss probability in 1917 while working on automatic telephone exchanges, and the same expression is still used to size trunk groups and other systems with no waiting room.
The input is offered traffic, measured in erlangs. One erlang is one circuit kept busy continuously, so 10 erlangs is the load of ten simultaneous calls on average. It is the product of the call arrival rate and the average holding time, and it needs no time unit of its own because the two cancel.
The Erlang B model assumes calls arrive at random and holding times are independent. An important property called insensitivity means the blocking result depends on the average holding time and not on the full shape of its distribution, which makes the formula sturdier than the assumptions suggest. The telecom network notes from ParisTech derive it from the truncated Poisson distribution.
Direct evaluation needs a factorial and a sum of large terms, which becomes awkward for big trunk groups. The recurrence used here starts at B(0) = 1 and walks up one trunk at a time. It stays between zero and one and avoids huge intermediate numbers, as the Würzburg University lecture notes on loss systems explain.
The answer is a probability, so it helps to translate it. Dividing one by the blocking probability gives the grade of service, roughly one lost call in that many attempts. Multiplying offered traffic by one minus blocking gives carried traffic, and dividing that by the number of trunks gives the share of capacity actually in use.
How to use
- Work out offered traffic as the call arrival rate multiplied by the mean holding time, both in the same time unit.
- Enter that product in erlangs. Ten calls per hour lasting six minutes each give 1 erlang.
- Enter the number of parallel trunks or servers as a whole number.
- Read the blocking probability from the main result, with the percentage next to it.
- Use the grade of service to see how often a call is lost in plain terms.
- Check carried traffic and utilization to see how much of the trunk group is busy on average.
Formula
- A
- Offered traffic in erlangs, equal to arrival rate times mean holding time.
- N
- Number of parallel trunks or servers, a whole number.
- B(A,N)
- Blocking probability, the chance an arriving call finds all N trunks busy.
- n
- Loop index that runs from 1 to N in the recurrence.
- Carried
- A times one minus B, the average traffic actually served, in erlangs.
- U
- Carried traffic divided by N, the average share of trunks in use.
The factorial form and the recurrence give the same number. The recurrence is used here because A to the power of N and N factorial overflow ordinary floating point for large trunk groups. This is a loss system with no waiting room, so a blocked call is lost; it is not the Erlang C formula for a call that waits. Blocking is evaluated at the arrival instant, which matches the long run fraction of calls lost when arrivals are random.
Worked example
Example: 10 erlangs offered to 20 trunks
Defaults: 10.00 erlangs of offered traffic and 20 parallel trunks.
- Start the recurrence at B(0) = 1.
- Step through n = 1 to 20 using B(n) = 10 x B(n-1) divided by n + 10 x B(n-1).
- After n = 10 the value is about 0.2146, so blocking is already below a quarter.
- After n = 15 it is about 0.03650, and after n = 19 about 0.003745.
- At n = 20 the blocking probability is 0.001869, which is 0.1869 percent.
- One divided by 0.001869 is about 535, so roughly one call in 535 is lost.
- Carried traffic is 10 x (1 minus 0.001869) = 9.9813 erlangs, or 49.91 percent of 20 trunks. The tool shows 0.001869 (0.1869 %), 1 in 535, 9.9813 Erlangs and 49.91 %.
Reference table
| Trunks N | Blocking probability | Grade of service |
|---|---|---|
| 10 | 0.214582 (21.4582 %) | 1 in 5 |
| 15 | 0.036497 (3.6497 %) | 1 in 27 |
| 20 | 0.001869 (0.1869 %) | 1 in 535 |
| 25 | 0.000029 (0.0029 %) | 1 in 34,165 |
| 30 | 0.000000 (0.0000 %) | 1 in 5,842,583 |
Limits
- Assumes a loss system with no waiting room, so it does not describe a call center where callers hold.
- Assumes random arrivals. A small closed group of users is better modelled with the Engset formula.
- Uses long run averages, so it says nothing about short busy periods or how lost calls cluster in time.
- Needs a steady offered load in erlangs. A load that swings quickly during the hour gives only an average picture.
Common mistakes
- Entering call minutes where erlangs are needed. Multiply calls per hour by average holding time in hours.
- Using Erlang B for a system that queues callers, where Erlang C is the appropriate model.
- Treating erlangs as a count of calls rather than a measure of simultaneous occupancy.
- Rounding the blocking probability too early, which distorts the grade of service and the carried traffic.
- Assuming extra trunks cut blocking in proportion. The improvement is gradual, not linear.
Try it yourself
Quick checks. Answers sit tucked under each question.
Ten calls per hour each last six minutes. What offered traffic should I enter, and what happens with 5 trunks?
Six minutes is 0.1 hours, so 10 x 0.1 = 1.00 erlang. With 5 trunks the tool gives 0.003067 (0.3067 %) blocking, about 1 call in 326, and 0.9969 erlangs carried.
For 2 erlangs and 5 trunks, what is the blocking probability and how much traffic is carried?
The recurrence gives 0.036697, or 3.6697 percent. Carried traffic is 2 x (1 minus 0.036697) = 1.9266 erlangs and utilization is 38.53 %.
If 100 erlangs are offered to 100 trunks, how often is a call lost?
Blocking is 0.075700, or 7.5700 percent, about 1 call in 13. Carried traffic is 92.4300 erlangs and 92.43 % of the trunks are busy.
Questions
What is Erlang B for?
It gives the chance that all trunks are busy at the moment a call arrives, so the call is blocked. It is used to choose the size of a trunk group for a target blocking rate.
What is an erlang?
A unit of offered traffic equal to one continuously busy circuit. It is arrival rate times average holding time, so 10 calls per hour of six minutes each is 1 erlang.
What is the difference between Erlang B and Erlang C?
Erlang B is for a loss system where a blocked call leaves. Erlang C is for a queueing system where the call waits for a free server.
Why use the recurrence instead of the factorial formula?
The factorial form overflows for large trunk counts. The recurrence builds the answer one trunk at a time and keeps every intermediate value between zero and one.
Does the holding time distribution matter?
Not in the basic model. The Erlang loss result is insensitive to the shape of the holding time distribution, so only its mean enters through the offered traffic.
What is grade of service?
A way to state blocking as one lost call in a number of attempts. A blocking probability of 0.001869 is roughly a grade of service of 1 in 535.
Sources
- Telecom ParisTech, Network Performance Analysis, chapter 8: Circuit traffic and the Erlang formula
- Würzburg University Press, Performance Modeling and Analysis of Communication Networks: M/M/n loss system
- University of St Andrews, Agner Erlang and the Mathematics of Telecommunication Traffic, 1917 loss formula