# M/M/1 Queue Calculator (L, Lq, W, Wq)

Steady-state M/M/1 metrics: ρ, P0, L, Lq, W, Wq, state probabilities, and Little's-law cross-checks; unstable λ ≥ μ inputs are rejected.

> Canonical page: https://elysiatools.com/en/tools/queuing-theory-mm1

- **Category:** Math & Numbers

- **Keywords:** queuing theory, mm1, m/m/1, queue, waiting line, little's law, utilization, poisson arrivals, exponential service, operations research

## Overview

The M/M/1 Queue Calculator computes steady-state performance metrics for single-server queuing systems with Poisson arrivals and exponentially distributed service times. It delivers instant calculations for traffic intensity, idle probability, queue length, waiting times, and state distributions verified by Little's law.

## Inputs

- **Arrival rate λ (per time unit)** (number): Average arrivals per time unit (Poisson process). Must be below the service rate μ.
- **Service rate μ (per time unit)** (number): Average services per time unit (exponential distribution). Must exceed the arrival rate λ.
- **Decimal Places** (number)

## When to use

- Analyzing single-server service desks, ticket counters, or technical support lines under steady-state conditions.
- Evaluating queue latency, system occupancy, and server utilization for capacity planning.
- Validating operations research assignments and queuing theory models using Little's law formulas.

## How it works

- Enter the arrival rate (λ) representing the average number of incoming requests or customers per time unit.
- Enter the service rate (μ) representing the average number of requests or customers the server can handle per time unit (μ must exceed λ for stability).
- Specify the desired decimal precision for the output metrics.
- Generate steady-state metrics including server utilization (ρ), idle probability (P0), mean customers in system (L), mean queue length (Lq), average system time (W), average waiting time (Wq), and discrete state probabilities.

## Use cases

- Capacity planning for single-lane drive-thrus or service booths to keep wait times within target thresholds.
- Sizing single-threaded background job processors or single-socket network buffers to prevent buffer overflow.
- Solving and cross-checking operations research problem sets involving Poisson arrival processes and exponential service distributions.

## Frequently asked questions

### What does an M/M/1 queue represent?

An M/M/1 queue models a single-server system with Poisson arrivals (Markovian), exponentially distributed service durations (Markovian), and one server operating under first-come, first-served discipline.

### Why must the service rate (μ) be greater than the arrival rate (λ)?

If arrival rate equals or exceeds service rate (λ ≥ μ), the queue grows indefinitely, making the system unstable and preventing steady-state equilibrium.

### What is the difference between W and Wq?

W represents the total expected time spent in the system (waiting plus service), while Wq represents only the expected time spent waiting in the queue.

### What is Little's law in this calculator?

Little's law provides mathematical validation where L = λ × W and Lq = λ × Wq, relating average quantities to average times.

### What does the utilization metric (ρ) signify?

Utilization (ρ = λ / μ) indicates the proportion of time the server is busy, and also equals the probability that an arriving entity must wait.

## Related tools

- [Perfect Number Checker](https://elysiatools.com/en/tools/perfect-number-checker): σ(n) = 2n ⟺ perfect. Factorization-based σ(n), proper-divisor sum, deficient/perfect/abundant classification, abundancy index, Euclid–Euler form. n ≤ 10¹².
- [Prime Number Checker](https://elysiatools.com/en/tools/prime-number-checker): Check if a number is prime (a natural number greater than 1 that has no positive divisors other than 1 and itself)
- [M/M/c Multi-Server Queue Calculator](https://elysiatools.com/en/tools/queuing-theory-mmc): Steady-state M/M/c metrics with the Erlang-C formula: offered load, P0, Pw, Lq, L, W, Wq plus Little's-law cross-checks; unstable λ ≥ cμ inputs are rejected.
- [Wilson's Theorem Primality Checker](https://elysiatools.com/en/tools/wilson-theorem-checker): (n−1)! ≡ −1 (mod n) ⟺ n is prime. Exact factorial residue for n ≤ 10⁷, Miller–Rabin cross-check, composite factorial law, optional running-products trace.
- [Dimensional Analysis Unit Cancellation Tutor](https://elysiatools.com/en/tools/dimensional-analysis-unit-cancellation-tutor): Step-by-step factor-label unit cancellation with inverted-factor diagnosis and optional student-answer checking.
- [Matrix Multiplication Calculator](https://elysiatools.com/en/tools/matrix-multiplication-calculator): Multiply two matrices and return the product with dimension checks and optional step explanations
- [Pipe Friction Factor Calculator (Colebrook-White / Haaland)](https://elysiatools.com/en/tools/pipe-friction-factor): Compute the Darcy friction factor: laminar closed-form f=64/Re for Re<2000, or iterative Colebrook-White solution for transitional/turbulent flow, with the explicit Haaland approximation always returned as a cross-check. Reports relative roughness ε/D, absolute roughness (m), diameter (m), flow regime (laminar/transitional/turbulent), effective method and iteration count. Roughness ε in m/mm/µm, diameter D in m/cm/mm.
- [Divisibility Calculator](https://elysiatools.com/en/tools/divisibility-calculator): Check whether one integer is divisible by another and show the quotient, remainder, and optional divisibility hint

## Samples

- [RocketMQ Message Queue Samples](https://elysiatools.com/en/samples/rocketmq-samples): Apache RocketMQ examples including producers, consumers, ordered messages, delayed messages, broadcast consumption, and transactional messages for high-throughput messaging
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
