logo

Magic Square Solver

  Home  | Your Feedback
Enter 3 numbers below, then click the pattern of white squares where they are to be placed (in left to right, top to bottom order) and your magic square will be revealed!

(Or click Generate Random Square ... to do just that!) Another site's take on the problem



Numbers:  

         
         
           
uh oh ... not supported


Patterns marked with * are restricted: the sum of the 3 numbers must equal (3 × the second number), so in those cases, the third number might be changed to make the solution possible.

The last pattern, marked #, is also restricted: the third number must equal twice the first minus the second, and so it too might need to be adjusted.

Those three are also "wildcard" patterns ... one of the other numbers can chosen at will and the rest filled in. As such, those will have random solutions generated, and repeatedly selecting the pattern will produce different solutions.