Magic Square

Generate and validate magic squares

About this calculator

The Magic Square Calculator generates a magic square of any order from 1 to 12, where every row, column and both diagonals share the same magic constant M = n(n² + 1) / 2. It uses the Siamese method for odd orders, the doubly-even method for orders divisible by four, and Conway's LUX method for singly-even orders, and confirms the result is genuinely magic.