M/M/1 Queue Calculator
Calculate utilization, average queue length, and waiting time for an M/M/1 queue. This educational calculator shows the formula, result, and step-by-step interpretation.
Calculator
What this calculator teaches
M/M/1 queues model simple service systems with random arrivals and exponential service times.
Use the result as a learning aid. For classwork, still show the formula and intermediate reasoning so the final answer is not just a black-box number.
Understanding the M/M/1 Queue
An M/M/1 model describes a queue with Poisson arrivals, exponentially distributed service times, one server, and a stable long-run arrival rate λ smaller than the service rate μ. The utilization ρ=λ/μ is the fraction of time the server is busy.
As ρ approaches 1, waiting grows rapidly. The mean number in the system is L=ρ/(1-ρ), while the mean number waiting in line is Lq=ρ²/(1-ρ). The mean time in the system is W=1/(μ-λ), and the mean queue wait is Wq=λ/[μ(μ-λ)].
| Metric | M/M/1 formula |
|---|---|
| Utilization | ρ=λ/μ |
| Mean number in system | L=ρ/(1-ρ) |
| Mean number in queue | Lq=ρ²/(1-ρ) |
| Mean time in system | W=1/(μ-λ) |
Rates must use the same time base. If λ is customers per hour, μ must also be customers per hour, and W will be measured in hours. Little's law provides a useful check: L=λW and Lq=λWq.
Formula & Symbols
| Concept | Formula or rule |
|---|---|
| Utilization | ρ = λ/μ |
| Mean system size | L = ρ / (1-ρ) |
| Mean waiting time | W = 1 / (μ-λ) |
Worked example
Common mistakes
Keep lists comma separated, matrices as rows separated by semicolons, and modular inputs as integers.
Some methods require positive probabilities, valid moduli, independent trials, or small educational input sizes.
A standard steady-state M/M/1 queue requires λ<μ. Otherwise the expected queue does not settle to a finite long-run value.
Convert both arrival and service rates to the same time unit before using the formulas.
FAQ
Interpreting Queue Metrics
A low utilization does not mean the queue is always empty; it means the server is idle a larger fraction of time on average. Conversely, ρ=0.9 does not merely mean “10% capacity remains.” Random arrival clustering makes congestion highly nonlinear, which is why L and W increase sharply near ρ=1.
Use Little's law as a consistency test: multiply the arrival rate λ by W and compare with L, then multiply λ by Wq and compare with Lq. The units should also agree. If λ is per hour and W is in hours, λW is a dimensionless expected customer count. When applying these numbers to a real system, confirm that one-server, memoryless arrival/service assumptions are plausible; otherwise the M/M/1 result is a benchmark rather than a precise operational forecast.
Related calculators
These links will work after the calculators are registered in the final Math layout update.
Formula Explorer connections
Interpretation: This formula summarizes data, models uncertainty or supports inference about a population or random process. Assumption: The sampling design and distribution assumptions must match the data. Independence, sample size, outliers and measurement quality can materially affect interpretation.