Three steps
One room, one question: how does it handle a surge? Start from the default room or draw your own.
Lay out the room to scale
Set the room size, then add an entrance and, if you like, a separate exit. Drag in stalls, urinals, sinks, dryers and a changing station; they snap to walls and to each other. Live checks catch overlaps and blocked doors.
Send a crowd through
Pick 10, 50, 100 or 250 people and how many minutes they arrive over. Set how many men need a stall, how many visitors bring a child, and how many skip washing. The same seed always gives the same run.
See where it breaks
Playback runs at 10×, so a minute takes six seconds, in plan view or 3D. Then read the scorecard: time to clear, longest waits, longest line, who gave up, and the bottleneck in one sentence.
What a run tells you
These come straight from the default rooms, with 100 people arriving over five minutes and nobody allowed to stand closer than arm's length.
men are served within 2 minutes in the default men's room: 4 stalls, 1 accessible stall, 5 urinals and 4 sinks (average of 10 runs).
of all the waiting in that room was for a urinal. Men won't stand in a long line, so the room's real problem shows up as people leaving, not as a line.
men walk away unserved, and 43 of them never even join: they take one look at the line and go find another restroom. Their reviews average 2.1 stars.
Times are deliberately generous starting assumptions, not measurements. Every number above changes when you change the room.
Watch it, then measure it
- Stalls stay private. When someone goes in, the door closes and they disappear. You only see a red or green occupied light and the time.
- The line is visible. It starts inside the room and snakes out into the corridor, just like the real thing.
- Charts move with the playback. Line length over time draws as people move. Scrub either one and both follow.
- Find the tipping point. The surge-size sweep runs your room at 10, 25, 50, 100 and 250 people and shows where waits start to climb.
The model, in plain words
Each person is a small circle that arrives, joins a line, walks to a free fixture, uses it, washes, dries and leaves. Paths go around fixtures and walls on a half-foot grid.
- One line for toilets. Stalls and urinals share a line. The first person whose need can be met goes next, so urinal users can skip past people waiting for a stall.
- Times vary. Each visit is drawn around a typical time, so most people land between half and double it, and a few take much longer.
- Women's visits are a mix. Most women's visits are quick, and some are long: bowel movements, period care or helping a child. You set the share.
- Nobody overlaps. People keep about 1.7 feet apart, pass on the right, step aside to let others through and wait their turn at doorways.
- People give up. After a long wait some leave the line unserved, and anyone stuck at a dryer for 45 seconds leaves with wet hands.
| Fixture | Typical | Most people |
|---|---|---|
| Men's stall | 5 min | 2.5–10 min |
| Women's stall, quick visit | 3 min | 1–7 min |
| Women's stall, long visit | 5 min | 2–12 min |
| Urinal | 80 s | 40 s–2.7 min |
| Washing hands | 30 s | 15 s–1 min |
| Air-blade dryer | 24 s | 12–48 s |
| Warm-air dryer | 60 s | 30 s–2 min |
| Paper towels | 16 s | 8–32 s |
| Changing station | 6 min | 3–12 min |
A child adds 2 minutes to a stall visit. All times are starting assumptions to be checked against real observation.
Examples
Three shapes to start from, each with its own crowd, plus challenges to play.
Challenges
Halftime at Folsom, red-eye arrivals at Concourse B, a chili cook-off, and more. Build the room or build the crowd, and post your score.
Play one →Starter surge test
One room you design and a crowd of any size. The quickest way to see how a layout holds up.
Open it →Denver International Airport, Concourse B
A long, narrow walk-through restroom between gate clusters on the pier: in one end, out the other. Three planes unload nearby, 180 people in three waves.
Open it →CU Boulder, Folsom Field
A big room under the stands at a 50,183-seat stadium, with an entrance and an exit. Halftime sends 300 people at once, most in the first five minutes.
Open it →Hall of Fame
Five challenges. Build the room for a crowd you can't change, or build the crowd for a room you can't change. Every entry is re-run by the server on the same five seeds, so nobody can fake a score.
Red-eye arrivals, Concourse B
- Nobody yet. Be the first.
The office that took out its urinals
- Nobody yet. Be the first.
The Chili Cook-off
- Nobody yet. Be the first.
Break the Royal Flush
- Nobody yet. Be the first.
Scores are the Flush Score (0–1000): 45% people served within 2 minutes, 30% their star reviews, 25% everyone served, minus a heavy penalty for “incidents”. The house score is what the starting design gets.
Research behind the model
Studies and codes on restroom capacity, timing and behavior. They shaped the simulator's assumptions; the simulator's numbers are still starting points, not measurements.
- Restroom usage in selected public buildings and facilities: a comparison of females and males Sandra Rawls, Virginia Tech, 1988. Timed 454 visits at four kinds of sites. Women spent about 2½–3 minutes in the restroom, men about 1½–2. The origin of most “women take twice as long” figures.
- Potty Parity in Perspective: Gender and Family Issues in Planning and Designing Public Restrooms Kathryn Anthony and Meghan Dufresne, Journal of Planning Literature, 2007. How restroom design and codes came to shortchange women, caregivers, children and people with disabilities.
- No more queueing at the ladies' room Kurt Van Hautegem and Wouter Rogiest, Ghent University, 2017. A queueing model of six layouts: equal waits need 1.5–2 women's toilets per men's, and shared all-gender stalls cut waiting the most. Why the simulator has an All Gender room.
- The potty parity problem: Towards gender equality at restrooms in business facilities Tim Huh and colleagues, Socio-Economic Planning Sciences, 2018. Queueing models and simulations by venue type: steady office traffic and peaky theater or stadium traffic need different fixes.
- Potty Parity Ming Hu and Setareh Farajollahzadeh, Management Science. Converting some men's rooms to all-gender can beat both fully separate and fully shared designs once comfort and safety count, not just the wait.
- Personal space: An unobtrusive measures study Reid and Novak, Bulletin of the Psychonomic Society, 1975. Men almost always left an empty urinal between themselves and the next man. The simulator's urinal choice and its “privacy” review penalty.
- Personal space invasions in the lavatory Middlemist, Knowles and Matter, Journal of Personality and Social Psychology, 1976. A neighbor at the next urinal delayed and shortened urination. Famous, and famously questionable on ethics.
- Join the queue: Including women's toilet needs in public space Clara Greed, University of the West of England. A planner's view of UK provision, and how relabeling rooms without redesigning them can make the women's queue worse.
- Minimum number of required plumbing fixtures (Building Code Table 2902.1) The International Building Code table most US jurisdictions adopt, here as amended by Seattle. Fixture counts per occupant by building type: the minimum, not a guarantee of short lines.
Questions
Is this based on real data?
The movement and queueing are modeled carefully, but the typical times are generous starting assumptions, not measurements. Treat results as a way to compare layouts with each other, not as a forecast for a real building.
Can I recreate a restroom I know?
Yes. Set the room's width, depth and door position, then place the fixtures where they are. Count tiles or pace it out: stalls are about 3 feet wide and urinals about 2.
Does it work on a phone?
Yes. The plan and 3D views fill the screen, and the controls sit below. Building a room is easier on a larger screen.
Why do so many people give up in big surges?
With patience turned on, each man leaves the line after a wait that's typically about 4 minutes and each woman after about 8, and anyone who can see the line means a longer wait than that doesn't join it at all. You can change both under Behavior. Turn it off under Behavior to see how long the line would get if everyone stayed.
Can I play it through my AI assistant?
Yes. Add https://mcp.blamereid.com/mcp as a remote MCP server in Claude or any MCP client and say hello to S.T.A.L.L., the Sanitary Traffic And Line Logic system. It runs simulations, scores challenge entries, builds challenges from real places you describe, and has a Machine Mode that designs the most efficient restroom possible with no regard for human comfort. It is rude about your species' need for restrooms. Ask for “serious” mode if you just want the numbers.
Is the code available?
Yes, on GitHub. The simulation engine is separate from the interface and has its own tests.