Magic Square
Play Magic Square free online — fill the grid so every row, column and diagonal adds up to the same sum. Live sum rails show each line as you fill, numbers come from a tray of what is left, and all 12 puzzles have exactly one solution. No download, no sign-up.
Play Magic Square
How to play
The basics
Tap a blank cell to select it, then tap a number from the tray — or move with the arrow keys and type the number directly. Typing commits at once unless the digits could still grow (a 1 when 13 and 14 are also out): then press Enter to confirm. The sums at the edges update as you fill; a completed line that balances turns green, and a full grid that does not balance tells you so. Backspace removes the number in the selected cell. Hint fills one blank from the proved solution and counts your hints; Restart clears the blanks. The level arrows walk all 12 puzzles and the chip jumps Easy / Medium / Hard. Add ?level=7 to pin a puzzle or ?diff=hard to start on hard. All 12 puzzles are fixed — nothing is random and nothing is sent to a server.
Objective:
Place the remaining numbers so every row, every column and both diagonals add up to the magic constant — 15 for the 3x3 grids, 34 for the 4x4 grids, shown in the HUD. Each number from 1 to 9 (or 1 to 16) is used exactly once: the tray only holds what is left, so a repeat is impossible and every placement is legal. The easy 3x3 puzzles hide 3 blanks, the medium 4x4 hide 6 and the hard 4x4 hide 8. All 12 puzzles were proved before shipping: a backtracking solver verified that the givens admit exactly ONE completion, and the stored solution is a true magic square. The live sums beside each row, under each column and on the two corner badges turn green the moment a line balances, so the deduction work is watching the grid converge. Your best time per level stays in this browser only.
Controls:
Move with the arrow keys, type numbers, confirm an ambiguous prefix with Enter and clear with Backspace. R restarts, N jumps to the next puzzle, H takes a hint and Esc closes the rules. On touch, tap a blank cell then a tray chip. Buttons: previous puzzle, next puzzle, the difficulty chip (Easy / Medium / Hard), Restart, Hint and Rules. Every button is at least 44 px tall and the grid uses touch-action none, so a tap never scrolls or zooms the page; the board rescales to a 390x844 phone and a 894x670 desktop frame.
Play Magic Square free online — fill the grid so every row, column and diagonal adds up to the same sum. Live sum rails show each line as you fill, numbers come from a tray of what is left, and all 12 puzzles have exactly one solution. No download, no sign-up.
Loading game...
🎮 Just launched — be one of the first players!
Can't play? Report a problem
Source and license
Magic Square is a Playnesta-original fill-and-balance number puzzle (MIT). A magic square — the numbers 1 to N^2 arranged so every row, column and diagonal shares the sum N(N^2+1)/2 — is a general mathematical puzzle form, centuries old and not a single work's invention. This build's rules (tray-fed placement, live row/column/diagonal sum rails, Enter-confirm typing, hint-from-the-solution), the 12 frozen puzzles, the seeded generator and uniqueness prover, the DOM shell, the stylesheet, the analytics bridge and the touch shim are all written for this build. No upstream repository, commit, artwork, audio, font or network asset is redistributed, and playable_source_commit points at the Playnesta commit that added these bytes. The name Magic Square is used here as the generic term for the puzzle form, in line with the site's naming rule for community-owned puzzle names (docs/decisions/009); this build is not affiliated with, endorsed by or derived from any commercial magic-square game, app or site, and the registered domain magic-square.com belongs to an unrelated party. Playnesta Games is the developer and publisher of this web implementation. https://www.playnesta.com/playables/magic-square/index.html · MIT
Game facts
- Developer
- Playnesta Games
- Publisher
- Playnesta Games
- Genre
- Puzzle, Math
Playnesta guides
No Playnesta guides for this game yet. Browse this game's guides.
More games to play
More free browser games on Playnesta — pick your next round.
Watch live
Streamer channels (Twitch + YouTube), followers snapshot 2026-11-15.
No streamer channels curated yet.
Last verified 2026-11-24 15:00 UTC. Information can change; follow the linked source for the latest details.