Traffic Flow Calculator Formula
Understand the math behind the traffic flow calculator. Each variable explained with a worked example.
Formulas Used
Traffic Flow Rate (q)
flow = density * speedAverage Time Headway
headway = 3600 / (density * speed)Average Spacing
spacing = 1000 / densityVariables
| Variable | Description | Default |
|---|---|---|
density | Vehicle Density (k)(veh/km) | 30 |
speed | Space Mean Speed (u)(km/h) | 60 |
How It Works
Fundamental Traffic Flow Equation
Traffic flow, density, and speed are linked by a fundamental relationship.
Formula
q = k u
where q is flow rate (vehicles/hour), k is density (vehicles/km), and u is space mean speed (km/h).
Time headway = 3600/q seconds. Spacing = 1000/k metres. At capacity, flow is maximised with moderate speed and density.
Worked Example
30 vehicles per km travelling at 60 km/h.
density = 30speed = 60
- 01q = 30 x 60 = 1800 vehicles/hour
- 02Headway = 3600 / 1800 = 2.0 seconds
- 03Spacing = 1000 / 30 = 33.3 m between vehicles
Ready to run the numbers?
Open Traffic Flow Calculator