Magic Square

Arrange the numbers so every row, column and diagonal shares one total.

Magic Square

Place the missing numbers so every row, column and diagonal adds to the same total.

Size
Advertisement

How to play

A magic square is a grid filled with different numbers so that every row, every column and both long diagonals add up to the same total — the "magic constant". Some numbers are given; your job is to place the rest, using each number once. Tap an empty cell, then tap a number from the tray to drop it in. The running totals for every line update as you go, turning green when a completed line hits the target.

A 3×3 square uses the numbers 1–9 and every line totals 15. A 4×4 square uses 1–16 and every line totals 34.

Solving tips

A little history

Magic squares are one of the oldest recreational puzzles there is. The 3×3 "Lo Shu" square appears in Chinese legend over two thousand years old, and Albrecht Dürer famously hid a 4×4 magic square in his 1514 engraving Melencolia I — with the year "1514" sitting in the bottom row. They've fascinated mathematicians and artists ever since, precisely because so much structure hides inside such a simple grid.

Frequently asked questions

Is the Magic Square puzzle free?

Yes, completely free with no sign-up. It runs in your browser and your best time is saved on your device.

What is the "magic constant"?

It's the total that every row, column and diagonal must add up to. For a 3×3 square using 1–9 it's 15; for a 4×4 using 1–16 it's 34.

Does each number only appear once?

Yes. A 3×3 square uses each of 1–9 exactly once, and a 4×4 uses each of 1–16 exactly once.

Is there only one solution?

Any arrangement that makes every row, column and diagonal equal the magic constant counts as solved. The given numbers guide you toward a valid one.