Skip to content
PrintablePaperKit

Magic Square Puzzles

Print magic squares where every row, column and diagonal adds up to the same total. Choose 3 × 3, 4 × 4 or 5 × 5, the numbers to use and how many are printed, then add an answer key on the pages after.

  • 3 × 3 to 5 × 5
  • Any first number and step
  • Answer key included
Loading magic squares…

How to make a magic square worksheet

  1. Pick a starting point. Under Start from, choose First 3 × 3 squares, Tricky 3 × 3, 4 × 4 squares, 5 × 5 squares, Even numbers or Large print.
  2. Set the numbers. Under Puzzle, choose the Size, then the First number and Step, and whether to Print the magic total.
  3. Choose the level. Pick Easy, Medium or Hard. The note under the numbers says how many each square prints.
  4. Print it. Set How many puzzles and On each page, leave Answer key on, and print or download the PDF.

How a magic square works

A magic square uses each of its numbers once, and every row, every column and both long diagonals add up to the same total, called the magic total. Some numbers are printed and the rest are left as empty squares for the solver. Because the total is shared by so many lines, each number written in gives clues to several others at once.

SizeNumbers 1 up toMagic total
3 × 3915
4 × 41634
5 × 52565

Levels by how many numbers are printed

The level decides how many numbers stay on each square. The studio says how many under the number settings, counted from the squares it has made.

SizeEasyMediumHard
3 × 3 (9 squares)532
4 × 4 (16 squares)963 to 5
5 × 5 (25 squares)15117 to 9

On Easy there is always a line with only one gap, so the whole square falls into place by adding and taking away. Medium and hard squares need some trying: write a number in pencil, follow where it leads, and rub it out if a line goes over the total.

Choosing the numbers

First number and Step turn the same puzzle into practice with bigger numbers. A first number of 2 with a step of 2 uses the even numbers 2 to 18, with a total of 30, which is the Even numbers starting point. A first number of 0 makes a 3 × 3 square of 0 to 8 with a total of 12. Turn off Print the magic total for older solvers: they then have to add up the numbers in use and share the sum between the rows first.

Tips for solving

  • Fill the centre of a 3 × 3 first. It is always the middle number of the nine, a third of the total: 5 when the square uses 1 to 9.
  • Use the corners of a 4 × 4. In every 4 × 4 magic square the four corners add up to the total, and so do the four squares in the middle.
  • Hunt for lines with one gap. Take the numbers already in the line away from the total, and the answer is the missing number.
  • Cross off numbers as you use them. A list of the numbers written beside the square stops a number going in twice.

Sheets and printing

Six 3 × 3 squares fit a page with plenty of room to write. The 5 × 5 squares starting point puts four on a page, which on A4 portrait still leaves boxes of nearly 18 mm to write in. At one or four a page the squares are larger in portrait, and at two a page in landscape. Large print sets one square to a page with bigger numbers, for solvers who need larger type or a square worked through together. The answer key follows on its own pages, drawn smaller, with the printed numbers bold and the answers lighter so you can mark at a glance.

More number puzzles

The maths puzzle maker makes number pyramids, kakuro and arithmetic cages with the same seed and answer key. A hundreds chart helps younger solvers count on in steps, and the sudoku generator gives grid logic without the sums.

Frequently asked questions

How do I find the magic total?

Add every number the square uses and divide by the number of rows. The numbers 1 to 9 add up to 45, so a 3 × 3 square of them has a total of 15. With Print the magic total on, the sheet does the sum for you and prints it with each square.

Can a magic square have two answers?

Not on this sheet. An easy square can be finished one line at a time, which leaves only one way to fill it. Medium and hard squares are checked by a solver that stops as soon as it finds a second answer, and a number is removed only while the answer stays single.

Can I use numbers other than 1 to 9?

Yes. Set First number anywhere from 0 to 100 and Step from 1 to 10. A first number of 5 with a step of 5 gives the five times table up to 45 on a 3 × 3 square; a step of 10 from 10 gives the tens up to 90.

How do the sizes differ?

A 3 × 3 square has 8 lines that share the total, a 4 × 4 has 10 and a 5 × 5 has 12: every row, every column and the two long diagonals. A bigger square also leaves more gaps at the same level, as the table of printed numbers shows.

How do I make a matching sheet for another group?

Change the number under Puzzle number (seed), or press New puzzles. The squares change but the size, numbers and level stay the same, so two groups can work on different sheets that are just as hard.

More games and puzzles

All 24 games and puzzles