Traffic density, traffic flow, and average travel speed are the three fundamental characteristics of any road. They are linked by a single equation, so once you have counted vehicles in two different ways you can derive all three — plus the headway, or gap between successive cars — without specialist equipment.
To calculate traffic density, divide the number of vehicles occupying a road segment by that segment's length: density = m / L, giving vehicles per metre or per kilometre. Traffic flow is the count passing a point divided by the time interval (flow = n / t). The fundamental equation flow = speed times density then yields average speed as speed = flow / density, and headway is the reciprocal of density.
What are the fundamental characteristics of a traffic flow?
The source method treats flow, density, and speed as one linked system. Each quantity has its own definition and formula.
Traffic flow is the number of vehicles that pass a point during a given time period, usually reported as an hourly rate — the source cites 500 vehicles per hour on a highway. It is measured by watching a road and counting the vehicles that pass:
Here is the number of vehicles that passed the point during the time frame .
Traffic density describes how congested a road is: the number of vehicles occupying a segment of length . When density reaches its maximum, flow drops to zero and a traffic jam forms:
The reciprocal of density is the headway — the distance between the front tips of two vehicles driving one after another:
Flow, speed, and density are connected by the fundamental equation:
Rearranged, it gives average travel speed directly:
| Measure | Formula | Value in the worked example |
|---|---|---|
| Traffic flow | 600 veh/h (20 cars in 2 min) | |
| Traffic density | 10 veh/km (2 cars in 200 m) | |
| Headway | 100 m | |
| Average travel speed | 60 km/h |
Worked example: 20 cars in two minutes, 2 cars in 200 metres
Take the count from the source walkthrough. During two minutes, 20 cars pass a single point, so the flow is
Next, on a 200 m segment of the same road, two cars are present at once. The density is
The headway follows as the reciprocal of that density:
Finally, the fundamental equation gives the average travel speed:
The average travel speed on this road is 60 km/h. The example shows why the two counts are taken differently: flow needs a time interval at one point, while density needs a snapshot of a measured length.
How do I use the traffic density calculator?
The calculator exposes the underlying quantities as input cells. To reproduce the example:
- Enter 20 in the field labelled "No. of vehicles" and 2 in "that pass during..." to obtain "Traffic flow".
- Enter 2 in the second "No. of vehicles" field and the segment length in "on a road of length..." to obtain "Density"; the length, density, and headway cells share the calculator's scaled length unit.
- Read "Headway", which the calculator describes as "Distance between two cars".
- Read "Travel speed" for the average speed.
Change any input and the linked values update, which makes the tool useful for comparing a road at different counts and segment lengths.
Frequently Asked Questions
How do I find average travel speed from flow and density?
Divide flow by density. Rearranging the fundamental equation gives ; with 600 veh/h and 10 veh/km the result is 60 km/h.
What does the traffic density calculator estimate?
It estimates traffic flow and density, the average travel speed, and the average distance between two consecutive cars on the road — the four quantities linked by the source equations.
Why must the units stay consistent?
Flow, density, and speed are tied by multiplication and division, so a flow in vehicles per hour divided by a density in vehicles per kilometre gives kilometres per hour. Mixing a per-minute flow with a per-kilometre density breaks that chain.
Can the three measures all be zero at once?
At the two limits named in the source — an empty road, or a jam in which density is at its maximum and no vehicle can move — flow and speed are both zero. A density of zero applies only to the empty-road case.
References
- Omni's traffic density calculator source entry: parts, equations, cells, and FAQ.
- The fundamental traffic-flow relation flow = speed × density, with flow = n / t and density = m / L.
- Unit conventions used in the source examples: veh/h, veh/min, veh/m, veh/km, km/h, and m.