Traffic Flow & LOS Calculator Back
JP | EN | ZH
Traffic Engineering

Traffic Flow Theory & LOS Calculator

Real-time fundamental traffic flow diagram using Greenshields, Greenberg, and Underwood models. Compute LOS A-F, shockwave speed, and Webster's optimal signal cycle length.

Traffic Flow Model
Speed-Density Model
Basic Parameters
Free-Flow Speed uf100 km/h
Jam Density kj150 veh/km
Current Density k40 veh/km
Peak Hour Factor PHF0.90
Shockwave Analysis
Upstream Density k₁30 veh/km
Downstream Density k₂100 veh/km
Signalized Intersection
Total Lost Time L8 s
Sum of Flow Ratios Y0.60
Capacity q_max [veh/h]
Optimal Speed u_opt [km/h]
Level of Service
Shockwave Speed [km/h]
Optimal Cycle C₀ [s]
v/c Ratio
Flow-Density Fundamental Diagram
Speed-Density Relationship

Traffic Flow Equations

Greenshields (Linear):

$$u = u_f\!\left(1-\frac{k}{k_j}\right),\quad q = u_f k\!\left(1-\frac{k}{k_j}\right)$$

Capacity: $q_{max}=u_f k_j/4$, Optimal density: $k_{opt}=k_j/2$

Shockwave speed: $w = (q_2-q_1)/(k_2-k_1)$

Webster optimal cycle: $C_0 = (1.5L+5)/(1-Y)$

Engineering Use: Initial calibration parameters for microsimulation tools (VISSIM, AIMSUN). Supports HCM-based capacity analysis for highways, arterials, and signalized intersections.