Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage
Age 7 to 16
Article by NRICH team

Published 2000 Revised 2019

An Introduction to Magic Squares


Magic Squares are square grids with a special arrangement of numbers in them. These numbers are special because every row, column and diagonal adds up to the same number. So for the example below, 15 is the magic number. Could you work this out just from knowing that the square uses the numbers from 1 to 9?


Also, the two numbers that are opposite each other across the centre number will add up to the same number. So in the square above, 8 + 2 = 10 , 6 + 4 = 10, 1 + 9 = 10 and 3 + 7 = 10. Why is this?

The "order" of a magic square tells how many rows or columns it has. So a square with 3 rows and columns is Order 3, and a square with 4 rows and columns is Order 4 and so on. If you'd like to find out more about how to make up your own magic squares, and the mathematics behind it all, you can go to some other pages on the website such as Magic Squares and Magic Squares II .

But why are they called magic?


So the numbers in the Magic Square are special, but why are they called magic? It seems that from ancient times they were connected with the supernatural and magical world. The earliest record of magic squares is from China in about 2200 BC. and is called "Lo-Shu". There's a legend that says that the Emperor Yu saw this magic square on the back of a divine tortoise in the Yellow River.

The black knots show even numbers and the white knots show odd numbers. Look closely and you'll see that this ancient magic square is the same as our example above. Magic squares were first mentioned in the Western world in the work of Theon of Smyrna. They were also used by Arab astrologers in the 9th century to help work out horoscopes. The work of the Greek mathematician Moschopoulos in 1300 A.D. help to spread knowledge about magic squares. So here we are now, more than 700 years later, and teachers are using them in class for problem solving and practising addition.

You can make similar magic squares, of order 3, using different numbers. Can you see any patterns in the numbers that work?

Reference:
The Joy of Mathematics by T. Pappas

Related Collections

  • More Stage 5 Students Articles

You may also like

Geoboards

This practical challenge invites you to investigate the different squares you can make on a square geoboard or pegboard.

Polydron

This activity investigates how you might make squares and pentominoes from Polydron.

Multilink Cubes

If you had 36 cubes, what different cuboids could you make?

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo