If you've ever stared at a 3x3 grid and wondered why every row, column, and diagonal adds up to the same number, you've already encountered the quiet elegance of a magic square. In the world of recreational mathematics, "maths magic squares with answers" is one of the most searched phrases because learners want both the puzzle and the solution in one place. This guide walks you through what a magic square is, how to build one step by step, and where to find ready-made examples with answers so you can check your work or use them in a classroom.
What Is a Magic Square?
A magic square is an arrangement of distinct numbers in a square grid where the sums of numbers in each row, each column, and both main diagonals are equal. This constant sum is called the "magic constant." For a normal magic square that uses the numbers 1 through n² (where n is the number of cells on a side), the magic constant M can be calculated with a simple formula:
M = n(n² + 1) / 2

For the classic 3×3 magic square (n = 3), the magic constant is 15. That means every row, column, and diagonal adds up to 15.
The Classic 3×3 Magic Square (Lo Shu)
The oldest known magic square is the Lo Shu, a 3×3 grid from Chinese legend. It uses the numbers 1 through 9 exactly once. Here is the unique solution (up to rotation and reflection):
| 4 | 9 | 2 |
| 3 | 5 | 7 |
| 8 | 1 | 6 |
Every row, column, and diagonal sums to 15. This is the only 3×3 normal magic square (ignoring rotations and reflections).

How to Build a Magic Square (Odd-Order)
For any odd-order magic square (3×3, 5×5, 7×7, etc.), you can use the Siamese method (also known as the De la Loubère method). Here is how it works for a 3×3 square:
- Start with 1 in the middle cell of the top row.
- Move diagonally up and right to place the next number.
- If you go off the grid, wrap around to the opposite side.
- If the next cell is already filled, move down one cell instead.
Following these rules, you will always produce a valid magic square. For larger odd orders (5×5, 7×7), the same method applies, and the magic constant grows quickly: for n = 5, M = 65; for n = 7, M = 175.
Even-Order Magic Squares
Even-order magic squares (4×4, 6×6, etc.) are more complex. The Siamese method does not work directly. One common approach for 4×4 is the "complementary pairs" method:

- Fill the grid with numbers 1 through 16 in order.
- Swap certain pairs so that each row, column, and diagonal adds to 34.
- A known 4×4 solution uses pairs like (1,16), (2,15), etc., placed symmetrically.
Here is one valid 4×4 magic square:
| 16 | 2 | 3 | 13 |
| 5 | 11 | 10 | 8 |
| 9 | 7 | 6 | 12 |
| 4 | 14 | 15 | 1 |
Every row, column, and diagonal sums to 34.
Why Magic Squares Matter in Education
Teachers love magic squares because they sneak in arithmetic practice without the groan of a worksheet. Students add, subtract, and reason about patterns. A teacher might give a partially filled grid and ask, "What number goes here?" The answer isn't guesswork; it's forced by the magic constant. That constraint turns a puzzle into a tiny proof.
Beyond arithmetic, magic squares touch combinatorics (how many 3×3 magic squares exist?), group theory (rotations and reflections form a dihedral group), and even art (Albrecht Dürer's 4×4 square in his 1514 engraving Melencolia I). The history is as rich as the maths.
Where to Find Maths Magic Squares with Answers
If you want ready-made magic squares with answers, look for:
- Recreational maths books by Martin Gardner or Ian Stewart.
- Online puzzle sites that offer printable magic square worksheets.
- Maths competition archives (AMC, Math Kangaroo, UKMT).
- YouTube channels that walk through solutions step by step.
When you search, include "maths magic squares with answers" so you land on pages that show the full grid, not just the blank puzzle.
Quick Practice: Fill in the Blank
Here is a 3×3 magic square with one missing number. The magic constant is 15. What is the missing number?
| 4 | 9 | 2 |
| 3 | ? | 7 |
| 8 | 1 | 6 |
Answer: The middle cell must be 5, because 3 + 5 + 7 = 15. That is the only number left from 1–9.
Final Thought
Magic squares sit at the crossroads of number theory, history, and puzzle culture. Whether you are a student checking answers, a teacher building a lesson, or a curious mind exploring patterns, the grid never gets old. The next time you see a 3×3 square, you know exactly why the middle is always 5, and you can prove it in seconds.




















