Skip to content
NexoraPlay
Magic Squares

Magic Squares

A magic square puzzle game: make every row, column and diagonal add up to the magic total.

Embed

Paste this code into your page or blog. The game plays right there, free, with no sign-up — and your visitors can find more games at Nexora Play.

Embedded games keep best scores on the player's device. Saved progress, accounts and leaderboards need the full page on Nexora Play.

Report

What kind of report?

Don't include your name, email, phone number or other personal details. We remove emails and phone numbers automatically. Privacy policy

Play more

Picked for you: switch lists to find your next game

About Magic Squares

Also called magic square puzzle, magic squares online, magic square game, 4x4 magic square puzzle, 5x5 magic square.

Magic Squares is a free magic square puzzle you play online. Fill the grid with the numbers 1 to n², each used once, so that every row, every column and both main diagonals add up to the same magic total: 15 on a 3×3, 34 on a 4×4 and 65 on a 5×5. Some numbers are given; you place the rest from a tray below the board. There are 40 levels — 3×3 squares (1–10), 4×4 squares (11–25) and 5×5 squares (26–40) — with fewer numbers given as you climb, and every puzzle is checked to have exactly one answer. The running sum of each line is shown round the edge, with a tick when a full line is right and a cross when it is wrong. Undo, ask for a hint, and earn up to three stars per square. The 4×4 squares are built from the one Albrecht Dürer engraved in 1514, and the game looks like an old copper-plate engraving on warm paper, with its own two-voice Baroque canon.

How to play

Tap a number in the tray, then tap an empty square to place it. With a keyboard, move the cursor with the arrow keys and type the number: one-digit numbers go in at once, and for 10 and up type both digits (press Enter if the game waits). Tap a number you placed, or press Backspace, to lift it back to the tray. H gives a hint, U or Z undoes, R restarts and P or Esc pauses.

Controls
ActionKeyboardTouch
Pick a number1234567890Tap a number in the tray
Place itEnterTap an empty square
Move the cursor←→↑↓Tap a square
Lift a placed numberBackspaceDeleteTap the number
UndoUZUNDO button
HintHHINT button
RestartRRESTART button
PausePEsc—

Tips for Magic Squares

  • On a 3×3 the centre is always 5, and two numbers facing each other through the centre always add up to 10.
  • In this game's 4×4 and 5×5 squares, two cells mirrored through the centre always add up to 17 (4×4) or 26 (5×5).
  • Look for a line with only one empty square: the missing number is the magic total minus the line's running sum.
  • If a line's running sum is already close to the total, its empty squares must hold small numbers — rule out the big ones.
  • Use the tray as a checklist: a number that fits only one empty square anywhere on the board must go there.
  • For three stars, finish in at most two moves more than there are empty squares, so think before you lift and replace numbers.

Questions about Magic Squares

What is a magic square puzzle?

A grid filled with the numbers 1 to n², each used once, where every row, every column and both main diagonals add up to the same total. In this game some numbers are given and you place the rest; every puzzle has exactly one answer.

What is the magic number of a 3×3, 4×4 and 5×5 magic square?

It is n × (n² + 1) ÷ 2: 15 for a 3×3 using 1–9, 34 for a 4×4 using 1–16 and 65 for a 5×5 using 1–25. The game shows the total above the board.

How do you solve a 3×3 magic square?

Put 5 in the centre, then pair the numbers that add up to 10 (1 and 9, 2 and 8, 3 and 7, 4 and 6) on opposite sides of it. The even numbers go in the corners and the odd ones in the middle of the edges.

Can I play magic squares online with a keyboard?

Yes. Move the cursor with the arrow keys and type the number; two-digit numbers on the 4×4 and 5×5 boards take both digits, then Enter if needed. Backspace lifts a number, H gives a hint and U or Z undoes.

Is every magic square in the game solvable?

Yes. Each of the 40 levels is checked by a solver to have exactly one answer, so you can always reason your way to it. If you get stuck, a hint shows where one correct number goes, or which placed number is wrong.

Is Magic Squares free?

Yes. Magic Squares is free to play on Nexora Play, with no download and no sign-up needed.

Can I play Magic Squares on my phone?

Yes. It runs in the browser on computers, tablets and phones, with touch controls on phones and tablets. You can also add Nexora Play to your home screen like an app.

Do I need an account?

No. You can play as a guest and your best scores are kept in this browser. A free account (13+) keeps your progress across devices.

More puzzle games