Arithmetic Sequence and Series Calculator for Terms, Common Difference and Finite Sums

Get the nth term rule and any term or sum, rebuild a sequence from two known terms, find where a value sits, or paste a list to see what kind of sequence it is.

Choose what to calculate

Examples

Values can be whole numbers, decimals, fractions such as 3/4 or -2/5, or mixed numbers such as 2 1/2.

Arithmetic sequence and series formulas

In an arithmetic sequence you get from one term to the next by adding the same number every time. That number is the common difference, d. Add the terms up and you have an arithmetic series.

aₙ = a₁ + (n − 1)d
aₙ = dn + (a₁ − d)
aₙ = aₙ₋₁ + d
Sₙ = n(a₁ + aₙ) ÷ 2
Sₙ = n[2a₁ + (n − 1)d] ÷ 2

The first two lines are the same rule written two ways. The second is the simplified form most exams want: for 3, 7, 11, 15, … that’s 4n − 1, because d = 4 and 3 − 4 = −1. The third line is the recursive version, which says how to get each term from the one before but can’t jump straight to term 50. The calculator shows the simplified rule with every result.

Where the sum formula comes from

There is a well-known story that the young Carl Friedrich Gauss was asked to add the numbers 1 to 100 and found the answer almost at once. Write the sum forwards and backwards, one under the other:

1 + 2 + 3 + … + 100
100 + 99 + 98 + … + 1

Each column adds up to 101, and there are 100 columns, so twice the sum is 100 × 101. The sum is half of that, 5,050. The same trick works for any arithmetic series: pair the first and last terms, the second and second-last, and so on. Every pair has the same total, a₁ + aₙ, and there are n ÷ 2 pairs, which gives Sₙ = n(a₁ + aₙ) ÷ 2.

How to find the common difference

Subtract any term from the one after it: d = aₙ₊₁ − aₙ. Check at least two pairs to be sure the gap stays the same. In 31, 27, 23, 19, each step is −4, so d = −4. If the gaps change, the sequence isn’t arithmetic; the check mode above tells you whether it is geometric or quadratic instead.

If the terms you know aren’t next to each other, divide the change in value by the number of steps between them. From a₃ = 14 to a₈ = 39 is five steps and a rise of 25, so d = 5.

Finding a sequence from two known terms

If you know any two terms and where they sit, divide the change in value by the change in position:

d = (aₖ₂ − aₖ₁) ÷ (k₂ − k₁)
a₁ = aₖ − (k − 1)d

Say a₂ = 7 and a₅ = 19. Then d = (19 − 7) ÷ (5 − 2) = 4, and a₁ = 7 − 4 = 3. One of the two can be the first term itself, so this mode also finds d when you know a₁ and any later term.

Finding where a value sits

Rearrange the nth-term formula to find a value’s position: n = (aₙ − a₁) ÷ d + 1. A positive whole-number result means the value is a term in the sequence. Otherwise, it lies between two terms, which the calculator identifies. You can use the same calculation to count the terms in 12, 19, 26, …, 397 by treating 397 as aₙ.

Adding a range of terms

To add terms m to n, take the sum up to term n and remove everything before term m:

Sum from m to n = Sₙ − Sₘ₋₁

Sₘ₋₁ holds exactly the earlier terms you don’t want, so subtracting it leaves just your range.

Worked example and how sequences behave

Finding how many terms produce a target sum

The target-sum mode substitutes the first term and difference into the sum formula, producing an equation in n. Choose the exact option when the sum must equal the target. Choose reach-or-exceed for a savings goal; it returns the first term count that reaches the goal and shows the preceding sum.

Reconstructing missing terms

Two known values at different positions determine the common difference. The missing-term mode checks every known value against that rule and fills each question mark or blank. Conflicting values produce an error instead of a misleading pattern.

Take 3, 7, 11, 15, …, which has a first term of 3 and a common difference of 4. The 10th term is 3 + 9 × 4 = 39, and the first 10 terms add up to 10 × (3 + 39) ÷ 2 = 210.

The sign of d sets the direction. Add a positive number and the terms climb, add a negative one and they fall, and with d = 0 the same number just repeats. Plot the terms against their positions and you always get points on a straight line, which is why the nth term rule looks like the equation of a line.

You’ll spot arithmetic patterns in a taxi fare that adds the same charge for every extra mile, a staircase where each step rises by the same height, a training plan that adds five minutes each week, or a loan repaid in equal amounts with no interest, where the balance falls by the same sum every month.

Unlike some geometric series, an arithmetic series has no sum to infinity. Keep adding and the total grows or falls without limit, unless every term is zero.

Arithmetic means: filling in terms between two numbers

Inserting k arithmetic means between two numbers means building an arithmetic sequence with k terms between them. The gap is split into k + 1 equal steps. To insert three means between 5 and 25, there are four steps, so d = (25 − 5) ÷ 4 = 5, and the sequence is 5, 10, 15, 20, 25. Type it as 5, ?, ?, ?, 25 in the missing-terms mode to check.

