Home/Industrial Engineering/Operations Research/Average Wait Time in System (M/M/1)

Formula & Calculator

Average Wait Time in System (M/M/1)

Calculates the average total time a customer spends in a single-server queuing system, including both waiting and service time.

IndustrialOperations ResearchQueuing

M/M/1 Queue CalculatorAverage Wait Time in System

W = 1 / (μλ)
W = Avg. Wait Time  ·  μ = Service Rate  ·  λ = Arrival Rate  ·  μ > λ (stability condition)
⟹ SolveW, μ, λ
arrivals / time
arrivals / time
time units
Please fix the errors above.
Solve for:
Presets:
Avg. Wait Time (W)
μ: λ: W: ρ:
✓ Copied!
Traffic Intensity (ρ = λ/μ)
Low (< 0.5) Moderate (0.5–0.8) High (> 0.8)
W = 1 / (μ − λ)  ·  Stability requires μ > λ  ·  ρ = λ/μ (traffic intensity)
W = 1 / (μ - λ)
Average Wait Time in System (M/M/1)

Variables

SymbolQuantityUnit
WAverage time in systemtime
μService ratecustomers/time
λArrival ratecustomers/time

What it means

In an M/M/1 queue, the average time a customer spends in the system (from arrival to departure, including service) is W = 1/(μ − λ), where λ is the arrival rate and μ is the service rate. This formula is derived from the steady‑state distribution and assumes ρ = λ/μ < 1. The average waiting time in queue (Wq) is W − 1/μ = λ/(μ(μ−λ)). The formula shows that as λ approaches μ, the wait time tends to infinity. This metric is crucial for service operations: it helps estimate the response time for customers, the lead time for orders, or the delay for jobs in a production line. Managers use it to set service level agreements (SLAs), to decide whether to increase staffing or improve process efficiency, and to evaluate the impact of demand variability. In IT, it applies to server response times. Understanding W is essential for designing systems that meet time‑sensitive customer expectations and for optimising resource allocation.

Worked example

Average Wait Time – Two Examples

Real‑World
Scenario: A hospital emergency department has a service rate of 10 patients per hour (one doctor). On average, 8 patients arrive per hour. The hospital administrator needs to calculate the average total time a patient spends in the emergency department (waiting plus treatment) to evaluate if the current staffing meets the target of under 60 minutes.
ParameterValue
μ10/hr
λ8/hr
1W = 1/(10-8) = 1/2 = 0.5 hours = 30 minutes
Result 30 minutes ✓ Acceptable
Scenario: A web server processes 20 requests per second at full capacity, but receives an average of 15 requests per second. The system administrator wants to calculate the average response time (time from request arrival to completion) to ensure it meets the service level agreement of under 200 milliseconds for critical applications.
ParameterValue
μ20/sec
λ15/sec
1W = 1/(20-15) = 0.2 seconds = 200 milliseconds
Result 200 ms ✓ At limit
Industrial insight: The average time in the system (W) increases dramatically as utilisation approaches 100%. For M/M/1, W = 1/(μ-λ) – the difference between service and arrival rates is critical.

Common mistakes

  • λ: Arrival rate (customers per unit time).
  • μ: Service rate (customers per unit time).
  • W: Average total time a customer spends in the system (including waiting and service).
  • Stability: λ < μ; if λ ≥ μ, the system is unstable.
  • Units: W is in the same time units as λ and μ (e.g., hours).

Applications

The average wait time in system, W = 1/(μ−λ) for an M/M/1 queue, gives the total expected time a customer spends from arrival to completion of service, including waiting and service. This metric is critical for assessing the responsiveness of a service or production system. Managers use it to set performance targets, to schedule resources, and to compare alternative designs. For example, in an emergency room, reducing W improves patient outcomes; in manufacturing, it lowers cycle time and improves on‑time delivery. By understanding the relationship between arrival rate, service rate, and wait time, operations professionals can make informed decisions about capacity, staffing, and process improvement to achieve desired service levels.

  • Service system design (banks, post offices, fast‑food restaurants)
  • Production scheduling and lead time reduction
  • Healthcare emergency department flow management
  • Airport security and baggage handling
  • Customer service level agreement (SLA) compliance