M/M/1 Queue Calculator
Find queue length, waiting time and utilization for a single server with Poisson arrivals.
What it does
An M/M/1 queue is the simplest useful model of a waiting line. It assumes arrivals follow a Poisson process, service times are exponentially distributed and there is a single server with unlimited waiting space. Despite those simplifications, the model explains the most important behavior of real queues: delays grow quickly as the server becomes busy.
The key quantity is utilization, written rho, which is the arrival rate divided by the service rate. If ten customers arrive per hour and one server can handle fifteen, utilization is about 0.67. A stable queue requires rho below one. At or above one, arrivals outpace service and the line grows without bound, so no steady state answer exists.
Once the system is stable, several averages follow from rho. The expected number in the whole system is rho over one minus rho, and the expected number waiting is rho squared over the same denominator. Dividing those by the arrival rate gives the corresponding times, which the tool reports in minutes.
The distinction between system and queue matters. Time in system includes the time being served. Time waiting covers only the line before service begins. The difference between them is the mean service time, which is one over the service rate.
Real systems depart from the model in many ways: arrival rates change through the day, service times are not exponential, there may be several servers and customers may leave before being served. Use this page as a first estimate and check how sensitive your answer is to those assumptions.
How to use
- Enter the average arrival rate in customers per hour.
- Enter the average service rate for one server in customers per hour.
- Check that utilization is below one; otherwise the tool reports an error.
- Read the average number in the system and in the waiting line.
- Read the average time in the system and in the queue.
- Compare several service rates to see how delay falls as capacity rises.
Formula
- lambda
- Average arrival rate in customers per hour.
- mu
- Average service rate of one server in customers per hour.
- rho
- Utilization, lambda divided by mu.
- L
- Expected number of customers in the system.
- Lq
- Expected number of customers waiting for service.
- W
- Expected time in the system, converted to minutes.
- Wq
- Expected waiting time, converted to minutes.
Rates must use the same time unit. The tool converts the time results from hours to minutes for display. These are steady state averages for an infinite capacity M/M/1 queue, so they do not describe a system that has not settled or one with a finite waiting room.
Worked example
Example: 10 arrivals and 15 services per hour
Defaults: arrival rate 10 per hour and service rate 15 per hour.
- Utilization: 10 / 15 = 0.667.
- Check stability: 0.667 is below one.
- Number in system: 0.667 / 0.333 = 2.000.
- Number waiting: 0.667² / 0.333 = 1.333.
- Time in system: 1 / (15 - 10) = 0.2 hours, or 12.00 minutes.
- Time waiting: 0.667 / 5 = 0.1333 hours, or 8.00 minutes.
Reference table
| Arrivals | Utilization | Average waiting |
|---|---|---|
| 5 per hour | 0.333 | 0.500 |
| 10 per hour | 0.667 | 1.333 |
| 12 per hour | 0.800 | 3.200 |
| 14 per hour | 0.933 | 13.067 |
Limits
- Assumes Poisson arrivals and exponential service times.
- Requires one server and unlimited waiting space.
- Only valid when utilization is below one.
- Uses steady state averages, so it does not describe warm up or rush periods.
Common mistakes
- Entering rates in different time units.
- Using the service rate as the arrival rate by mistake.
- Expecting a finite answer when utilization is one or more.
- Confusing time in the queue with time in the whole system.
- Applying the formula to a multi server call centre without a different model.
Try it yourself
Quick checks. Answers sit tucked under each question.
Arrivals 8 and service 10 per hour. What does the tool show?
Utilization is 0.800, average in system 4.000, waiting 3.200, time in system 30.00 minutes and time waiting 24.00 minutes.
What if arrivals equal the service rate at 15 per hour?
The tool returns the error Arrival rate must be below service rate for a stable M/M/1 queue, because no finite steady state exists.
Why does waiting grow so fast near full utilization?
The waiting count has rho squared in the numerator and one minus rho in the denominator, so it rises steeply as rho approaches one.
Questions
What does M/M/1 mean?
Poisson arrivals, exponential service times and one server. The letters describe the arrival process, the service distribution and the number of servers.
Why must utilization be below one?
If arrivals are as fast as or faster than service, the line never clears and no steady state average exists.
What is the difference between L and Lq?
L counts everyone in the system, including the person being served. Lq counts only those waiting.
Where does Little's law appear?
The relationships L equals lambda times W and Lq equals lambda times Wq are instances of Little's law.
Does this handle several servers?
No. A multi server queue needs a different model, such as M/M/c.
Can I use minutes for the rates?
Yes, as long as both rates use the same time basis. The time outputs will still be shown in minutes.