Sum of the First n Odd Numbers Formula Solver with Worked Examples

The sum of the first odd numbers is a perfect square: . Use the calculator to find the sum, or how many odd numbers give a certain total.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Give every value except the one you want, or write the letter with a question mark, for example n=7 or S=100. Every answer is checked by putting it back into the formula.

  • : sum of the first n odd numbers
  • : how many odd numbers are added

Before you start

This page is easier if you are comfortable with:

  • odd numbers: 1, 3, 5, 7, ...
  • squaring a number
  • square roots

What Sum of the first n odd numbers means

1 + 3 = 4, 1 + 3 + 5 = 9, 1 + 3 + 5 + 7 = 16. The totals are the square numbers. Each new odd number adds a border of dots to a growing square.

It also follows from the arithmetic series formula with and : .

So the sum of the first odd numbers is , and to find from a total you take the square root. The total is always a square number, the triangular partner is triangular numbers, and the rule comes from an arithmetic series. A closely connected idea is Recurrence relation.

This page is part of Sequences in Algebra. Topics that work alongside it: Arithmetic series, Square number, Triangular numbers, Fibonacci-type sequences, Gradient of ax + by = c and Linear nth term in the form dn + k.

What is it used for?

The sum of the first n odd numbers is always n². This gives a fast way to add odd numbers and links number patterns to square numbers.

How to use the sum of the first n odd numbers formula

  1. Count how many odd numbers there are, .
  2. Square .
  3. To find from the sum, take the square root.
  4. Check the result by adding a few terms.

Graph

Running total of odd numbers (1, 4, 9, 16, …)0123456701020304050Running total of odd numbers (1, 4, 9, 16, …)nsumGraph with x from 0 to 7 and y from 0 to 52. Shows n² (6); the curve y = x^2.

The running totals 1, 4, 9, 16, 25, 36 sit exactly on the curve y = n².

Worked examples

Each example below was worked out by the solver on this page and checked by substituting the answer back into the formula.

Example 1: find the sum

Find the sum of the first 7 odd numbers.

Sum of the first n odd numbers Answer checked
Answer
S=49S=49
  1. The formula
    Sum of the first n odd numbers. In this formula is the sum of the first n odd numbers, is the how many odd numbers are added.
  2. What we know and what we want
    We know and we want to find , the sum of the first n odd numbers.
  3. Substitute the numbers
  4. Calculate
  5. Check by substituting back
    Put all the values back into the original formula: both sides should match.

Example 2: find how many

How many odd numbers, starting from 1, add up to 100?

Sum of the first n odd numbers Answer checked
Answer
n=10n=10
  1. The formula
    Sum of the first n odd numbers. In this formula is the sum of the first n odd numbers, is the how many odd numbers are added.
  2. What we know and what we want
    We know and we want to find , the how many odd numbers are added.
  3. Rearrange for
    Take the square root of both sides.
  4. Substitute the numbers
  5. Calculate
  6. Check by substituting back
    Put all the values back into the original formula: both sides should match.

Example 3: a larger sum

Find the sum of the first 15 odd numbers.

Sum of the first n odd numbers Answer checked
Answer
S=225S=225
  1. The formula
    Sum of the first n odd numbers. In this formula is the sum of the first n odd numbers, is the how many odd numbers are added.
  2. What we know and what we want
    We know and we want to find , the sum of the first n odd numbers.
  3. Substitute the numbers
  4. Calculate
  5. Check by substituting back
    Put all the values back into the original formula: both sides should match.

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

Small cases

1 + 3 + 5 + 7 = 16 = 4²

The pattern is S = n².

The sum

n = 7: S = 49

Square n.

How many

S = 100: n = 10

Take the square root.

A larger sum

n = 15: S = 225

Square n.

Sums of odd numbers
nNumbersSum
111
21 + 34
31 + 3 + 59
41 + 3 + 5 + 716

Word problems

The sum of the first n odd numbers is n². It is a special case of the arithmetic series formula.

The sum

Find the sum of the first 7 odd numbers.

  1. Square nS = 7² = 49
  2. Check: 1 + 3 + 5 + 7 + 9 + 11 + 13 = 49 ✓S = 49.

How many

The first n odd numbers add to 100. Find n.

  1. Square rootn = √100 = 10
  2. Check: 10² = 100 ✓n = 10.

A larger sum Higher

Find the sum of the first 15 odd numbers.

  1. Square nS = 15² = 225
  2. Check: the 15th odd number is 29 and 15 × (1 + 29) ÷ 2 = 225 ✓S = 225.

Up to 39 Higher

Find 1 + 3 + 5 + ... + 39.

  1. Count the termsn = (39 + 1) ÷ 2 = 20
  2. SquareS = 20² = 400
  3. Check: 20 × (1 + 39) ÷ 2 = 400 ✓The sum is 400.

Common mistakes

Doubling n

S = 2 × 7 = 14 ✗

S = 7² = 49 ✓

Square n.

Using the triangular formula

S = 7 × 8 ÷ 2 = 28 ✗

S = 49 ✓

That adds 1, 2, 3, ..., not odd numbers.

Using the last number as n

1 to 39: S = 39² = 1521 ✗

n = 20, so S = 400 ✓

n counts the terms.

Halving instead of the square root

n = 100 ÷ 2 = 50 ✗

n = √100 = 10 ✓

Undo squaring with a square root.

Exam tips

  1. S = n².
  2. Count the terms before squaring.
  3. n = (last + 1) ÷ 2.
  4. Square root to find n.
  5. Check with a few terms.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Use the formula to find the sum of the first n odd numbers (S) when how many odd numbers are added (n) = 6. Foundation

S = 36

2. Find the how many odd numbers are added (n) when sum of the first n odd numbers (S) = 4. Higher

n = 2

3. Use the formula to find the sum of the first n odd numbers (S) when how many odd numbers are added (n) = 12. Foundation

S = 144

4. Find the how many odd numbers are added (n) when sum of the first n odd numbers (S) = 4. Higher

n = 2

5. Use the formula to find the sum of the first n odd numbers (S) when how many odd numbers are added (n) = 10. Foundation

S = 100

6. Find the how many odd numbers are added (n) when sum of the first n odd numbers (S) = 4. Higher

n = 2

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Odd number
A whole number not divisible by 2.
Square number
A number multiplied by itself.
Sum
The total of the terms.
Term
One of the numbers added.
Series
A sum of terms.
Square root
Undoes squaring.

Frequently asked questions

What is the sum of the first n odd numbers?

S = n².

Why is it a square?

Each new odd number adds an L-shaped layer to a square.

What is the sum of the first 10 odd numbers?

100.

How do I find n from the sum?

Take the square root of S.

How does it relate to arithmetic series?

It is the case a = 1, d = 2. See arithmetic series.

What are square numbers?

See square numbers.

More in Algebra and the formula sheets.