Magic square 4x4
Fill each cell so every row, column and diagonal adds to 34.
Eight squares are filled in.
Worked answer
- The numbers 1 to 16 add up to 136, and they fill 4 rows, so every row, column and diagonal adds up to 136 ÷ 4 = 34.
- Row 2: 7 + 4 + 9 + ? = 34, so ? = 14 (row 2, column 4).
- Row 4: 16 + ? + 2 + 5 = 34, so ? = 11 (row 4, column 2).
- Column 1: ? + 7 + 1 + 16 = 34, so ? = 10 (row 1, column 1).
- Column 4: 3 + 14 + ? + 5 = 34, so ? = 12 (row 3, column 4).
- Diagonal from top left: 10 + 4 + ? + 5 = 34, so ? = 15 (row 3, column 3).
- Diagonal from top right: 3 + 9 + ? + 16 = 34, so ? = 6 (row 3, column 2).
- Column 2: ? + 4 + 6 + 11 = 34, so ? = 13 (row 1, column 2).
- Column 3: ? + 9 + 15 + 2 = 34, so ? = 8 (row 1, column 3).
How to play
Place each number once so that every row, column and both diagonals add up to the same total. The sums around the grid change as you type, and a tick appears when a line is right.
- A line with one empty square tells you its number.
- Numbers that add up to the same pair total often share a line.
- Use Hint for one forced number, then carry on.

Print with answers
The board on page one, the answers on page two.
Magic square 4x4
A magic square 4x4 uses the numbers 1 to 16, with each row, column and diagonal adding to 34. Fill the open cells and check each line sum as you go.
Why the magic constant is 34
The numbers from 1 to 16 add up to 136. A four by four square has four rows, so the total is shared equally among them. Each row must add to 34. The same sum is required for every column and both main diagonals.
Patterns inside a four by four square
In many four by four magic squares, the four corners, the center four cells and many other groups of four also add to 34. These patterns can help you check a square, though the exact pattern depends on how its numbers are arranged.
Pairs that add to 17 sit opposite each other in some familiar four by four squares. Look for these pairs as a clue, then check the rows, columns and diagonals to confirm your answer.
A simple way to build one
Write the numbers in order across the square. Then swap the numbers on both diagonals with their opposite numbers. This gives one way to build a four by four magic square. You can check the result by adding each row, column and main diagonal.
There are many hundreds of different four by four magic squares, far more than for three by three. A famous count is eight hundred and eighty.
Questions
Is there only one answer to a puzzle?
Yes. The given cells decide the answer for that puzzle. Other four by four magic squares may exist, but they do not fit the same starting clues. Use the line sums to check your entries as you fill the open cells.
How many four by four magic squares exist?
There are many hundreds of different four by four magic squares. A famous count is eight hundred and eighty. Different arrangements can meet the same row, column and diagonal sum rule.
Can I print it?
Yes. You can print the puzzle and work on paper. Check that your printed copy includes the starting numbers and enough room to write in the open cells.
More puzzles
Math crossword
Fill the grid so every row and column adds up.All levelsMath riddles
Short riddles with a checked answer.All levelsMatchstick puzzles
Move a match to fix the sum.All levelsMissing number
Find the rule, fill the gap.All levelsNumber pyramid
Each brick is the sum of the two below.All levelsPicture puzzles
Work out what each picture is worth.All levelsMake the target
Today’s puzzle: combine the tiles to hit the number.Daily
More ways to play
- Puzzles for kidsTry simple, checked puzzles that let kids practice counting, patterns, shapes, and number moves.
- Puzzles for adultsTry a varied set of puzzles that asks you to plan, calculate, and check each step.
- Target number solverEnter four to six numbers and a target to find routes using plus, minus, times, and divided by.
- Magic square solverEnter the numbers you know and see whether the solver can complete the square.
- Math mazeFollow the operations from start to target and find the one path that works.
- Magic trianglePlace the numbers so each side of the triangle has the same total.
- ArithmagonFind the hidden corner numbers from the sums shown on each edge.
- Tricky math questionsTest your quick answer, then check the steps that reveal where it went wrong.
- Math logic puzzlesUse the clues to crack a secret code and check your answer on the page.
- Printable crosswordsChoose your level and size, then print a fresh set of math crosswords to solve on paper.
- Daily puzzle archivePlay a make-the-target puzzle for any of the last thirty days at your level.