Any term in an arithmetic sequence is the average of its two neighbours. In 10, 15, 20, the middle term is (10 + 20) ÷ 2 = 15. That is also why the mean of the whole series is simply the average of the first and last terms.

Real-world examples

Seats in a theatre. Row 1 has 20 seats and each row behind has 2 more. Row 25 has 20 + 24 × 2 = 68 seats, and the 25 rows hold 25 × (20 + 68) ÷ 2 = 1,100 seats in total.

A savings plan. You save 100 in the first month and 20 more each month after that. The total after n months is n[200 + 20(n − 1)] ÷ 2. After 18 months it is 4,860; after 19 months it is 5,320, so the first month the total passes 5,000 is month 19.

Stacking. Logs or cans stacked with one fewer in each layer form an arithmetic series. A stack with 12 at the bottom and 1 at the top holds 12 × 13 ÷ 2 = 78 items.

Arithmetic, geometric and quadratic sequences

Arithmetic sequences add the same amount each step: 2, 5, 8, 11 adds 3. Geometric sequences multiply by the same amount: 2, 6, 18, 54 multiplies by 3. Quadratic sequences have differences that change by the same amount: in 2, 5, 10, 17 the differences 3, 5, 7 go up by 2 each time. Paste any list into the check mode and the calculator tells you which type it is.

Common mistakes

The most common slip is forgetting the “− 1” in a₁ + (n − 1)d. When n = 1, the multiplier n − 1 is zero; consequently, term 10 is nine equal steps after the starting term. Another mistake is finding d in the wrong direction. Subtract each term from the term after it, so 20, 17, 14 has d = −3, not 3. When simplifying a rule, students may also use the first term as the constant and write 4n + 3 for 3, 7, 11. The constant is actually a₁ − d, giving 4n − 1. Some books number the starting term as term 0; the final question below explains how to translate between the two conventions.

Arithmetic sequence practice questions

These are in the style of GCSE and A-level sequence questions. The numbers are our own, and you can check each answer with the calculator.

What is the nth term of 5, 11, 17, 23, …?

6n − 1. The terms go up by 6, so the rule starts 6n. The first term is 5, and 6 × 1 = 6, so you need to take off 1. Check: 6 × 4 − 1 = 23.

Is 100 a term in the sequence 7, 11, 15, 19, …?

No. The nth term is 4n + 3. Setting 4n + 3 = 100 gives n = 24.25, which isn’t a whole number. 100 falls between term 24 (99) and term 25 (103).

How many terms are in 12, 19, 26, …, 397?

56. The difference is 7, so the position of 397 is (397 − 12) ÷ 7 + 1 = 55 + 1 = 56. A common mistake is to forget the + 1 and answer 55.

What is the sum of the first 30 terms of 2, 9, 16, …?

3,105. The 30th term is 2 + 29 × 7 = 205, so the sum is 30 × (2 + 205) ÷ 2 = 15 × 207 = 3,105.

The 4th term is 10 and the 9th term is 35. What are the first term and the nth term?

The value rises by 25 over 5 steps, so d = 5. Going back three steps from the 4th term gives a₁ = 10 − 15 = −5. The nth term is 5n − 10.

How many terms of 5, 9, 13, … do you need for the sum to go over 500?

16. The sum of n terms is n(2n + 3), so you need 2n² + 3n > 500. Fifteen terms give 495, which falls just short, and sixteen give 560. In the calculator, set n to 15 and then 16 and compare the sums.

Can I enter fractions?

Yes. Enter a simple fraction such as 1/3 or -5/2. This is more accurate than shortening one third to 0.333 before the calculation, although very long results may still be rounded for display.

My textbook starts at term 0. How do I use the calculator?

If the book calls its starting value a₀, enter that value as the calculator’s first term. The calculator’s a₁ then represents the book’s a₀, so calculator term aₙ corresponds to book term aₙ₋₁. For example, calculator term a₁₀ is the book’s a₉. If you instead enter the book’s a₁ = a₀ + d, the term numbers match from a₁ onward.

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

5,050. Pair 1 with 100, 2 with 99, and so on. Each of the 50 pairs adds up to 101, and 50 × 101 = 5,050. In general, 1 + 2 + … + n = n(n + 1) ÷ 2.

How do I find the common difference?

Subtract a term from the one that follows it. For 31, 27, 23, …, the difference is 27 − 31 = −4. If you only know two terms that aren’t neighbours, divide the change in value by the number of steps between them.

How do I insert arithmetic means between two numbers?

Divide the gap by one more than the number of means you want. For three means between 5 and 25, d = 20 ÷ 4 = 5, giving 5, 10, 15, 20, 25.

What is the difference between arithmetic and geometric sequences?

An arithmetic sequence adds the same number each step, such as 3, 7, 11. A geometric sequence multiplies by the same number, such as 3, 6, 12. Arithmetic terms lie on a straight line when plotted, while geometric terms curve.

← All basic math calculators