Rainypad

Home › Guides › What makes a good maze? One route, loops and dead ends, measured

What makes a good maze? One route, loops and dead ends, measured

A maze for an adult and a maze for a five-year-old should not be built the same way. The adult wants one route and real dead ends. The child needs a way back out after a wrong turn. We measured 200 of our square mazes at each of five sizes to show what that difference looks like, and found that one of our own pages had it wrong.

A perfect maze has one route, and a simple test proves it

Maze makers call a maze with exactly one route between any two squares a perfect maze; in graph terms it is a tree. There is a quick way to prove a maze is perfect without walking it: count the passages. A maze whose squares are all connected, with exactly one fewer passage than it has squares, has no loops, and so exactly one route between any two points. One extra passage makes a loop.

Our build now runs that count on every Hard, Big and Extreme maze, and on every large print and adult maze, before it is published.

Loops make a maze easier, on purpose

For young children we open some dead ends into loops, which maze makers call braiding. A child who takes a wrong turn usually comes back round to where they were instead of ending up stuck in a corner. The share of dead ends we open drops as the grid grows, and stops at Hard.

SizeGridChance each dead end is openedMazes with a second routeDead-end squaresRoute length
Kids10 by 1035%185 of 2007%34%
Easy14 by 1420%187 of 2009%31%
Medium20 by 208%159 of 20010%33%
Hard28 by 280%0 of 20010%35%
Big34 by 340%0 of 20010%32%

"Dead-end squares" is the share of squares with only one way in. "Route length" is the share of squares the solution passes through. Both are averages over 200 mazes.

What we found on our own site

Our maze pages said that from Medium upward every maze had exactly one route. The engine braids Medium too, a little: 8% of its dead ends are opened. That is enough that 159 of our 200 Medium mazes had a second route. We corrected the pages on September 27, 2026: Kids, Easy and Medium have loops, and exactly one route starts at Hard.

Not every braided maze ends up with a second route. A loop that sits away from the solution makes the maze easier to wander without giving a second way through, which is why the counts above are not 200 of 200.

Why the route runs through a third of the maze

Our mazes are carved by a depth-first search: start anywhere, keep walking into unvisited squares at random, and back up only when stuck. That method makes long, winding corridors with few branches. In our measurements the solution passes through about a third of all squares, and only about one square in ten is a dead end. Other methods make shorter routes and many more short dead ends, which look busier on the page.

Choosing a size

A tip worth teaching: keep one hand on the wall

In any maze whose entrance and exit are both on the outside wall, following one wall with your hand, left or right, always gets you out. It works on every rectangle maze here, loops or not, because both openings are on the outer wall. It is rarely the shortest way, which is why it is a good first strategy for a child and a poor one for a race.

What this guide does not decide

Print them

Frequently asked questions

What is a perfect maze?

A maze with exactly one route between any two squares: no loops, and every square reachable. It always has exactly one fewer passage than it has squares.

Are easy mazes easier because they are smaller?

Partly. Ours are also braided: some dead ends are opened into loops so a wrong turn leads back out. 187 of our 200 Easy mazes have a second route.

Does the hand-on-the-wall trick always work?

It works whenever the entrance and exit are both on the outside wall, which is true of every rectangle maze on this site. It is rarely the shortest route.

Check these numbers yourself

More guides

About the author

Lucas Pradella builds and maintains Rainypad. He is not a teacher or an illustrator: every number in this guide was measured on the site's own sheets or comes from the source named under it, so you can check it yourself. More about how these pages are made.