๐ข Arithmetic Sequence Calculator: nth Term, Sum and Common Difference
By ToolNimba Education Team ยท Updated 2026-06-23
Enter the first term, the common difference, and how many terms you want.
An arithmetic sequence is a list of numbers where each term increases (or decreases) by the same fixed amount, called the common difference. This calculator takes the first term, the common difference, and how many terms you want, then gives you the nth term, the sum of all those terms, and the full list. Enter your three values and the answers update instantly, with no sign-up and nothing leaving your browser.
What is the Arithmetic Sequence Calculator?
An arithmetic sequence (also called an arithmetic progression, or AP) is built on one simple idea: you start with a number and keep adding the same value to get the next term. That fixed step is the common difference, written d. If the first term is a (some books call it a1), the sequence runs a, a + d, a + 2d, a + 3d, and so on. When d is positive the sequence grows; when d is negative it shrinks; when d is zero every term is the same. The position of a term is its index, usually written n, starting at 1.
Two formulas do almost all the work, and they describe a sequence in two different ways. The explicit formula (also called the closed form) gives any term directly: the nth term is a + (n - 1)d. It is the fast route, because you can jump straight to the 100th term without listing the first 99. The recursive formula instead defines each term from the one before it: a(n) = a(n - 1) + d, with a(1) = a. Recursion is how a spreadsheet or program usually builds the list, but it is slow for humans because you have to climb one step at a time. Competitors often quote only one form, so it is worth knowing both: the explicit formula answers "what is term n," while the recursive formula answers "how do I get from one term to the next."
The sum of the first n terms, written Sn, is the arithmetic series. There are two equivalent versions. The first, Sn = n/2 x (2a + (n - 1)d), uses only the first term and the difference. The second, Sn = n/2 x (a + L) where L is the last term, multiplies the average of the first and last term by how many terms there are. Both give the identical total, so use whichever inputs you have. This averaging trick is the same one the young Carl Gauss is said to have used to add 1 to 100 in seconds: he paired 1 with 100, 2 with 99, and so on, getting fifty pairs that each sum to 101, for a total of 5050.
A common real task is working backward. If you know two terms but not the difference, use d = (a(m) - a(k)) / (m - k), the change in value divided by the change in position. For example, if the 3rd term is 11 and the 7th term is 27, then d = (27 - 11) / (7 - 3) = 16 / 4 = 4. Once you have d you can recover the first term and use the explicit formula for anything else. If instead you know the first and last term and want to know how many terms there are, rearrange to n = (L - a)/d + 1. That plus one is the step most people forget, and it is why a sequence from 5 to 50 in steps of 5 has ten terms, not nine.
Arithmetic sequences differ from geometric sequences, where you multiply by a fixed ratio instead of adding a fixed difference. A geometric sequence like 2, 6, 18, 54 grows by a factor of 3 each step, while an arithmetic one like 2, 6, 10, 14 grows by adding 4 each step. The quick test: subtract consecutive terms. If those differences are all equal, the sequence is arithmetic and these formulas apply. If instead the ratios between consecutive terms are equal, it is geometric and you need the geometric formulas. Plotting an arithmetic sequence against its index always gives points on a straight line whose slope is d, which is why these sequences model any steady, linear change.
Arithmetic sequences show up far beyond the classroom. Stadium and theater seating often grows by a fixed number of seats per row, so the total capacity is an arithmetic series. Simple-interest savings, straight-line depreciation of an asset, a stack of logs that loses one log per layer, and the page numbers you read at a fixed pace per day are all arithmetic. Knowing the nth term and the sum lets you answer "how much by term n" and "how much in total" without listing everything by hand.
When to use it
- Finding a far-off term, such as the 50th or 100th term, without writing out the whole list by hand.
- Adding up a long run of evenly spaced numbers, like total seats across rows that grow by a fixed amount.
- Working backward to find the common difference or the first term when you only know two terms of the sequence.
- Counting how many terms lie between a known first and last value, using n = (last - first)/d + 1.
- Checking homework answers in algebra, pre-calculus, or AP exams where sequences and series appear.
- Modelling simple linear patterns, such as fixed monthly savings, straight-line depreciation, or a steady weekly production increase.
How to use the Arithmetic Sequence Calculator
- Enter the first term (a), the value the sequence starts with.
- Enter the common difference (d), the fixed amount added between consecutive terms (use a negative number for a decreasing sequence).
- Enter the number of terms (n) you want, as a whole number of 1 or more.
- Read off the nth term, the sum of those n terms, and the listed sequence below.
- To find d from two known terms first, subtract them and divide by the gap in their positions, then enter that d here.
Formula & method
Worked examples
First term a = 3, common difference d = 5, find the 10th term and the sum of the first 10 terms.
- The sequence is 3, 8, 13, 18, 23, 28, 33, 38, 43, 48.
- nth term = a + (n - 1) x d = 3 + (10 - 1) x 5
- nth term = 3 + 9 x 5 = 3 + 45 = 48
- Sum = n/2 x (2a + (n - 1) x d) = 10/2 x (2 x 3 + 9 x 5)
- Sum = 5 x (6 + 45) = 5 x 51 = 255
Result: 10th term = 48, sum of the first 10 terms = 255
Find the common difference and the first term when the 3rd term is 11 and the 7th term is 27.
- Use d = (a(m) - a(k)) / (m - k) with the two known terms.
- d = (27 - 11) / (7 - 3) = 16 / 4 = 4.
- Now find the first term: a(3) = a + 2d, so 11 = a + 2 x 4 = a + 8.
- Solve for a: a = 11 - 8 = 3.
- Check with the explicit formula: a(7) = 3 + 6 x 4 = 27, which matches.
Result: Common difference d = 4 and first term a = 3, so the sequence is 3, 7, 11, 15, ...
A decreasing sequence starts at 20 and falls by 4 each step. Find the 6th term and the sum of the first 6 terms.
- Here a = 20 and d = -4, so the sequence is 20, 16, 12, 8, 4, 0.
- nth term = a + (n - 1) x d = 20 + (6 - 1) x (-4)
- nth term = 20 + 5 x (-4) = 20 - 20 = 0
- Sum = n/2 x (a + L) = 6/2 x (20 + 0)
- Sum = 3 x 20 = 60
Result: 6th term = 0, sum of the first 6 terms = 60
nth term and running sum for a = 5, d = 2 (sequence 5, 7, 9, 11, ...)
| n | nth term | Sum of first n terms |
|---|---|---|
| 1 | 5 | 5 |
| 2 | 7 | 12 |
| 3 | 9 | 21 |
| 5 | 13 | 45 |
| 10 | 23 | 140 |
| 20 | 43 | 480 |
Quick formula reference for arithmetic sequences
| You want | Formula | Notes |
|---|---|---|
| nth term (explicit) | a(n) = a + (n - 1)d | Jump straight to any term |
| Next term (recursive) | a(n) = a(n - 1) + d | Each term from the one before |
| Sum of n terms | S(n) = n/2 x (2a + (n - 1)d) | Uses first term and difference |
| Sum (first and last) | S(n) = n/2 x (a + L) | L is the last term |
| Common difference | d = (a(m) - a(k)) / (m - k) | From any two known terms |
| Number of terms | n = (L - a)/d + 1 | Remember the plus one |
Arithmetic versus geometric sequences at a glance
| Feature | Arithmetic | Geometric |
|---|---|---|
| Step between terms | Add common difference d | Multiply by common ratio r |
| Example | 2, 6, 10, 14 (add 4) | 2, 6, 18, 54 (times 3) |
| nth term | a + (n - 1)d | a x r^(n - 1) |
| Graph shape | Straight line | Exponential curve |
| Quick test | Equal differences | Equal ratios |
Common mistakes to avoid
- Using n instead of (n - 1) in the nth term. The nth term is a + (n - 1)d, not a + n x d. The first term takes zero steps from the start, so to reach term n you add d only n - 1 times. Forgetting the minus one shifts every answer by one full step of d.
- Mixing up arithmetic and geometric sequences. Arithmetic sequences add a constant difference; geometric sequences multiply by a constant ratio. If consecutive terms share a ratio rather than a difference, these formulas do not apply, you need the geometric ones instead. Always subtract consecutive terms first to confirm the differences are equal.
- Forgetting that d can be negative or zero. A decreasing sequence has a negative common difference, for example d = -7 gives 100, 93, 86, and so on. Entering it as positive flips the direction and gives the wrong terms and sum. A difference of zero is valid too and produces a constant sequence.
- Counting the number of terms incorrectly. When a sequence is given by its first and last terms, the count is n = (L - a)/d + 1, not just (L - a)/d. The plus one includes the starting term itself, and leaving it off undercounts by one.
- Dividing by the wrong gap when finding d from two terms. The common difference is d = (a(m) - a(k)) / (m - k), so you divide by the difference in positions, not by the difference in values or by the number of terms. For the 3rd and 7th terms, the gap is 7 - 3 = 4, not 7 or 3.
- Treating the sequence and the series as the same thing. The sequence is the list of terms; the series is what you get when you add them up. The nth term is a single number, while the sum Sn totals the first n terms. Reporting one when the question asks for the other is a frequent slip.
Glossary
- Arithmetic sequence
- A list of numbers in which each term differs from the previous one by a fixed amount, the common difference.
- Arithmetic progression (AP)
- Another name for an arithmetic sequence, common in many textbooks and exam syllabuses.
- Common difference (d)
- The constant value added to one term to get the next. It can be positive, negative, or zero.
- First term (a or a1)
- The number the sequence starts with, the term at position n = 1.
- nth term
- The term at position n in the sequence, given by the explicit formula a + (n - 1)d.
- Explicit formula
- A closed-form rule that gives any term directly from its position, a(n) = a + (n - 1)d, without listing earlier terms.
- Recursive formula
- A rule that defines each term from the one before it, a(n) = a(n - 1) + d with a(1) = a.
- Arithmetic series (sum)
- The result of adding the terms of an arithmetic sequence. The sum of the first n terms is written Sn.
Frequently asked questions
What is an arithmetic sequence?
An arithmetic sequence is a list of numbers where the gap between consecutive terms is always the same. That fixed gap is the common difference. For example 4, 7, 10, 13 is arithmetic with a common difference of 3.
How do I find the nth term of an arithmetic sequence?
Use the explicit formula a + (n - 1) x d, where a is the first term, d is the common difference, and n is the position you want. For a = 4, d = 3, the 10th term is 4 + 9 x 3 = 31. This calculator applies the formula for you instantly.
How is the sum of an arithmetic series calculated?
The sum of the first n terms is Sn = n/2 x (2a + (n - 1)d). Equivalently, it is the average of the first and last terms times the number of terms, n/2 x (a + L). Both give the same total, and the calculator reports it instantly.
What is the common difference and how do I find it?
The common difference is the fixed amount you add to move from one term to the next. From consecutive terms, subtract any term from the one after it. From two non-consecutive terms, use d = (a(m) - a(k)) / (m - k). A positive value rises, a negative value falls.
What is the difference between the explicit and recursive formula?
The explicit formula, a(n) = a + (n - 1)d, gives any term directly from its position, so you can jump straight to the 100th term. The recursive formula, a(n) = a(n - 1) + d, defines each term from the previous one, which is how a program or spreadsheet usually builds the list.
What is the difference between an arithmetic and a geometric sequence?
An arithmetic sequence adds a constant difference between terms, while a geometric sequence multiplies by a constant ratio. So 2, 5, 8, 11 is arithmetic (add 3), but 2, 6, 18, 54 is geometric (times 3). To tell them apart, check whether consecutive differences or consecutive ratios are constant.
How do I find how many terms are in an arithmetic sequence?
If you know the first term a, the last term L, and the common difference d, the count is n = (L - a)/d + 1. The plus one includes the first term itself. For 5 to 50 in steps of 5, n = (50 - 5)/5 + 1 = 9 + 1 = 10 terms.
How do I find the first term if I only know two later terms?
First find the common difference with d = (a(m) - a(k)) / (m - k). Then substitute one known term into the explicit formula and solve for a. For example, if a(3) = 11 and a(7) = 27, then d = 4 and a = 11 - 2 x 4 = 3.
Can the common difference be negative, a decimal, or a fraction?
Yes. A negative common difference produces a decreasing sequence, such as 20, 15, 10, 5. Decimals and fractions work too, like a difference of 0.5 giving 1, 1.5, 2, 2.5. This calculator accepts any real number for the first term and the common difference.
What is a real-world example of an arithmetic sequence?
Stadium seating that adds a fixed number of seats per row, fixed monthly savings, straight-line depreciation, and a steady reading pace of so many pages per day are all arithmetic. The nth term tells you the value at any point, and the sum tells you the running total.