On this page
Picture one lane of a long, straight road. Drive faster and each car passes a point sooner, so you might expect more cars per hour. But faster cars also need longer gaps, because braking distance grows with the square of speed. Somewhere between a crawl and a sprint there is a speed that pushes the most cars past a point each hour. In the simple model below, that speed is only about 30 km/h.
This is a deliberately simplified model, not a description of how anyone should drive. It tells you nothing about what gap to keep on a real road.
What is traffic flow, and how do you write it down?
Flow is the number of cars passing a fixed point per unit time. If every car moves at speed v and the distance from the front of one car to the front of the next is L, then one car passes every L/v seconds. So the flow is
f = v / L
L is the car's own length ℓ plus the gap in front of it. The whole question is how that gap depends on v.
What gap does the braking model assume?
The model takes the most cautious rule possible, sometimes called the "brick-wall" gap. Each driver keeps enough room to stop completely even if the car ahead stopped instantly, as if it had hit a wall. With friction coefficient μ, a car braking at full grip decelerates at μg, so from speed v it needs a braking distance v²/2μg. (If you want to revise where that comes from, see stopping distance and reaction time.)
Putting the gap in:
f = v / (ℓ + v²/2μg)
At low speed f grows almost in proportion to v. At high speed the v² term takes over and f falls like 2μg/v. In between there is a maximum.
At what speed is the flow largest?
Differentiate and set df/dv = 0. The quotient rule gives a numerator
(ℓ + v²/2μg) − v × (v/μg) = ℓ − v²/2μg
This is zero when
v* = √(2μgℓ)
Look at what that condition says: v²/2μg = ℓ. At the peak-flow speed, the braking gap equals exactly one car length. Slower than that and the road is wasted on slow cars; faster than that and it is wasted on empty gaps.
Put v* back in and the largest flow is f_max = v*/2ℓ, or √(μg/2ℓ). Check the units: μg/ℓ has units of (m/s²)/m = 1/s², so its square root is per second, as a flow should be.
Worked example: a dry road and a 5 m car
Take a car of length ℓ = 5 m on a dry road with μ = 0.7, and g = 9.81 m/s². These are round illustrative values.
Peak speed. v* = √(2 × 0.7 × 9.81 × 5) = √68.7 = 8.29 m/s. Multiply by 3.6: 29.8 km/h.
Gap at that speed. v*²/2μg = 68.7/13.73 = 5.0 m, one car length, as promised.
Flow. The cars are 10 m apart, front to front, so one passes every 10/8.29 = 1.21 s. That is 3600/1.21 = 2,983 cars an hour.
Faster speeds in the same model. At 50 km/h (13.9 m/s) the gap is 14.0 m and the flow is 2,625 cars an hour. At 80 km/h it is 1,953. At 100 km/h the gap is 56 m, more than eleven car lengths, and the flow drops to 1,634.
So in this model a crawl at 30 km/h moves nearly twice as many cars as 100 km/h. On a wet road with μ = 0.4, v* falls to 22.6 km/h. For a 12 m truck with μ = 0.8, it rises to 49.4 km/h, because a longer vehicle makes a longer gap worth having.
Does reaction time change the peak-flow speed?
A real driver needs a reaction time t_r before braking starts, which adds a distance v·t_r to the gap. The flow becomes
f = v / (ℓ + v·t_r + v²/2μg)
The quickest way to see what happens is to flip it over. The time per car is
1/f = ℓ/v + t_r + v/2μg
The reaction time adds the same constant t_r to the time per car at every speed. A constant does not move the minimum of ℓ/v + v/2μg, so the peak-flow speed stays at √(2μgℓ). Only the height of the peak drops. With t_r = 1 s in the example, each car now takes 1.21 + 1 = 2.21 s, so the peak is 1,631 cars an hour, still at 29.8 km/h. At 100 km/h the flow is 1,124.
Why do real highways carry more cars at higher speeds?
Because real drivers do not keep brick-wall gaps. The car ahead cannot stop instantly; it brakes too, so the following car only has to cover the difference between the two stopping distances plus its reaction distance. Traffic engineers describe following in terms of a time gap between cars rather than a distance that grows like v².
Try that in the model. Suppose every driver keeps a 2 s time gap, so the gap is 2v. Then f = v/(ℓ + 2v). This rises with speed all the way: 1,525 cars an hour at 50 km/h, 1,651 at 100 km/h, and it creeps towards an upper limit of 3600/2 = 1,800 as the car length becomes small next to the gap. There is no peak at 30 km/h any more.
Measured capacities are higher still. The US Federal Highway Administration's highway performance monitoring manual, following the Highway Capacity Manual, takes the base capacity of a freeway lane as 1,700 + 10 × (free-flow speed in mph) passenger cars per hour, capped at 2,400. For a 55 mph (89 km/h) road that is 2,250 per lane. At 2,400 an hour, one car passes every 1.5 s.
So the 30 km/h answer is a property of the brick-wall assumption, not of real roads. It is still useful: it shows a v² stopping distance fighting a flow that grows as v, and exactly which assumption changes the answer. For how flow and density behave once a jam forms, see phantom traffic jams and the backward wave, which uses a different, assumed speed–density line. Junctions have their own limits, covered in how traffic lights are timed.
How does this turn up in JEE-style questions?
The skills tested are a stopping-distance formula and a maximum found by calculus or AM-GM, both standard in Class 11. If you are practising JEE-pattern maxima problems like this one, Fermi Test Prep offers personalised preparation for JEE Main & Advanced with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery.
Problem idea: OPhO 2023, problem 3 ("Highway"). The numbers and the reaction-time and time-gap extensions here are our own.
Quick checklist
Flow is speed divided by the front-to-front spacing: f = v/(ℓ + gap).
With a brick-wall braking gap v²/2μg, the flow peaks at v* = √(2μgℓ), where the gap equals one car length.
For ℓ = 5 m and μ = 0.7, that is 29.8 km/h and about 2,983 cars an hour.
A reaction time lowers the flow at every speed but leaves the peak-flow speed unchanged.
With a time gap instead of a braking gap, flow keeps rising with speed, closer to what real highways show.
This is a model of flow, not driving advice.



