An arithmetic sequence (or arithmetic progression) is a list of numbers in which each term is the previous one plus a fixed amount, the common difference (written in many textbooks): 5, 8, 11, 14… has ; 40, 35, 30… has . Savings that grow by the same deposit every month, seats added row by row in a theatre, a taxi fare rising by a fixed amount per kilometre, or the dates of a weekly meeting are all arithmetic sequences.
This arithmetic sequence calculator handles the three classic questions. From the first term and the common difference, it gives the nth term and the sum of the first n terms. From any two terms, it finds the common difference and the first term. And it tells you whether a value belongs to the sequence and at which position. Every result is exact: decimals stay decimals ( is ) and differences that do not divide evenly are shown as fractions.
You can count from index 1 (, as in most English textbooks) or from index 0 (, as in many French and Moroccan courses). The page also gives the explicit and recursive formulas, whether the sequence increases or decreases, and a table of the first terms with running sums.
How to use this calculator
- Choose what you know: the first term and the common difference, two terms, or a value whose position you want.
- Choose whether the sequence starts at index 1 or 0.
- Enter the values, and the index of the term you need. The sum adds every term from the first one up to .
- Read the term, the sum, the explicit formula and the table; open the steps to see each substitution.
The formula
With first term and common difference :
The sum of the first terms is times the average of the first and last terms:
From two terms and : , then .
Position of a value : ; is a term only if this is a whole number of at least 1.
Starting at index 0, the same formulas read and , because there are terms from to .
Worked example
nth term and sum. For 5, 8, 11, … (, ): $a_{20} = 5 + 19 \times 3 = $ 62, and $S_{20} = 20 \times (5 + 62) / 2 = $ 670.
Gauss’s sum. : pair the first and last terms, the second and the second-to-last, and so on; each pair sums to 101.
From two terms. If and , then and : it is the same sequence.
Is 98 a term? , a whole number, so 98 is , and the first 32 terms add up to 1648.
Index 0. With and , , and the 21 terms from to sum to 735.
Decimals. 0.1, 0.3, 0.5… gives and exactly.
Arithmetic or geometric?
In an arithmetic sequence you add the same number each time, so the terms change by a constant amount and lie on a straight line when plotted: is a linear function of . In a geometric sequence you multiply by the same number, so the terms change by a constant percentage: that is exponential growth. A salary raised by 1,000 a year is arithmetic; one raised by 3% a year is geometric.
To test a list of numbers, compute the differences between consecutive terms: if they are all equal, the sequence is arithmetic. A useful property follows: each term is the average of its two neighbours, , and the average of all terms equals the average of the first and the last, which is exactly why the sum formula works.
Frequently asked questions
How do you find the nth term of an arithmetic sequence?
Start from the first term and add the common difference n − 1 times: aₙ = a₁ + (n − 1)r. For 5, 8, 11…, the 20th term is 5 + 19 × 3 = 62.
What is the formula for the sum of an arithmetic sequence?
Sₙ = n(a₁ + aₙ)/2: the number of terms times the average of the first and last terms. Equivalently, Sₙ = n(2a₁ + (n − 1)r)/2 when you do not know the last term.
How do I find the common difference from two terms?
Subtract the two values and divide by the difference of their positions: r = (a_q − a_p)/(q − p). If a₃ = 11 and a₁₀ = 32, r = 21/7 = 3.
Why do some courses write uₙ = u₀ + nr?
Because they number the terms from 0, a common convention in France and Morocco. Then uₙ is reached after n steps of r. If the sequence starts at u₁, the formula becomes uₙ = u₁ + (n − 1)r. Choose the matching option above.
Can the common difference be negative or a fraction?
Yes. A negative difference gives a decreasing sequence (40, 35, 30…), and a fractional one such as 1/3 is handled exactly: the calculator shows fractions rather than rounded decimals.
Sources
- OpenStax, Precalculus 2e — §11.2 Arithmetic Sequences
- OpenStax, Precalculus 2e — §11.4 Series and Their Notations (sum of an arithmetic series)
- Weisstein, Arithmetic Series — Wolfram MathWorld
Last updated: