Erlang Calculator Excel

Erlang B Calculator for Excel & Web body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; margin: 0; padding: 20px; background-color: #f4f7f6; } .calculator-container { max-width: 800px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .calc-header { text-align: center; margin-bottom: 30px; border-bottom: 2px solid #0073aa; padding-bottom: 15px; } .calc-header h2 { margin: 0; color: #0073aa; } .input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } @media (max-width: 600px) { .input-grid { grid-template-columns: 1fr; } } .form-group { margin-bottom: 15px; } .form-group label { display: block; font-weight: 600; margin-bottom: 5px; color: #444; } .form-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; box-sizing: border-box; } .form-group small { display: block; color: #666; font-size: 0.85em; margin-top: 4px; } .calc-btn { display: block; width: 100%; background-color: #0073aa; color: white; border: none; padding: 15px; font-size: 18px; font-weight: bold; border-radius: 4px; cursor: pointer; transition: background-color 0.3s; } .calc-btn:hover { background-color: #005a87; } .results-area { margin-top: 30px; background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 4px; padding: 20px; display: none; } .result-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #ddd; } .result-row:last-child { border-bottom: none; } .result-label { font-weight: 600; color: #555; } .result-value { font-weight: 700; color: #0073aa; font-size: 1.2em; } .excel-formula-box { margin-top: 20px; background: #e8f4f8; padding: 15px; border-radius: 4px; font-family: monospace; font-size: 0.9em; border-left: 4px solid #0073aa; } .content-section { max-width: 800px; margin: 40px auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .content-section h2 { color: #333; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-top: 30px; } .content-section p { color: #555; margin-bottom: 15px; } .content-section ul { margin-bottom: 20px; padding-left: 20px; } .content-section li { margin-bottom: 8px; color: #555; }

Erlang B Calculator (Traffic Model)

Calculate Grade of Service (GoS) and Blocking Probability

Total traffic intensity (Calls per hour × Duration)
Number of trunk lines or agents available
Grade of Service (Blocking Probability):
Percentage of Calls Blocked:
Efficiency (Utilization):
Excel Formula Equivalent:
=POISSON.DIST(Lines, Traffic, FALSE) / POISSON.DIST(Lines, Traffic, TRUE)
function calculateErlangB() { // Get inputs var trafficInput = document.getElementById("trafficLoad"); var linesInput = document.getElementById("numLines"); var resArea = document.getElementById("resultsArea"); var traffic = parseFloat(trafficInput.value); var lines = parseInt(linesInput.value); // Validation if (isNaN(traffic) || traffic < 0) { alert("Please enter a valid Traffic Load (Erlangs)."); return; } if (isNaN(lines) || lines 0)."); return; } // Erlang B Recursive Calculation // B(E, n) = (E * B(E, n-1)) / (n + E * B(E, n-1)) // Start with B(E, 0) = 1 var gos = 1.0; for (var i = 1; i <= lines; i++) { gos = (traffic * gos) / (i + (traffic * gos)); } // Calculate Efficiency / Utilization // Carried Traffic = Offered Traffic * (1 – GoS) // Utilization = Carried Traffic / Number of Lines var carriedTraffic = traffic * (1 – gos); var efficiency = (carriedTraffic / lines) * 100; // Display Results document.getElementById("resGoS").innerHTML = gos.toFixed(5); document.getElementById("resPercent").innerHTML = (gos * 100).toFixed(3) + "%"; document.getElementById("resEfficiency").innerHTML = efficiency.toFixed(2) + "%"; resArea.style.display = "block"; }

Erlang Calculator Excel: Understanding Traffic Engineering

The Erlang B Calculator is a fundamental tool in telecommunications traffic engineering. It is used to determine the number of trunk lines or channels required to handle a known traffic load with a specific "Grade of Service" (GoS). While many engineers search for an "Erlang calculator Excel" sheet, this web-based tool provides instant, accurate results without needing to construct complex VBA scripts or data tables.

What is an Erlang?

An Erlang is a dimensionless unit of traffic intensity. One Erlang represents the continuous use of one voice circuit (or channel) for one hour. For example:

  • If a single phone line is busy for 60 minutes in an hour, that is 1 Erlang of traffic.
  • If a group of agents handles 30 calls that last 2 minutes each within an hour (60 minutes total load), that is also 1 Erlang.
  • Formula: Traffic (Erlangs) = (Calls per Hour × Average Call Duration in Seconds) / 3600.

How to Calculate Erlang B in Excel

If you are looking to replicate this calculation in Microsoft Excel, there isn't a native =ERLANGB() function. However, you can derive it mathematically using the Poisson distribution functions available in Excel.

You can use the following formula where A1 contains your Traffic in Erlangs and B1 contains your Number of Lines:

=POISSON.DIST(B1, A1, FALSE) / POISSON.DIST(B1, A1, TRUE)

This formula leverages the mathematical relationship between the Poisson distribution and the Erlang B loss formula.

Understanding the Inputs

  • Traffic Load: The total volume of traffic trying to access the system, measured in Erlangs. This is often calculated based on the Busy Hour Traffic (BHT).
  • Number of Lines/Channels: The capacity of your system. In a VoIP trunk, this is the number of concurrent call paths available. In a call center, this might represent the number of receiving lines.

Interpreting the Results

  • Grade of Service (GoS): This is the probability that a call will be blocked (receive a busy signal) because all lines are occupied. A GoS of 0.01 means there is a 1% chance of blocking.
  • Efficiency: This percentage indicates how effectively the lines are being utilized. Very low blocking usually results in lower utilization (many idle lines), while high utilization often leads to higher blocking probabilities.

Why Use Erlang B?

The Erlang B model assumes that blocked calls are cleared—meaning if a caller gets a busy signal, they hang up and do not immediately retry (or the system does not queue them). This makes it the standard model for dimensioning trunk lines between switches or PBX trunking capacity. For scenarios where calls wait in a queue (like a customer service center), the Erlang C model is used instead.

Leave a Reply

Your email address will not be published. Required fields are marked *