Skip to content

Queueing Theory Examples: Calculate Waiting Time, Queue Length And Server Utilization

August 24, 2026 ·
Single Server Processing A Waiting Line Of Requests

Queueing theory examines what happens when arriving work must compete for limited service capacity. Even when average service capacity exceeds average demand, a queue can form because arrivals and service durations vary. Understanding that relationship helps organizations assess waiting, evaluate resource arrangements and recognize why operating near maximum utilization can create disproportionately long delays. The original fictional examples below calculate the basic M/M/1 measures, compare alternative arrangements and distinguish steady-state averages from the actual experience of individual customers or work items.

Quick Answer

For a stable M/M/1 queue, use arrival rate λ and service rate μ in matching time units. Utilization is λ/μ, mean system time is 1/(μ − λ), and mean queue waiting time is that system time minus 1/μ.

Table Of Contents

Define The Queue And Service Boundary

The MIT OpenCourseWare course on queues covers the analysis of single-server, multiserver and more complex queueing systems. The simple examples in this guide use a single service station and explicitly stated assumptions. They are not intended to model every kind of waiting arrangement.

Start by identifying what enters the system, which resource provides service and when a work item leaves the selected boundary. An arrival might be a customer joining a line, an eligible request entering an administrative queue or a record becoming ready for verification. The service time begins when the resource actually starts handling that item and ends when the specified service is finished.

The queue contains the items waiting to begin service. The system contains both those waiting and the item currently receiving service. The distinction is important because mean time in the system includes the service duration, whereas mean waiting time in the queue does not.

Our Little’s Law examples explain how average numbers, throughput and residence time can be related within a consistent boundary. Queueing models add assumptions about the arrival and service processes so that additional measures can be calculated.

Understand The M/M/1 Assumptions

A conventional M/M/1 model assumes Poisson arrivals at a constant rate, independent exponentially distributed service durations, one server, an effectively unlimited waiting space and a suitable first-come, first-served discipline for the waiting-time interpretation used here. The arrival rate is denoted by lambda and the service rate by mu.

For example, a service rate of 12 requests per hour means the model’s mean service duration is one-twelfth of an hour, or five minutes. It does not mean that every request takes exactly five minutes. The exponential service assumption permits shorter and longer service durations.

The steady-state model requires the arrival rate to be less than the service rate. When the arrival rate equals or exceeds the service rate, the ordinary infinite-horizon steady-state formulas used in this article do not give finite average queue lengths and waiting times.

The MIT manufacturing systems M/M/1 resource provides further teaching material on this basic queue. Before using the formulas for an actual service, investigate whether the model’s assumptions are appropriate for the decision.

Worked Example: Bicycle Accessory Collection Desk

A fictional bicycle accessory shop has a single desk responsible for checking and handing over previously prepared standard accessory orders. Assume eligible arrivals follow the specified M/M/1 model at an average rate of eight per hour. Service takes an average of five minutes, corresponding to a service rate of 12 per hour.

QuantityModel Input
Arrival Rate8 Requests Per Hour
Mean Service Duration5 Minutes
Service Rate12 Requests Per Hour
Number Of Servers1

Utilization is eight divided by 12, or two-thirds. Under the stable model, the desk is occupied about 66.7% of the time in the long run. The complementary idle fraction is about 33.3%.

Mean time in the system is one divided by the difference between service and arrival rates. Here that is one divided by four hours, or 15 minutes. The mean service time is five minutes, so mean waiting time before service is ten minutes.

The waiting time does not mean every person will wait exactly ten minutes. Some may arrive when the desk is free, and others may encounter several requests already in progress. The average includes the zero-wait cases under the model.

Our capacity planning examples distinguish nominal capacity from usable capacity and actual accepted output. The queueing example shows why even a resource with average capacity greater than the arrival rate can have substantial waiting.

Calculate Average Queue Length And System Size

In the stable M/M/1 model, the average number of items in the system is utilization divided by one minus utilization. With utilization of two-thirds, this equals two items. It also follows from Little’s Law: eight arrivals per hour multiplied by 0.25 hour of mean system time equals two.

The average number waiting is the arrival rate multiplied by mean queue waiting time. Ten minutes is one-sixth of an hour, so the average number waiting is eight times one-sixth, or four-thirds.

MeasureResult
Utilization66.7%
Average Time In System15 Minutes
Average Time Waiting10 Minutes
Average Number In System2
Average Number Waiting1.333
Average Number Receiving Service0.667

