Magic Square Checker

Enter a square matrix to check if it's a magic square.

Enter the size of the magic square (e.g., 3 for 3x3).

Result: