Article

Sum of an Arithmetic Series: Formula for the First n Terms and Examples

The sum of the first n terms of an arithmetic sequence is Sₙ = n · (a₁ + aₙ) ÷ 2, which is the number of terms times the mean of the first and the last term. In an arithmetic sequence each term comes from the previous one by adding a constant difference d. This article gives the formula, the second form with the difference, the nth term, the sum of the numbers from 1 to 100 and four worked examples. You can check your own data in the arithmetic series calculator. For the numbers from 1 to 100 the sum is 5,050.

Last updated:

Find the sum of an arithmetic series in the arithmetic series calculator. Find the sum of a geometric series in the geometric series calculator.

The formula for the sum of an arithmetic series

An arithmetic sequence has a constant difference d, so the terms are a₁, a₁ + d, a₁ + 2d and so on. You find the sum of n terms when you know the first and the last term, or the first term and the difference.

aₙ = a₁ + (n − 1) · d
Sₙ = n · (a₁ + aₙ) ÷ 2
Sₙ = n ÷ 2 · (2a₁ + (n − 1) · d)
example: 1, 2, …, 100: S = 100 · (1 + 100) ÷ 2 = 5,050

a₁aₙndSum Sₙ
110010015,050
2114326
2054−550
119102100
2048152510
199145

The sum Sₙ equals the number of terms times the mean of the first and the last term. That same mean is also the mean of all the terms of an arithmetic sequence.

The numbers from 1 to 10 written twice in pairs that add up to 11Two rows of ten boxes. The top row holds the numbers from 1 to 10 and the bottom row the numbers from 10 to 1. Under every pair stands the sum 11.110112911381147115611651174118311921110111updownsum10 pairs of 11, so S = 10 · 11 ÷ 2 = 55
Written in both directions, the numbers from 1 to 10 form 10 pairs, and each pair adds up to 11. The whole table gives 110, so the sum of one row is 110 ÷ 2 = 55. The same idea gives 5,050 for 1 to 100.

Try it with an example

Example: a sequence from 1 to 100, which is 100 terms. The first term, the last term and the number of terms are already stored in the link to the calculator.

First term a₁
1
Last term aₙ
100
Number of terms n
100
Result
Sₙ = 5,050, mean of the first and the last term 50.5

Open the calculator with these numbers

The calculator reads the values from the page address and shows the result right away. You can change them freely.

How the calculator works

The calculator has two input modes: the first and the last term, or the first term and a constant difference, together with the number of terms. In both cases it finds the last term, the difference and the sum with n · (a₁ + aₙ) ÷ 2, and it checks the result with the second formula n ÷ 2 · (2a₁ + (n − 1) · d). It also shows a preview of the first terms and bars for the first eight. The number of terms must be a whole number of at least 1, and with one term the first and the last must be equal. The calculator returns the finite sum, not a single term.

The sum of the numbers from 1 to 100 and from 1 to n

To add the numbers from 1 to 100, pair the first with the last, the second with the second to last and so on. Each pair gives 101 and there are 50 pairs, so the sum is 50 · 101 = 5,050. This is the same result as from the formula 100 · (1 + 100) ÷ 2. For the numbers from 1 to 9 we have 9 · (1 + 9) ÷ 2 = 45.

In general the sum of the numbers from 1 to n is n · (n + 1) ÷ 2. For n = 100 it is 5,050, and for n = 10 it is 55. The sum of the consecutive odd numbers 1, 3, …, 19 is 10 · (1 + 19) ÷ 2 = 100, which is exactly 10². For n consecutive odd numbers the sum is always n².

The sum with a difference instead of the last term

When you know the first term a₁ and the difference d, you find the last term from aₙ = a₁ + (n − 1) · d, or you use the second formula right away. For a₁ = 2, d = 3 and n = 4 the terms are 2, 5, 8, 11, the last term is 11, and the sum is 4 ÷ 2 · (2 · 2 + 3 · 3) = 26.

The difference can be negative when the sequence decreases. For a sequence from 20 down to 5 with four terms the difference is (5 − 20) ÷ 3 = −5, the terms are 20, 15, 10, 5, and the sum is 50. The difference and the next terms can also be found in the arithmetic series calculator.

Where arithmetic series are used

An arithmetic sequence describes quantities that grow by a constant amount, for example the number of seats in successive rows of a hall. If the first row has 20 seats and each next row has 2 more, the fifteenth row has 48 seats, and the whole hall seats 510 people.

