Benjamin Franklin's magic square explained

Last updated · By Perfect Magic Squares

Benjamin Franklin's 8x8 magic square is famous for what it does beyond the basics. Every row and column adds to the same total, 260, and so do zigzag "bent" diagonals, but its two long corner-to-corner diagonals do not. That makes it an odd case: not a magic square by the strict definition, yet it has patterns that many true magic squares lack. The grid below lets you switch each pattern on and see which ones hold and which do not.

Oil portrait of Benjamin Franklin in later life, shown from the chest up in a grey coat and white cravat against a dark background
Benjamin Franklin, painted by Joseph-Siffred Duplessis. Public domain, via Wikimedia Commons.

Where the square comes from

MathWorld says Franklin constructed this 8x8 semimagic square in 1750, with magic constant 260. Semimagic means a square whose rows and columns share one sum, with no requirement on the long diagonals. In Franklin's square they miss. In his Autobiography, Franklin says the Assembly debates he had to sit through as clerk, in which he could take no part, were "so unentertaining that I was induc'd to amuse myself with making magic squares or circles". The passage is about his magic squares in general, not this grid specifically.

The grid and its total

Like the squares in the 3x3 and 4x4 guides, it is a normal square: each whole number from 1 to 64 appears exactly once. The magic constant formula gives the sum that each row of an 8x8 square must reach, 8(64 + 1) / 2 = 260 Franklin's rows and columns all land on that number. The grid is transcribed from MathPages, and every row and column total was recomputed for this page.

Highlight a pattern

Franklin's 8x8 square with no pattern selected.
526141320293645
143625146353019
536051221283744
116595443382722
555871023263942
98575641402524
506321518313447
161644948333217

No pattern selected. Highlighted cells are shown in bold with a heavy outline and a tinted background.

Each pattern tested against the grid. The last two lines are the ones that fail.
PatternExample, added upChecked acrossResultHighlight
Row 152 + 61 + 4 + 13 + 20 + 29 + 36 + 45 = 260all 8 rowsAdds to 260
Column 152 + 14 + 53 + 11 + 55 + 9 + 50 + 16 = 260all 8 columnsAdds to 260
Left half of row 152 + 61 + 4 + 13 = 130all 16 half-rowsAdds to 130
Top half of column 152 + 14 + 53 + 11 = 130all 16 half-columnsAdds to 130
Bent diagonal from the top left52 + 3 + 5 + 54 + 10 + 57 + 63 + 16 = 260all 8 starting positions in this orientation (5 inside the grid, 3 wrapping); the other orientations also workAdds to 260
Bent diagonal that wraps round the edge29 + 30 + 44 + 11 + 55 + 24 + 34 + 33 = 260all 8 positions, wrapping includedAdds to 260
2x2 block, top left52 + 61 + 14 + 3 = 130all 49 blocks inside the gridAdds to 130
2x2 block that wraps round the edge17 + 16 + 45 + 52 = 130all 64 blocks, wrapping includedAdds to 130
Four corners plus the four middle cells52 + 45 + 16 + 17 + 54 + 43 + 10 + 23 = 260one setAdds to 260
Main diagonal, top left to bottom right52 + 3 + 5 + 54 + 23 + 40 + 34 + 17 = 228one lineDoes not add to 260
Other main diagonal, top right to bottom left45 + 30 + 28 + 43 + 10 + 57 + 63 + 16 = 292one lineDoes not add to 260

What the patterns tell you

The patterns that do not hold

The two long diagonals fail. The main diagonal adds to 228 and the other to 292, so neither reaches 260. MathPages makes the same point about Franklin's squares: "neither of Franklin's squares satisfies the main diagonal sums". Under the usual definition, which asks for the diagonals to match, the square therefore falls short. Dürer's square, by contrast, is fully magic, with both diagonals correct.

Report an error