Magic square
Magic square puzzle book maker
A magic square is a grid where every row, every column and both diagonals add up to the same total. The puzzle gives a few numbers and the total; the solver fills in the rest.
3 days free, then $4.99/month. You won't be charged if you cancel within 3 days. Cancel anytime from Billing.

What is a magic square puzzle?
Each puzzle is checked so the given numbers lead to one answer.
How to play
Put a number in every empty square so that each row, each column and both diagonals add up to the same total, shown under the square.
Use each number once: 1 to 9 in a 3 by 3 square, 1 to 16 in a 4 by 4 square.
Each square has one answer.
Tip: find a line with only one empty square first.
Samples at each difficulty
Real puzzles from Puzzlil's magic square generator, the same ones that go into books.

Gentle 
Balanced 
Fiendish
Who buys magic square books
Magic squares sell in kids' maths books, classroom books and brain-training books for adults.
Tips for a better magic square book
Print the target total with each puzzle so solvers know what every line adds up to. Start with small squares. A how-to page with a solved example helps. Magic squares sit well in kids' maths books and in brain-training books with number pyramids and kakuro. For children, a 3 x 3 square with a total of 15 is a classic first puzzle. Explain that the diagonals count too, since that is the rule most often missed. Print the completed squares in the answer key at a readable size.
Options for magic square books
- The target total printed with each puzzle
- Given numbers to start
- Answers in the back
- Three difficulty levels: Gentle, Balanced, Fiendish, plus an easy-to-hard ramp
- 7 KDP trim sizes, from 5 x 8 to 8.5 x 11 in
- White or cream paper
- Large Print: one puzzle per page, bigger type throughout
- Answer key at the back, numbered to match each puzzle
- How-to-play page, contents page and an optional author note
- Mix with any other puzzle type in the same book
KDP specs Puzzlil checks
Before you export, Puzzlil checks the book against KDP's published paperback specs and tells you what to change if anything fails. Always confirm with KDP's own previewer before publishing.
| Page count | 24 to 828, kept even (a blank page is added if needed) |
|---|---|
| Inside margin (gutter) | 0.375 in up to 150 pages, rising to 0.875 in from 701 pages |
| Outside, top and bottom | at least 0.25 in, no bleed |
| Fonts | embedded in the PDF |
| Cover spine | from page count and paper; spine text from 79 pages |
How to make a magic square book in 4 steps
- 01
Choose a trim size and reader
Pick a KDP trim size, paper and, if your readers need it, Large Print. 8.5 x 11 is the usual choice for magic square books.
- 02
Add a magic square section
Set how many puzzles, the difficulty and the ramp. Every page draws as it will print.
- 03
Check it against KDP
The checklist confirms trim, page count, gutter, margins, fonts and an even page count, and says how to fix anything that fails.
- 04
Export and upload
Download the interior PDF with answer keys and the cover wrap, then upload both to KDP and preview them there.
Magic square book questions
What is a magic square?
A grid where every row, column and diagonal adds to the same total. In the puzzle, some numbers are missing.
Who buys magic square books?
Parents and teachers for maths practice, and adults who like number puzzles.
Do they come with answers?
Yes, each completed square is in the answer key.
Can I sell the magic square books I make?
Yes. The puzzles and PDFs you export are yours to publish and sell on Amazon KDP or anywhere else, as many copies as you like.
Are the magic square puzzles AI-generated?
No. They are built by puzzle algorithms and checked by a solver. KDP asks about AI content when you publish, so read their current rules and answer for your own book.
Does Puzzlil make the cover for a magic square book?
Yes. Cover Studio sizes a full wrap from your page count and paper, with the spine and the barcode area worked out. Export it as a PDF with the interior.
Related puzzle types
Last updated
Make your magic square book today.
3 days free, then $4.99/month. You won't be charged if you cancel within 3 days. Cancel anytime from Billing.
Start your 3-day trial

