The sum of the first n odd numbers is always n squared

18 October 2026

Add the first few odd numbers and watch the totals:

The totals are 1, 4, 9, 16 and 25, which are the perfect squares 1², 2², 3², 4² and 5². The sum of the first n odd numbers is n². This is true for every n, and you can see why with a picture.

The picture: squares built from L-shapes

Start with one dot. To make a 2 by 2 square of dots, add an L-shaped border of 3 dots. To grow it to 3 by 3, add an L of 5 dots. Then an L of 7 dots makes 4 by 4, and an L of 9 dots makes 5 by 5. Every new L has two more dots than the one before it, so the L-shapes contain exactly the odd numbers 1, 3, 5, 7, 9. Stacking them up builds a square, so adding the odd numbers gives a square number.

The proof with algebra

Suppose the first n odd numbers add up to n². The next odd number is 2n + 1 (for n = 4, the next odd number after 1, 3, 5, 7 is 9, and 2 × 4 + 1 = 9). Adding it:

So if the rule holds for n odd numbers, it holds for n + 1. It holds for n = 1 (the sum is 1 = 1²), so it holds for 2, then 3, then every number after that.

The Class 10 proof

The odd numbers 1, 3, 5, ... form an arithmetic progression with first term a = 1 and common difference d = 2. The sum formula from the AP chapter is S = n/2 × [2a + (n - 1)d]. Substitute:

The same answer from a completely different route, which is always a good sign.

Using it

Try it yourself

Answers: the first sum has 15 terms, so it is 225. The second pair gives 625 and then 2500 - 625 = 1875. Since 144 = 12², the sum of the first 12 odd numbers is 144. Arithmetic progressions are covered in Class 10, and you can start with the Class 10 chapters. When you want practice, build a fresh test with the Practice Generator.

Read next