Home/Industrial Engineering/Operations Research/Average Number in Queue (M/M/1)

Formula & Calculator

Average Number in Queue (M/M/1)

Calculates the average number of customers waiting in line (not being served) in a simple single-server queuing system.

IndustrialOperations ResearchQueuing

M/M/1 Queue CalculatorAverage Number in Queue

Lq = ρ² / (1 − ρ)
Lq = avg. number in queue  ·  ρ = traffic intensity (λ/μ)  ·  λ = arrival rate  ·  μ = service rate
⟹ SolveLq, ρ, λ, μ
dimensionless
customers
cust/s
cust/s
Please fix the errors above.
Solve for:
Presets:
Queue Length
ρ: λ: μ: Lq:
✓ Copied!
Queue Length Gauge
Short (< 1) Moderate (1–5) Long (> 5)
Lq = ρ² / (1 − ρ)  ·  ρ = λ / μ  ·  Requires ρ < 1 for steady state

Interpretation

Lq = ρ²/(1−ρ). Average number of customers waiting in an M/M/1 queue. Increases nonlinearly with utilisation (ρ). Used to estimate required waiting space and service capacity. Critical in queuing analysis.

Lq = ρ² / (1 - ρ)
Average Number in Queue (M/M/1)

Variables

SymbolQuantityUnit
LqAverage number waiting in queue
ρTraffic intensity (utilization)

What it means

For an M/M/1 queue (single server, Poisson arrivals, exponential service times), the average number of customers waiting in the queue (Lq) is given by Lq = ρ²/(1−ρ), where ρ = λ/μ (traffic intensity). This formula is derived from the steady‑state probabilities of the system. It shows that Lq grows rapidly as ρ approaches 1; for example, at ρ=0.5, Lq=0.5, but at ρ=0.9, Lq=8.1. This highlights the sensitivity of queue length to utilisation. The metric is used in designing waiting areas, determining buffer sizes in manufacturing, and sizing network routers. It also appears in Little’s Law (Lq = λ Wq) to compute average waiting time. In call centres, Lq helps forecast staffing needs. Understanding this formula is essential for operations managers to predict congestion and to make informed decisions about adding capacity or improving service rates to keep queues manageable and customer satisfaction high.

Worked example

Average Queue Length – Two Examples

Real‑World
Scenario: A single‑server helpdesk handles IT support requests. The server utilisation is 70% on a typical day. The IT manager wants to calculate the average number of tickets waiting in the queue to determine if the current service level is acceptable or if an additional support agent is needed.
ParameterValue
ρ0.7
1Lq = ρ²/(1-ρ) = 0.49/0.3 = 1.63 customers
Result 1.63 tickets ✓ Short queue
Scenario: A bank teller operates at 90% utilisation during lunch hours. Customers are arriving faster than they can be served. The branch manager needs to quantify the impact of this high utilisation on the number of customers waiting in line to justify opening an additional teller window during peak periods.
ParameterValue
ρ0.9
1Lq = 0.81/0.1 = 8.1 customers
Result 8.1 customers ⚠️ Long queue
Industrial insight: The average queue length increases exponentially with utilisation. A 10% increase in utilisation from 80% to 90% more than doubles the queue length (from 3.2 to 8.1).

Common mistakes

  • ρ: Traffic intensity (λ/μ) – must be < 1.
  • Lq: Average number of customers waiting in the queue (not including those being served).
  • Formula: Lq = ρ² / (1 – ρ) – valid for M/M/1 queue.
  • Stability: If ρ ≥ 1, the queue length grows without bound – the formula gives infinity.
  • Units: Lq is in number of customers.

Applications

The average number of customers in queue, Lq = ρ²/(1−ρ) for an M/M/1 queue, provides the expected queue length (excluding the customer in service). This metric is used by operations managers to estimate space requirements, to assess customer waiting experience, and to set service level targets. It grows non‑linearly as utilisation (ρ) increases, highlighting the importance of maintaining moderate utilisation for good service. In manufacturing, Lq helps determine work‑in‑process inventory between workstations. In retail, it guides checkout lane staffing. By calculating Lq, managers can predict congestion, justify capacity investments, and design facilities that minimise customer waiting, thereby improving satisfaction and operational efficiency.

  • Design of queuing systems in retail, healthcare, and transportation
  • Work‑in‑process inventory control in production lines
  • Service level analysis and customer waiting time reduction
  • Capacity planning for service and manufacturing operations
  • Simulation and modelling of complex queuing networks

Frequently Asked Questions

Q01What is the formula for the average number of customers waiting in the queue (Lq) for an M/M/1 queue?
A01

For an M/M/1 queue, the average number of customers in the queue (waiting, not being served) is Lq = ρ² / (1 – ρ), where ρ = λ/μ is the traffic intensity (server utilization). This assumes ρ < 1.

Q02What is the common mistake when using this formula?
A02

Assuming queue length grows linearly with utilization. It actually grows explosively as ρ approaches 1. For example, at ρ = 0.9, Lq = 8.1, but at ρ = 0.95, Lq = 18.05, more than double. This is why systems run into trouble near full capacity.

Q03How does the average number in queue relate to the average waiting time?
A03

By Little's Law, Lq = λ · Wq, so Wq = Lq / λ. Thus, the average waiting time is directly proportional to the queue length.

Q04What is the difference between Lq and L (average number in the system)?
A04

In an M/M/1 queue, L = ρ / (1 – ρ). Since L = Lq + ρ (the number in service is ρ), we have Lq = L – ρ = ρ²/(1 – ρ).

Q05How does the arrival rate affect Lq?
A05

Lq increases with λ. As λ approaches μ (i.e., ρ → 1), Lq grows without bound. The relationship is highly non‑linear.

Q06What are the practical implications of high Lq?
A06

High Lq means long queues, leading to customer dissatisfaction, lost sales, and potential system failure. It may indicate the need for additional capacity or process improvements to reduce service time.

Q07How do you calculate Lq if you know the average service and interarrival times?
A07

First compute λ = 1 / interarrival time, μ = 1 / service time, then ρ = λ/μ. Then apply the formula Lq = ρ²/(1 – ρ).

Q08What is the relationship between Lq and the coefficient of variation of service time?
A08

For a general G/G/1 queue, the formula for Lq involves the coefficient of variation of interarrival and service times. The M/M/1 formula is a special case with exponential distributions (CV=1).

Q09What are some typical values of Lq for a system with ρ = 0.8?
A09

At ρ = 0.8, Lq = 0.64 / 0.2 = 3.2 customers. This means on average, about 3.2 customers are waiting in line.

Q10How can you reduce Lq?
A10

  • Reduce ρ by increasing service capacity (more servers, faster service).
  • Reduce variability in arrivals or service times (smoothing demand, standardising tasks).
  • Use queue management strategies (e.g., appointment systems).