Skip to content
FiftyCalc Free calculators for all 50 states

Traffic Density Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the flow rate and the space-mean speed of a traffic stream to get its density, the average gap between vehicles and the time headway.

Result

Sample figures

Density (vehicles per mile per lane)—

Average spacing, front to front (ft) —

  • Average time headway (seconds)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Traffic Density Calculator

Flow rate (vehicles per hour per lane): enter 0 or more. Prefilled example: 1,500.

Space-mean speed, in mph: enter 0.1 or more. Prefilled example: 60.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Flow rate (vehicles per hour per lane): enter 0 or more.
  2. Space-mean speed, in mph: enter 0.1 or more.
  3. Read the result: Density (vehicles per mile per lane); the panel also shows Average spacing, front to front (ft) and Average time headway (seconds).

How this calculator works

The fundamental equation of traffic flow is q = k × u, so density k = q ÷ u, with q the flow (vehicles per hour), u the space-mean speed and k the density (vehicles per unit length). Source: FHWA, Revised Monograph on Traffic Flow Theory, chapter 2, Traffic Stream Characteristics (F. L. Hall), equations 2.15 and 2.20 (fhwa.dot.gov/publications/research/operations/tft/chap2.pdf, read 2026-10-27).

Spacing is the inverse of density (5,280 ft per mile ÷ k) and mean headway the inverse of flow (3,600 s ÷ q). The monograph notes the equation holds best in uncongested flow; in stop-and-go traffic, density from speed and flow is only an estimate.

The formula

  1. K=qu
Symbols used in the formula
SymbolMeaningUnit
qFlow rate (vehicles per hour per lane)
uSpace-mean speedmph
KDensity (vehicles per mile per lane)

Worked example

Flow rate (vehicles per hour per lane)1,500
Space-mean speed60 mph
Average spacing, front to front (ft)211.2
Average time headway (seconds)2.4
  1. K=1,50060=25

Density (vehicles per mile per lane) 25

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the density of 1,500 veh/h/lane at 60 mph?

25 vehicles per mile per lane: one vehicle every 211.2 ft, 2.4 seconds apart.

Why use space-mean speed?

The relation q = k × u holds with the harmonic (space-mean) speed of the vehicles, not the average of spot speeds at a point.

Questions answered

Related calculators