Generate Perfect Magic Squares
Create magic squares where all rows, columns, and diagonals sum to the same value. Enter the size of your desired square and discover the mathematical beauty of these numerical patterns.
Minimum size is 3. Larger squares may take longer to generate.
Explore different magic squares and their unique properties
The most famous magic square with magic constant 15
Size: 3×3
Method: odd
Famous magic square from Albrecht Dürer's engraving
Size: 4×4
Method: doublyEven
Larger odd magic square with magic constant 65
Size: 5×5
Method: odd
Singly even magic square with complex structure
Size: 6×6
Method: singlyEven