Works on Windows, Mac, Linux, iPhone, iPad and Android, nothing to install.
What is Magic Squares?
Magic Squares is a number puzzle where you fill a grid so that every row, every column and both diagonals add up to the same total, called the magic constant. Start with the classic 3 × 3 square using the numbers 1 to 9, then take on bigger grids as your confidence grows.
It's part puzzle and part maths lesson: easy to understand, surprisingly tricky to solve, and full of patterns waiting to be discovered.
Why use it?
Magic squares have fascinated mathematicians and puzzlers for thousands of years. According to an ancient Chinese legend, a 3 × 3 square called the Lo Shu appeared on the shell of a turtle emerging from a river. Magic squares later appeared in Indian, Persian and Arabic mathematics, and in 1514 the German artist Albrecht Dürer included a 4 × 4 magic square in his engraving Melencolia I, cleverly placing the year 1514 in its bottom row.
They're more than a curiosity. Solving them builds mental arithmetic, logical reasoning and pattern spotting, all at once. Instead of practising sums in a list, you use addition with a purpose, testing combinations and adjusting your choices. That makes it an excellent way to practise maths for children who think they don't like numbers, and a satisfying brain workout for adults.
There's also a lovely hidden rule to discover. For a square using the numbers 1 to n², the magic constant is n × (n² + 1) ÷ 2. So a 3 × 3 square always totals 15, a 4 × 4 square totals 34, and a 5 × 5 totals 65. Working out why is a great challenge in itself.
How to use it
- Choose a grid size from 3 × 3 to 6 × 6 and a difficulty. Easy starts with more numbers already in place.
- Tap an empty square, then tap a number from the tray. Each number from 1 to n² is used exactly once, and placed numbers are crossed off.
- Watch the totals beside every row, under every column and at the ends of both diagonals. A total turns green when its line is full and adds up to the magic sum, and red when it goes over.
- Drag a number you placed onto another square to move it, or onto another number to swap the two.
- Stuck? A hint fixes one correct number in place. Any square where every line adds up counts as solved, even if it differs from the one we started with.
Some helpful strategies for the 3 × 3 square: the centre number is always 5, the middle of 1 to 9. Even numbers sit in the corners, and odd numbers sit in the middle of each edge. There are eight solutions to the 3 × 3, but they're all turns and flips of the same square.
For bigger grids, look for pairs of numbers that add up to the same total, such as 1 and 16, or 2 and 15 in a 4 × 4 grid, and place them symmetrically about the centre.
Watch it built shows how mathematicians make magic squares of any size from 3 × 3 to 10 × 10, one step at a time: the Siamese method for odd sizes, the diagonal method for sizes divisible by 4, and John Conway's LUX method for the rest. Famous squares lets you explore squares from history, including the Lo Shu, the Chautisa Yantra and Dürer's 1514 square. Tap any total to light up its line.
When to use it
Play Magic Squares:
- As a maths starter or end-of-lesson challenge in the classroom.
- To practise addition and number sense at home with children.
- As a calm, screen-friendly brain teaser during a break.
- When you enjoy logic puzzles like sudoku and want a new variation.
- When exploring maths history and the patterns behind famous puzzles.
Parents and teachers can turn it into a group activity: race to solve the 3 × 3, then discuss the strategies that worked. Puzzle fans who enjoy it will likely also enjoy Sudoku and Codebreaker in the Games section.