The Mathematics Hiding Behind a Five-by-Five Game Grid

By  //  September 22, 2026

Twenty-five squares is a shape that turns up everywhere. Bingo cards use it. Puzzle apps use it. Word games, match-three boards, crossword variants and most modern reel games use it, because five columns by five rows is close to the largest grid a person can take in at a glance without scanning. 

What is happening underneath that shape is a counting problem, and the numbers get large much faster than anyone expects.

Counting is the whole discipline

The branch of mathematics involved is combinatorics, which is concerned with how many arrangements a set of objects can take. It sounds like an accounting exercise and it is one of the more surprising areas of maths, because the answers so rarely match intuition.

The rule at the bottom of it is simple enough to explain in a sentence: if one step can be done in a certain number of ways, and a second step in another number of ways, the two together can be done in the product of those numbers. Repeat that across several steps and the totals climb fast. The consequence is that grids do not grow gently. They grow multiplicatively, and every extra column multiplies the entire previous total rather than adding to it.

Take the plainest version of the shape. Five columns, one symbol counted from each, and a handful of possible symbols per column.

The same multiplication explains why grid formats scale the way they do. A five-column layout showing five symbols in each column has 3,125 ways of combining one symbol from each column, which is why catalogues of free slots to play online advertise thousands of ways to land a result rather than a handful of fixed lines. Nobody added thousands of anything. They took five to the fifth power.

A bingo card, counted properly

The classic 75-ball card is the clearest example, and Florida has more experience of those than most places. Each of the five columns draws from its own range of fifteen numbers, and the centre square is free.

Work the first column through, using the counting rules that university teaching materials count the arrangements with. Five numbers must be chosen from fifteen, and the order matters because a number at the top of the column is a different card from the same number at the bottom. That gives fifteen options for the first square, fourteen for the second, and so on down to eleven, which multiplies out to 360,360 possible columns.

Four of the columns work exactly that way. The middle column has only four squares to fill because of the free space, which gives 32,760 possibilities. Multiply all five together and the total number of distinct cards runs to twenty-seven digits, a little over five hundred septillion. That is from a piece of card you could fit in a coat pocket.

Why the numbers stop meaning anything

Past a certain size these figures become useless as intuition, which is a real problem rather than a curiosity. Humans are reasonably good at comparing one in ten to one in a hundred. We are terrible at comparing one in ten thousand to one in ten million, even though the second is a thousand times rarer.

That gap is why the interesting design work in grid games is never about the raw count. It is about which arrangements the game chooses to notice, because a grid with a vast number of states is only interesting if the rules pick out a small number of them as meaningful.

Match-three games do this by looking for runs of three. Bingo does it with lines and patterns. Reel formats do it by defining which adjacent columns count. In every case the rule is a filter that turns an incomprehensible number of states into a handful of recognisable ones.

The part that has to be tested, not assumed

There is a second mathematical problem sitting behind the first. Counting the arrangements tells you what can happen. It says nothing about whether a particular piece of software actually produces them fairly.

That is a question about random number generation, and it has a formal answer. The National Institute of Standards and Technology publishes a statistical test suite for random and pseudorandom number generators, a battery of tests that checks randomness in a sequence by looking for the kinds of hidden pattern that a genuinely unpredictable source would not contain.

The suite exists because eyeballing a sequence is worthless. 

People see patterns in random data and see randomness in patterned data, reliably and in both directions, which is why formal testing rather than observation is the only useful standard.

Why five by five and not six by six

Grid size is a design decision with a legibility ceiling attached. Add a sixth column and the total number of arrangements multiplies again, but the player’s ability to read the board at a glance drops off, and the symbols either shrink or the board no longer fits a phone screen held in one hand.

Five columns also happens to sit near a comfortable limit for how many things people can track simultaneously. Below that, the board feels thin. Above it, the eye starts scanning rather than seeing, and scanning is slower and less satisfying.

This is why the shape has been stable across decades and completely different technologies. It is the largest grid that still reads as a single object.

The maths lesson nobody signed up for

There is a good argument that casual games are where most adults meet combinatorics after school. Anyone who has worked out why filling a line got harder as the card filled up, or why two identical-looking boards can behave so differently, has done real probabilistic reasoning without calling it that.

Surveys of how a millennials game night differs from their parents’ generally find the formats have changed more than the instincts, and the instincts in question are the counting ones. The rules are different. The arithmetic underneath them is exactly the same as it was on a paper card in a church hall.

Twenty-five squares, one very large number

The next time a grid appears on a screen, the honest way to look at it is as a counting problem with a filter attached. Twenty-five positions, a set of possible contents for each, a multiplication that produces a number nobody can picture, and a rule that quietly reduces all of it to the handful of arrangements the game has decided to call interesting.

That reduction is the entire craft. The grid supplies more possibilities than anyone could use, and the design decides which of them count. Bingo made that choice one way in the nineteenth century and digital formats make it differently now, but both are doing the same thing: taking an absurdly large space of outcomes and carving out the small part of it that a person can actually enjoy.