allowfullscreen

Four-way stop

At a four-way stop every driver has a stop sign, so nobody has the right of way just by being on the bigger road. Drivers take turns, and the order is set by a few rules: who stopped first, who is on whose right, and who is turning left across whom. In this simulation, vehicles pull up to an all-way stop from four directions. You decide which one goes next, and the simulation checks your choice against the rules and explains it.

How to use the simulation

The right-of-way rules

US driver handbooks teach the same rules, which come from the Uniform Vehicle Code that most state traffic laws follow:

  1. First to stop, first to go. The vehicle that came to a stop first goes first. It does not matter how fast it arrived or which road it is on.
  2. Stopped at the same time: yield to the vehicle on your right. This is the general rule for vehicles reaching an intersection together from different roads (Uniform Vehicle Code § 11-401). If three vehicles stop together, the one with nobody on its right goes first, then the rule is applied again to the rest.
  3. Facing each other: both may go, but a left turn yields to traffic going straight or turning right. Two vehicles opposite each other have nobody between them on the right, so both may go. A driver turning left must yield to oncoming traffic (§ 11-402), so if one turns left and the other does not, the left turn waits. Two opposite left turns can go together, passing in front of each other.
  4. Never enter while a vehicle in the intersection is crossing your path. Having the right of way does not let you drive into another vehicle. Even when it is your turn, you wait until the path is clear.

When all four vehicles stop at exactly the same moment, every driver has someone on the right and the rules give no answer. In practice, drivers make eye contact and one waves another on. The simulation never sets up that case on purpose; if it happens, any vehicle may go first.

The model and its formulas

The intersection is two two-lane roads, each 7.2 m wide, with vehicles driving on the right. Each vehicle follows a fixed path for its center: a straight line, a right turn on an arc of radius 5.4 m, or a left turn on an arc of radius 9 m. The left-turn arcs are wide enough that two opposite left turns pass 2.4 m apart, in front of each other.

The same decision is used to check your choices and, in Watch mode, to drive. Watch mode waits 0.9 s after a vehicle becomes free to go, about a driver's reaction time.

Results from the simulation

Each row is 300 rounds driven in Watch mode. The rules columns show which rule decided each departure (first to stop includes a vehicle that was alone at the line). The wait runs from stopping at the line to starting off, including Watch mode's 0.9 s pause.

RoundVehicles per roundFirst to stopYield to the rightFacing each otherAverage waitLongest waitRound lasts
Arrivals4.1100%0%0%3.2 s15.5 s25.6 s
Ties3.254%40%6%3.8 s14.1 s22.3 s
Turns3.157%22%21%4.0 s10.9 s23.6 s
Mixed5.084%12%4%3.3 s15.1 s29.8 s

Even when vehicles arrive together, most departures end up decided by who stopped first: once the first of a tied group has gone, the others are simply the earliest left waiting. The longest waits, around 15 seconds, belong to the last vehicle in a group of four, which waits for three others to cross one by one. That is why an all-way stop handles much less traffic than a signal: only one vehicle, or two facing each other, can move at a time, and each needs about 4 seconds to get going and clear the intersection. The Highway Capacity Manual has a separate method for all-way stop-controlled intersections, built on this departure headway (the time between vehicles leaving the line), which grows the more approaches have vehicles waiting.

Things to try

History

The first stop sign went up in Detroit in 1915. In 1923 the Mississippi Valley Association of State Highway Departments proposed sign shapes by danger, giving the octagon to stop signs; early stop signs were yellow with black letters, and the red sign with white letters became the standard in the 1954 edition of the Manual on Uniform Traffic Control Devices (MUTCD). The MUTCD also sets when an all-way stop may be used, for example at intersections where traffic on the two roads is about equal, as a temporary measure before a signal is installed, or after repeated crashes that all-way stops can prevent. A plaque under each sign says ALL WAY so drivers know that cross traffic must stop too.

The right-of-way rules come from the Uniform Vehicle Code, a model traffic law published by the National Committee on Uniform Traffic Laws and Ordinances since the 1920s. Section 11-401 says that when two vehicles enter an intersection from different roads at about the same time, the driver on the left yields to the driver on the right; section 11-402 says a driver turning left yields to oncoming vehicles. All-way stops are common in the United States and Canada and are also used in South Africa, but they are rare in Europe, where minor roads usually give way to a priority road and unmarked intersections give way to the right.

What the simulation simplifies

Every vehicle is a car of the same size and drives the same way; there are no trucks, bicycles or pedestrians, and no crosswalks to clear. Drivers stop exactly at the line and never roll through. Vehicles that stop within 0.05 s of each other count as a tie; real drivers judge "at the same time" more loosely and settle close calls with a wave. Paths are fixed lines, so every left turn takes the same arc. The four-way tie, which the rules cannot settle, is avoided rather than played out. The rules are those taught in US driver handbooks; local laws can differ in detail.