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
- Watch the vehicles arrive. Each one comes to a full stop at the white line, and a tag behind it shows the time it stopped, counted from the start of the round. Equal times mean they stopped together.
- Turn signals blink and an arrow on the roof shows where each vehicle is going: straight, left or right. Point at a waiting vehicle to see its path through the intersection.
- Click the vehicle that should go next. A correct choice drives off and the panel says which rule decided it; a wrong choice is outlined in red and the panel says who should have gone instead, and why. Clicking a vehicle that is still rolling up to the line doesn't count against you.
- Choose the kind of round at the top of the panel. Arrivals: vehicles stop one after another. Ties: two or three stop at the same moment. Turns: two vehicles facing each other stop together, one turning left. Mixed: up to six vehicles, with queues and ties.
- Press Watch it play to let the simulation drive the intersection and explain each choice; press it again to take over. New round starts a fresh set of vehicles. A new round also starts by itself a few seconds after the last vehicle leaves.
- The rule that decided the last choice is highlighted in the list. The colored chips next to the score show the order the vehicles went.
- With a keyboard, Tab to the hidden buttons: the four kinds of round, New round, Watch, and one button for each vehicle at the intersection. The focused control or vehicle is outlined on the canvas.
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:
- 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.
- 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.
- 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.
- 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.
- Approach: vehicles come in at v = 9 m/s (32 km/h) and brake at b = 3 m/s², so they start braking v² / 2b = 13.5 m before the line and take v / b = 3 s to stop. A vehicle behind another stops 7 m behind it, then moves up to the line when it is clear. A vehicle is waiting when it is stopped at the line; its stop time is when it got there.
- Departure: from rest, a vehicle accelerates at a = 2.5 m/s² up to 9 m/s going straight, 6 m/s turning left or 4.5 m/s turning right (about 4 m/s² of sideways acceleration on the arcs). To cover the 17 m from the line to the far side it needs t = √(2d / a) ≈ 3.7 s.
- Conflicts: two movements conflict if their paths come within 2.2 m of each other inside the intersection. A vehicle is in the intersection while its center is within 10 m of the middle.
- Decision: among the waiting vehicles, keep those that stopped first (within 0.05 s). Remove any that has another of them on its right (unless that removes all of them). Remove a left turn whose oncoming vehicle is still in the group and not turning left. Of the rest, any vehicle whose path does not cross a vehicle now in the intersection may go.
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.
| Round | Vehicles per round | First to stop | Yield to the right | Facing each other | Average wait | Longest wait | Round lasts |
|---|---|---|---|---|---|---|---|
| Arrivals | 4.1 | 100% | 0% | 0% | 3.2 s | 15.5 s | 25.6 s |
| Ties | 3.2 | 54% | 40% | 6% | 3.8 s | 14.1 s | 22.3 s |
| Turns | 3.1 | 57% | 22% | 21% | 4.0 s | 10.9 s | 23.6 s |
| Mixed | 5.0 | 84% | 12% | 4% | 3.3 s | 15.1 s | 29.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
- Play a few Arrivals rounds and watch the stop tags: the order is just the order of the times.
- In Ties, find the vehicle with nobody on its right. Remember that "your right" is the driver's right: for a vehicle coming from the top of the screen, its right is the left side of the screen.
- In Turns, two vehicles facing each other stop together. Let the one going straight go first, then see what the left-turning vehicle has to wait for.
- Try clicking a vehicle whose path crosses a vehicle that is still in the intersection. Even when it is next in line, it must wait.
- Find a round where two opposite vehicles go together, for example both going straight. Click the second one while the first is still crossing.
- Turn on Watch it play and read the explanations for a Mixed round, where vehicles queue behind each other and the second vehicle in a queue only counts as stopped once it reaches the line.
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.