Sequence Calculator

nth term—
Sum of first n terms—
Common difference—

How Sequence Calculator is calculated: nth term = a + (n − 1)d; sum Sₙ = n/2 × (2a + (n − 1)d)

What is a sequence calculator?

A sequence is a list of numbers in a set order, where each number follows a rule. The simplest kind is an arithmetic sequence: you start with a first term and add the same amount every time. 2, 5, 8, 11, 14 is an arithmetic sequence — the first term is 2 and the step, called the common difference, is 3. This calculator finds any term in that list and adds the terms up for you.

This sequence calculator works with arithmetic sequences by default. You give it the first term, the common difference, and which term you want, and it returns the nth term and the sum of the first n terms. If you need a sequence where each term is multiplied instead of added, that is a geometric sequence, and there is a separate tool for it — but the arithmetic case is the one students meet first, and it covers most school and exam questions.

Sequences are everywhere once you start looking: the floors of a building, the seats in a row of a theatre, the payments on a loan that shrinks by the same amount each month. Any list that grows by a fixed step is an arithmetic sequence, and this calculator answers the two questions people always ask about one: what is the nth term, and what do all the terms add up to?

How a sequence calculator works

The nth-term formula is short: aₙ = a + (n − 1)d, where a is the first term, d is the common difference, and n is the term number. The (n − 1) is there because the first term needs zero steps to reach itself — the second term takes one step, the third takes two, and the nth term takes n − 1 steps. Forgetting that minus one is the classic error, and it is the reason this calculator exists.

Take the default example: first term 2, common difference 3, term number 10. The 10th term is 2 + (10 − 1) × 3 = 2 + 27 = 29. You can check it by listing the terms: 2, 5, 8, 11, 14, 17, 20, 23, 26, 29 — the tenth number is indeed 29.

The sum formula is Sₙ = n/2 × (2a + (n − 1)d). For the same example, that is 10/2 × (4 + 27) = 5 × 31 = 155. Add the ten terms by hand — 2 + 5 + 8 + 11 + 14 + 17 + 20 + 23 + 26 + 29 — and you get 155. The formula works because the terms pair up: the first and last add to 31, the second and second-last add to 31, and so on, five pairs of 31.

The common difference — the input people get wrong

The common difference d is the step between terms, and it is the input most people fumble. It is simply any term minus the one before it: in 2, 5, 8, 11, the difference is 5 − 2 = 3, or 8 − 5 = 3 — every gap is the same, which is what makes the sequence arithmetic. If the gaps are not all equal, it is not an arithmetic sequence at all.

The sign of d matters as much as its size. A positive d means the sequence grows — 2, 5, 8, 11 climbs upward. A negative d means it falls — 10, 8, 6, 4 has d = −2. A zero d means every term is the same number, which is a valid sequence, just a boring one. Students often drop the minus sign on a falling sequence, which flips every answer.

When you are given a sequence and need d, use two terms that are next to each other, not two that are far apart. If you know the 1st term is 5 and the 6th term is 25, then d is (25 − 5) ÷ 5 = 4, because five steps separate them. Dividing by the number of steps, not the term number, is the rule — and it is the same (n − 1) idea as the nth-term formula.

A worked example: two sequences, step by step

First, the default on this page. First term 2, difference 3, term number 10. The 10th term is 2 + 9 × 3 = 29. The sum of the first 10 terms is 5 × (4 + 27) = 155. You can verify the sum another way: the average of the first and last terms is (2 + 29) ÷ 2 = 15.5, and 15.5 × 10 = 155. Both routes agree.

Second, a growing sequence with bigger steps: first term 5, difference 4, term number 6. The terms are 5, 9, 13, 17, 21, 25. The 6th term is 25, and the formula agrees: 5 + 5 × 4 = 25. The sum is 6/2 × (10 + 20) = 3 × 30 = 90. Add them by hand — 5 + 9 + 13 + 17 + 21 + 25 — and you get 90.

Third, a falling sequence: first term 10, difference −2, term number 8. The terms are 10, 8, 6, 4, 2, 0, −2, −4. The 8th term is −4, and the formula agrees: 10 + 7 × (−2) = 10 − 14 = −4. The sum is 8/2 × (20 − 14) = 4 × 6 = 24. Sequences can go negative — the formula does not care.

Where sequences show up in real life

The most common real use is money paid or saved in equal steps. If you save 2,000 rupees in the first month and add 500 more each month, your savings follow an arithmetic sequence, and the sum formula tells you the total after a year. If a loan balance falls by the same amount each month, the same maths tells you when it hits zero. A average calculator is a handy partner here, because the average of the first and last terms is the key to the sum.

