Magic Square
Generate and validate magic squares
M = n(n² + 1) / 2 = 15 (n = 3)
Order (n)
3 × 3
Magic constant
15
Construction method
Siamese method (odd order)
Every row, column and both diagonals sum to 15.
Sobre esta calculadora
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.