The ordinary mean of the terms can be found in the mean calculator, and the article Arithmetic Mean describes it. A sequence with a constant ratio instead of a difference is a geometric sequence, and its sum is described in Sum of a Geometric Series. A term fixed by a percentage can be found in the percentage change calculator, and a product of consecutive whole numbers in the factorial calculator.

Four worked examples

You can repeat each example in the arithmetic series calculator.

1. The sum of the numbers from 1 to 100

The first and the last term.

  1. Enter a₁ = 1, aₙ = 100 and n = 100.
  2. Find the mean of the first and the last: (1 + 100) ÷ 2 = 50.5.
  3. Multiply by the number of terms: 100 · 50.5.
  4. The sum is 5,050.

2. The sum of four terms with a₁ = 2 and d = 3

The first term and the difference.

  1. List the terms: 2, 5, 8, 11.
  2. Find the last term: 2 + 3 · 3 = 11.
  3. Compute 4 · (2 + 11) ÷ 2.
  4. The sum is 26, because 2 + 5 + 8 + 11 gives the same result.

3. The sum of a decreasing sequence from 20 to 5 with four terms

A negative difference.

  1. Find the difference: (5 − 20) ÷ 3 = −5.
  2. List the terms: 20, 15, 10, 5.
  3. Compute 4 · (20 + 5) ÷ 2.
  4. The sum is 50.

4. The sum of the first ten odd numbers

The result is a square.

  1. Enter a₁ = 1, aₙ = 19 and n = 10.
  2. Find the mean of the first and the last: (1 + 19) ÷ 2 = 10.
  3. Multiply by the number of terms: 10 · 10.
  4. The sum is 100, which is 10².

Common mistakes when summing an arithmetic series

  • Skipping the division by 2 — the formula n · (a₁ + aₙ) without dividing by 2 doubles the result.
  • Mixing up the number of terms with the last term — for the numbers from 1 to 100 both are 100, but from 5 to 100 the number of terms is n = 96.
  • Counting the terms between two numbers wrongly — the number of terms from a to b with a step of 1 is b − a + 1.
  • Using n instead of n − 1 in the nth term — the last term is a₁ + (n − 1) · d, not a₁ + n · d.
  • Confusing the difference with the ratio — the difference d is added and the ratio r is multiplied, so the sum formulas differ.
  • Getting the sign wrong for a decreasing sequence — for a decreasing sequence the difference d is negative.
  • Entering a non-integer number of terms — the number of terms must be a whole number of at least 1.

Frequently asked questions

What is the formula for the sum of an arithmetic series?

Sₙ = n · (a₁ + aₙ) ÷ 2, which is the number of terms times the mean of the first and the last term. For the numbers from 1 to 100 the result is 5,050.

What is the sum of the numbers from 1 to 100?

The sum is 5,050, because 100 · (1 + 100) ÷ 2 = 5,050. These are fifty pairs that add up to 101.

What is the formula for the sum of the numbers from 1 to n?

The sum of the numbers from 1 to n is n · (n + 1) ÷ 2. For n = 10 it is 55, and for n = 100 it is 5,050.

How do you find the sum of an arithmetic series with a difference?

Use Sₙ = n ÷ 2 · (2a₁ + (n − 1) · d). For a₁ = 2, d = 3 and n = 4 the sum is 26.

How do you find the nth term of an arithmetic sequence?

Use aₙ = a₁ + (n − 1) · d. For a₁ = 2, d = 3 and n = 4 the fourth term is 11.

What is the sum of the series 1, 2, 3, 4, 5, 6, 7, 8, 9?

The sum is 45, because 9 · (1 + 9) ÷ 2 = 45.

What is the difference between an arithmetic and a geometric sequence?

In an arithmetic sequence consecutive terms differ by a constant number, and in a geometric sequence they are multiplied by a constant ratio. Each has its own sum formula.

What does the arithmetic series calculator need?

The calculator needs the first term, the number of terms, and either the last term or a constant difference. The number of terms must be a whole number of at least 1.

Find the sum of your own arithmetic series

Enter the first term, the last term or the difference, and the number of terms in the arithmetic series calculator and read the sum, the difference and the last term.

Find the sum of a sequence with a constant ratio in the geometric series calculator, and the mean of the terms in the mean calculator.