Seating and stacking problems are sequences in disguise. A theatre row with 20 seats, then 22, then 24, is an arithmetic sequence with d = 2 — and the sum gives the total seats in the hall. A stack of logs or pipes, widest at the bottom and one fewer each layer up, is the same idea. Exam papers love these problems because they test whether you can spot the pattern, not whether you can add a long list.

In maths itself, sequences are the building blocks of series, which lead to calculus and to the sums that computers use. The Fibonacci numbers — 1, 1, 2, 3, 5, 8 — are a different kind of sequence, where each term is the sum of the two before it, and a Fibonacci calculator generates them. Arithmetic sequences are the simplest member of the family, and the one to master first.

Sequence calculator vs arithmetic sequence calculator

These two tools overlap, and the difference is only in focus. This sequence calculator treats the sequence as arithmetic by default and answers the two core questions: the nth term and the sum. The arithmetic sequence calculator is the same maths with the arithmetic label made explicit, and it also shows the common difference as its own result row.

For most users, either tool gives the same answer to the same inputs — the formulas are identical. Pick this one when you just want the term and the sum quickly, and pick the arithmetic one when you are studying arithmetic progressions specifically and want the difference highlighted. If your sequence multiplies instead of adds, neither is right: use a geometric sequence tool, where the step is a ratio, not a difference.

A geometric mean calculator is useful when you are comparing arithmetic and geometric growth, because the two kinds of average behave very differently over time. And when the numbers involve powers rather than steps, an exponent calculator keeps the arithmetic straight.

Common sequence mistakes (and how to dodge them)

The number one mistake is using n instead of (n − 1) in the nth-term formula. The 10th term of 2, 5, 8 is 2 + 10 × 3 = 32 if you forget the minus one — but the real 10th term is 29. The first term is already there before any step is taken, so it needs zero steps. Always write (n − 1) and the error disappears.

Second: adding the terms one by one for a large n. For n = 100, hand addition is slow and error-prone; the sum formula does it in one line. Third: mixing up the sum formula with the nth-term formula — they look similar, but one has n/2 in front and the other does not. Fourth: assuming a sequence is arithmetic without checking that the gaps are equal. If the gaps are 3, 3, 4, it is not arithmetic, and the formulas will give wrong answers.

Fifth: sign errors on a falling sequence. With d = −2, the (n − 1)d term is negative, and it must stay negative through the whole calculation. Write the minus sign with the number, not in your head, and the sum will come out right.

How to use this sequence calculator

Using it takes seconds. Enter the first term — the number the sequence starts with. Enter the common difference, the fixed step between terms, with a minus sign if the sequence falls. Enter n, the term number you want. The nth term, the sum of the first n terms, and the common difference appear at once, updating live as you type.

A good check is to list the first few terms by hand and compare. For the default, the terms are 2, 5, 8, 11, 14 — if your hand list and the calculator agree on the first five, the 10th term is almost certainly right too. For large n, trust the formula: it is exact, and hand-listing 100 terms is where the mistakes creep in.

Everything runs in your browser. No account, no form, no data sent anywhere. If your sequence multiplies rather than adds, switch to the geometric sequence tool, and if you want the average of a list of numbers, the average calculator and the percentage calculator cover the next steps.

Frequently Asked Questions

The first term is 2 and the common difference is 3, so the 10th term is 2 + (10 − 1) × 3 = 2 + 27 = 29. The sum of the first 10 terms is 10/2 × (4 + 27) = 155. The key is (n − 1): the first term takes zero steps to reach itself.

A sequence is a list of numbers in order, like 2, 5, 8, 11. A series is the sum of those numbers, like 2 + 5 + 8 + 11 = 26. This calculator gives you both: the nth term of the sequence and the sum of the first n terms, which is the series.

Subtract each term from the one after it. If every gap is the same number, the sequence is arithmetic and that number is the common difference. In 2, 5, 8, 11 every gap is 3. If the gaps differ — say 3, 3, 4 — it is not arithmetic, and the nth-term formula will give wrong answers.

The natural numbers 1, 2, 3, ... form an arithmetic sequence with a = 1 and d = 1. The sum of the first 100 is 100/2 × (2 + 99) = 50 × 101 = 5,050. This is the classic result usually credited to Gauss, who worked it out as a schoolboy by pairing 1 with 100, 2 with 99, and so on.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.