Arithmetic Sequence Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the first term, the common difference and n to get the nth term and the sum of the first n terms.
Result
nth term aₙ = a₁ + (n − 1)d
Sum of the first n terms Sₙ
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- First term a₁: enter a number.
- Common difference d: enter a number.
- Term number n (whole number ≥ 1): enter 1 or more.
- Read the result: nth term aₙ = a₁ + (n − 1)d; the panel also shows Sum of the first n terms Sₙ.
How this calculator works
In an arithmetic sequence each term adds the common difference d to the previous one: aₙ = a₁ + (n − 1)d.
The sum of the first n terms is Sₙ = n(a₁ + aₙ) ÷ 2: the average of the first and last terms times the number of terms, the method attributed to Gauss for 1 + 2 + … + 100 = 5,050.
The formula
| Symbol | Meaning |
|---|---|
| First term a₁ | |
| Common difference d | |
| Term number n (whole number ≥ 1) | |
| nth term aₙ = a₁ + (n − 1)d |
Worked example
| First term a₁ | 5 |
|---|---|
| Common difference d | 3 |
| Term number n (whole number ≥ 1) | 10 |
| Sum of the first n terms Sₙ | 185 |
|---|
nth term aₙ = a₁ + (n − 1)d 32
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the 10th term of 5, 8, 11, …?
a₁₀ = 5 + 9 × 3 = 32, and the first ten terms add up to 10 × (5 + 32) ÷ 2 = 185.
What is the sum of the numbers from 1 to 100?
100 × (1 + 100) ÷ 2 = 5,050.
Can the common difference be negative?
Yes. The sequence then decreases, as in 20, 17, 14, …