Queue and throughput calculator

Queues do not degrade gracefully. Wait time climbs hyperbolically as utilisation approaches one, which is why systems fall over so suddenly.

per second
ms
Utilisation
0.8000
= Exact Busy but stable
Average response time
50.000 ms
Average queue length
3.200
Average requests in the system
4.000
Spare capacity
20.00 per second
System is stable
1
Show the working
  1. Requests arriving = 80
  2. Service time per request = 10
  3. Parallel workers = 1
  4. service_rate = 1000 / 10 * 1 = 100
  5. Utilisation = 80 / 100 = 0.8
  6. System is stable = 0.8 < 1 ? 1 : 0 = 1
  7. wait = 0.8 < 1 ? 10/1000 * 0.8 / (1 - 0.8) : 0 = 0.04
  8. response = 0.8 < 1 ? 10/1000 / (1 - 0.8) : 0 = 0.05
  9. Average requests in the system = 80 * 0.05 = 4
  10. Average queue length = 80 * 0.04 = 3.2
  11. Spare capacity = 100 - 80 = 20
  12. Average response time = 0.05 * 1000 = 50

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • Little's law: L = lambda W
    • M/M/1: response time = service time / (1 - utilisation)
    • utilisation = arrival rate / service rate

    M/M/1 assumes Poisson arrivals and exponential service times. Real traffic is burstier, so treat these as optimistic.

    At 90% utilisation the average response is ten times the service time. At 95% it is twenty.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library