Magic Squares

A magic square generator with JavaScript

August 24, 2015

What is a Magic Square?

A magic square is a grid of distinct numbers where each row, column, and diagonal add up to the same constant value. The form below uses JavaScript to create any sized magic square (note: too large a number can be very slow to load).

Magic Square Generator

Size: