Skip to content
Your progress

Checking your sign-in…

Who's learning?

Each profile keeps its own read lessons, badges, streak, and practice scores on this device.

Lesson 9 of 16

7 min

Text size

A 3 by 3 grid holds the numbers 1 to 9. A diagonal goes from one corner to the opposite corner. Every row, column and diagonal adds to the same sum. What sum, and what goes in the middle?

Loading lab…

The numbers 1 to 9 add to 45.
Step 1 of 5
  1. The numbers 1 to 9 add to 45.
  2. Three equal rows share 45. Each adds to 15.
  3. Four lines pass through the centre: 4 × 15 = 60.
  4. They count every number once, and the centre 3 more times.
  5. So 60 = 45 + 3 × centre. The centre is 5.

The rule

The sum is 15, and the middle number is 5.

The equal sum is called the magic sum.

A magic square has equal sums in every row, column and diagonal. Use nine numbers that follow each other, like 1 to 9. The centre cell holds the middle one. The magic sum is 3 times it.

Call the centre number m. The other cells are m plus or minus a small number.

A magic square built from m
RowLeftMiddleRight
Topm − 1m + 4m − 3
Middlem − 2mm + 2
Bottomm + 3m − 4m + 1

Every row, column and diagonal adds to 3m. For 1 to 9, m = 5. The magic sum is 3 × 5 = 15. For m = 20, the nine numbers are 16 to 24. The magic sum is 3 × 20 = 60.

Try the lab to finish this lesson.