Esc

↑↓ to moveEnter to open

Magic square generator

Magic squares of any size from 3 to 20.

Runs in your browser. Nothing is uploaded, and there is nothing to sign up for.

How to use

  1. Fill in “Size (3 to 20)”.
  2. The result updates as you type.
  3. Copy or download the result.

More maths and science

See all 262