Fractional average item counts are entirely meaningful. The system never physically contains 1.333 waiting customers at a particular instant, but the time-average count can have that value. The expected number receiving service equals the utilization because the single server is either occupied by one item or idle.

The difference between the total system count and the waiting count is approximately 0.667, which reconciles with that utilization. Checking such relationships can reveal a mismatch between minutes and hours or confusion about the queue boundary.

Worked Example: Increased Arrival Rate

Suppose demand at the shop increases to ten requests per hour, while the service rate remains 12. Utilization becomes 10 divided by 12, approximately 83.3%. The mean system time is one divided by two hours, or 30 minutes. After subtracting five minutes of mean service duration, the average queue wait is 25 minutes.

If demand rises again to 11 requests per hour, utilization becomes approximately 91.7%, and mean system time increases to one hour. Mean queue waiting is 55 minutes. The service duration remains five minutes in all three cases.

Arrival Rate Per HourUtilizationMean System TimeMean Queue Wait
866.7%15 Minutes10 Minutes
1083.3%30 Minutes25 Minutes
1191.7%60 Minutes55 Minutes

The relationship is nonlinear. An additional request per hour between ten and 11 increases the mean queue wait by 30 minutes in this model. The same one-request increase at a much lower utilization would have a smaller effect.

This example illustrates why a plan that aims to keep a service station almost continuously occupied can conflict with an objective of reducing waiting. Our Theory of Constraints examples explain the significance of limiting resources in the complete system. Where the limiting resource serves variable demand, the consequences of its utilization deserve particular attention.

Do not apply the 55-minute prediction directly to an actual shop without examining the arrival pattern, service distribution and operating window. A busy period that lasts only 20 minutes may not reach the model’s steady-state behavior. A prebooked appointment system may produce a different arrival pattern altogether.

Worked Example: Calculate A Waiting Probability

Mean waiting time is not the same as the chance of encountering a lengthy wait. Under the conventional steady-state first-come, first-served M/M/1 model, the probability an arrival waits more than a positive time t is utilization multiplied by the exponential of negative (service rate minus arrival rate) times t.

Return to the eight-arrival, 12-service-rate example. For a waiting threshold of 15 minutes, express the time as 0.25 hour. The exponent is negative four times 0.25, or negative one. Multiply the exponential of negative one, about 0.3679, by utilization of two-thirds. The modeled probability of waiting more than 15 minutes is approximately 24.5%.

The probability of receiving service without waiting is one minus utilization, approximately 33.3%, under this specific Poisson arrival and steady-state model. These two figures are different questions. A person might wait briefly but not exceed the 15-minute threshold.

An organization with a service-level objective can use a threshold probability as a complementary measure to the mean. However, the assumed waiting-time distribution must be appropriate. A model with scheduled batches, priority service or a finite waiting area may require a different calculation.

Compare A Faster Service Arrangement

The bicycle accessory shop considers whether its approved reference and collection information can be made easier to retrieve. Assume, solely for a conditional model, that this changes mean service duration from five to four minutes without changing demand or the exponential distribution assumption. The service rate becomes 15 requests per hour.

With arrivals of ten per hour, utilization is now 10 divided by 15, or 66.7%. Mean system time is one divided by five hours, or 12 minutes. Mean queue wait is eight minutes after subtracting the four-minute service duration.

MeasureOriginal At 10 Arrivals Per HourProposed Model
Service Rate12 Per Hour15 Per Hour
Mean Service5 Minutes4 Minutes
Utilization83.3%66.7%
Mean Queue Wait25 Minutes8 Minutes
Mean System Time30 Minutes12 Minutes

Under the stated assumptions, the improvement in mean waiting is 17 minutes. The reduction is much larger than the one-minute decrease in average service duration because the increased available capacity also changes the extent of queue accumulation.

Our swimlane diagram examples help identify where a service handoff requires information or other resources. A practical improvement might address avoidable lookup time while preserving the necessary acceptance check. The calculation does not justify skipping the check or claim that the proposed four-minute service mean has already been achieved.

Examine Finite Operating Windows

A fictional exhibition badge service begins a two-hour operating period with 18 people already waiting. Its one desk can process an average of 15 requests per hour under a simplified deterministic flow model, while another nine per hour arrive.

The net average reduction in the existing workload is six per hour if all relevant assumptions hold. After two hours, the fluid approximation would leave six requests from the accumulated queue, assuming no other changes and treating the flow continuously. The existing backlog would require three hours to clear at that net rate.

That calculation is not the same as the M/M/1 steady-state mean waiting formula. It describes the expected direction and approximate magnitude of a temporary backlog under a simplified constant-flow representation. Individual completion times, service variability and the order of arrivals still matter.

Our behavior over time graph examples illustrate how accumulated conditions change across time. When a queue opens with a substantial backlog or demand varies sharply by hour, a time-dependent representation may be more useful than an equilibrium average.

Distinguish Multiple Servers From A Faster Single Server

Suppose the shop adds a second desk with the same mean service rate of 12 per hour. The total nominal service capacity is 24 per hour, but the service duration at each desk remains five minutes. A one-server model with service rate 24 per hour would instead describe a single resource with mean service duration of 2.5 minutes.

These are different queueing systems. With two desks, two requests can receive service at the same time. With one faster desk, only one receives service at a time. The probability of waiting and expected queue length can differ even when the nominal aggregate service rates match.

An appropriate multiserver model, such as M/M/2 under its assumptions, can represent two parallel identical servers and a shared queue. Separate queues at each desk require attention to how arriving requests choose a desk and whether they can move between queues. Do not replace a multiserver system with an equivalent single-server model solely because the total rate is easy to calculate.

Collect Data Before Choosing A Model

Record arrival times, service start times and service finish times for a suitable set of comparable requests. The difference between consecutive arrivals helps describe the arrival process; service duration is finish minus start. Queue waiting is service start minus eligible arrival time.

Preserve periods when the resource is unavailable, cases that leave before service and requests still waiting at the observation cutoff. An analysis that includes only completed requests can omit some of the longest waits. Our measurement system analysis examples explain why observation definitions and consistency matter.

Estimate arrival rates using the relevant exposure time, not just a raw count. A sample of 40 arrivals over five operating hours implies an observed mean rate of eight per hour. That mean does not establish Poisson arrivals. Examine the timing, clustering and changes in operating conditions before selecting the model.

Service variability can change waiting even when average capacity remains unchanged. For example, under a stable M/G/1 model with Poisson arrivals, independent service durations and the usual first-come, first-served arrangement, the mean queue wait depends on the second moment of service duration. Consider eight arrivals per hour and a deterministic service duration of one-twelfth of an hour. The resulting M/D/1 mean wait is five minutes rather than the ten minutes calculated for exponential service in the earlier example. The model has the same mean service duration and utilization, but less service variability. This comparison suggests investigating the causes of long service durations and whether preparation can be made more dependable. It does not imply that all legitimate work can be made identical.

Reusable Queueing Analysis Worksheet

FieldRecord
BoundaryEligible Arrival, Service Start And Finish
Arrival ProcessRate, Timing Pattern And Assumptions
Service ProcessDuration Distribution And Number Of Servers
UtilizationComparable Arrival And Service Capacity
Queue MeasuresWaiting Time And Number Waiting
System MeasuresComplete Residence Time And Number In System
ExceptionsBacklog, Abandonment, Priority And Unavailable Time
ReviewObserved Waits, Model Fit And Improvement Options

A final review should connect the measure to the customer’s experience. A service may report a favorable average while a small but important group encounters very long waits. Examine relevant distributions or threshold outcomes as well as averages, and keep legitimate service routes visible.

Queueing theory is valuable when it makes the relationship between variation, workload and waiting understandable. Use a model suited to the actual question, verify its assumptions and compare proposed arrangements without losing sight of the intended service outcome.

Frequently Asked Questions

What is queueing theory?

The study of waiting systems, arrivals, service and resource capacity.

What does M/M/1 represent?

A model with Poisson arrivals, exponential service times and one server.

How is utilization calculated?

For one server under the model, divide arrival rate by service rate.

What is mean time in the system?

For stable M/M/1, one divided by service rate minus arrival rate.

What is mean queue waiting time?

Mean system time minus mean service duration under the model.

Why does waiting increase near full utilization?

Variable arrivals and service leave less spare capacity to recover from accumulated work.

What happens when arrivals equal service capacity?

The ordinary M/M/1 steady-state finite waiting formulas no longer apply.

Is a two-server queue equivalent to one faster server?

Not generally; their concurrency and waiting distributions differ.

Can Little’s Law be used with queues?

Yes, with appropriate consistent boundaries and long-run conditions.

What should be measured before applying a model?

Actual arrivals, service durations, availability, queue behavior and relevant exceptions.

Leave a Reply

Your email address will not be published. Required fields are marked *