Transport & Traffic
Transit Headway Irregularity & Passenger Wait Calculator
Estimate random-arrival waiting time and excess wait from a sequence of observed vehicle headways.
How the calculation works
avg = mean(headways). Observed mean headway = avg minutes. Population standard deviation = sqrt(population_variance(headways)) minutes. Coefficient of variation = sqrt(population_variance(headways))/avg . Estimated random-arrival average wait = sum_squares(headways)/(2*sum(headways)) minutes. Wait with equal observed mean headways = avg/2 minutes. Excess over equal observed mean headways = sum_squares(headways)/(2*sum(headways))-avg/2 minutes. Excess relative to scheduled regular service = sum_squares(headways)/(2*sum(headways))-scheduled/2 minutes.
Worked example
Example inputs — Consecutive completed headways (minutes): 5, 10, 15; Scheduled regular headway (minutes): 10. Expected results — Observed mean headway: 10 minutes; Population standard deviation: 4.082482905 minutes; Coefficient of variation: 0.4082482905; Estimated random-arrival average wait: 5.833333333 minutes; Wait with equal observed mean headways: 5 minutes; Excess over equal observed mean headways: 0.8333333333 minutes; Excess relative to scheduled regular service: 0.8333333333 minutes.
Assumptions and limits
Each entry is one complete interval between consecutive vehicles at the same stop. Uniform time-weighted passenger arrivals independent of vehicle arrivals, unlimited boarding capacity and no schedule-aware arrivals are assumed. This finite-sample estimate weights longer intervals by their duration. It excludes incomplete observation-window intervals and does not predict individual waits or denied boarding. Scheduled comparison can be negative when actual frequency is higher.
Reference and further reading
Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.
Related calculators
- Traffic Flow, Density & Mean Headway Calculator
- Greenshields Traffic Speed–Density & Capacity Calculator
- Signalized Movement Capacity & Saturation Calculator
- Traffic Shockwave Speed & Position Calculator
- Two-Signal Progression Offset Calculator
Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.