Saltar al contenido
En esta página

Chess and mathematics: a deeper relationship than you think

Have you ever stopped to think that every chess game is, at its core, a giant mathematical problem? You don’t need to know algebra to play. But behind the board lies a world of patterns, geometry, and numbers that has fascinated mathematicians for centuries.

The central idea is simple: chess is a system of finite rules hiding an almost infinite complexity. And from that tension come some of the most beautiful puzzles that exist.

A board is pure geometry

Let’s start with the obvious: the board. A grid of 64 squares, 8 by 8, in two alternating colors. That’s already a beautiful geometric object.

Each piece moves according to a different geometric pattern. The rook travels in straight lines. The bishop, diagonals. The queen combines both. The knight traces that distinctive “L” shape that breaks with everything else. Understanding those patterns is the foundation of everything, which is why it’s worth being clear on the value and movement of each piece before thinking about complicated strategies.

Distance on the board also tricks your intuition. For the king, getting from one corner to the opposite one costs the same in a straight line as in a zigzag, because it moves one square in any direction. That “king geometry” is key in endgames and confuses many beginners.

The knight’s tour

Here comes one of the most famous mathematical problems associated with chess: the knight’s tour.

The challenge is this: can a knight travel across all 64 squares of the board, landing on each one exactly once? The answer is yes, solutions exist, and many of them. When the knight also ends a knight’s move away from its starting square, it’s called a “closed” tour.

The beautiful part is that this puzzle has fascinated mathematicians for centuries. It’s a classic example of what we now call graph theory: the squares are points and the knight’s legal jumps are the connections between them. Solving it is, literally, finding a path that passes through every point.

You don’t need to solve it to play. But it’s a lovely reminder that the knight, that odd piece, is also mathematicians’ favorite.

The legend of the wheat grains

This is, perhaps, the most famous story linking chess and mathematics. And it teaches one of the most important ideas of all: exponential growth.

Legend has it that the inventor of chess presented the game to a king, who was so amazed that he offered any reward the inventor wanted. The inventor asked for something seemingly modest: one grain of wheat on the first square, two on the second, four on the third, double the previous square each time until all 64 were filled.

The king accepted, thinking it was a trivial amount. Big mistake.

By doubling at every step, the quantity skyrockets brutally. The final figure exceeds eighteen quintillion grains: more wheat than has ever been produced in all of human history. The entire kingdom couldn’t pay it.

The mathematical lesson? Exponential growth always surprises. What starts small and keeps multiplying eventually becomes unimaginable. It’s the same idea behind compound interest, population growth, or the spread of information. And it all fits on a chessboard.

The number of possible games

If the wheat legend impressed you, brace yourself for this.

How many different chess games can be played? The best-known estimate was given by mathematician Claude Shannon, and it’s around 10 to the power of 120. That is, a one followed by about 120 zeros.

To give you an idea of how enormous that is: it’s estimated that the entire observable universe contains around 10 to the power of 80 atoms. The number of possible games is vastly greater than the number of atoms in the universe.

This explains something fundamental: no matter how powerful computers get, chess hasn’t been fully “solved.” Not all games can be calculated. That’s why it remains a living game, with infinite room for creativity. Every time you move a piece, you’re probably creating a position that no one in history has ever seen.

That immensity is also why tactics and calculation matter so much: no one can memorize it all, so you have to know how to think on the fly.

Symmetry, patterns, and recognition

Mathematics also lives in something more subtle: patterns.

The board starts with perfect symmetry. The two starting positions are mirror images of each other. As the game progresses, that symmetry breaks, and reading those changes is part of the art of playing.

Good players don’t calculate everything from scratch: they recognize patterns they’ve seen before. Pawn structures, mating nets, typical setups. That’s essentially the same thing a mathematician does when they identify that a new problem “resembles” one already solved. A trained mind sees structure where a novice sees chaos.

Does chess make you better at math?

Here we should be honest. There’s no magic proof that playing chess turns anyone into a math genius overnight.

What they do share is the same way of thinking: logical reasoning, pattern recognition, concentration, and planning several steps ahead. Working on one of those skills usually helps with the other.

That’s why chess is so often recommended as an educational activity, especially for young children. If that angle interests you, we’ve gathered the benefits of chess for children, where the development of logical thinking takes center stage.

An honest note is warranted: the relationship works both ways and not automatically. Being good at math doesn’t guarantee being good at chess, nor the other way around. There are great players who aren’t mathematicians and brilliant mathematicians who play poorly. What they share is a similar mental toolbox; who makes use of it, and how, depends on each person.

The beauty of bringing both worlds together

You don’t need to be a mathematician to enjoy chess. Nor a player to appreciate its mathematical beauty. But when you combine both perspectives, the game becomes even more fascinating.

Every game is geometry in motion, overflowing combinatorics, and patterns that repeat across the centuries. The best part is that to start exploring all of that, you only need to know the basics: learn how to play chess and the rest will follow on its own.

Chess proves something beautiful: with 64 squares and a handful of rules, you can build a universe that not even the most powerful computer can fully grasp.

Preguntas frecuentes

Is chess mathematics?

Not exactly, but they share a lot. Chess is a system of finite, well-defined rules on a geometric board, which makes it a fascinating object of mathematical study. Concepts like combinatorics, geometry, or game theory show up naturally. Even so, playing well also requires intuition and experience, not just calculation.

How many different chess games are possible?

It's an astronomical number. The most commonly cited figure, known as the Shannon number, estimates around 10 to the power of 120 possible games: a one followed by about 120 zeros. That's far greater than the estimated number of atoms in the observable universe. That's why chess hasn't been fully 'solved.'

Does chess help improve at mathematics?

It relates to skills useful for mathematics, such as logical reasoning, pattern recognition, concentration, and planning. There's no magic formula, but they share a similar way of thinking, which is why it's often recommended as a complementary activity, especially for children.