Arithmetic Sequence & Series Calculator

Arithmetic Sequence & Series Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Sn=n2(2a1+(n−1)d)where{an=a1+(n−1)dSn=n2(a1+an)\begin{gathered} S_n = \frac{\text{n}}{2}\left(2\,{{\text{a}_1}} + (\text{n}-1)\,\text{d}\right) \\[1.5em] \text{where}\quad \left\{ \begin{aligned} a_n &= {{\text{a}_1}} + (\text{n}-1)\,\text{d} \\ S_n &= \frac{\text{n}}{2}\left({{\text{a}_1}} + a_n\right) \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Sum of the series (Sₙ)
100
Sum of the first n terms (n = 10)
Last / nth term (aₙ) 19
First term (a₁) 1
Common difference (d) 2
Number of terms (n) 10

Report an error on this page

What is an arithmetic sequence?

An arithmetic sequence is a list of numbers where each term differs from the previous one by a fixed amount called the common difference (\(d\)). Starting from a first term \(a_1\), the sequence reads \(a_1, a_1+d, a_1+2d\), and so on. The corresponding arithmetic series is simply the sum of those terms. This calculator finds both the nth term and the running sum for any arithmetic progression.

Number line showing equally spaced points of an arithmetic sequence with equal gaps labeled d
An arithmetic sequence advances by a constant common difference \(d\) between consecutive terms.

How to use this calculator

Enter the first term (\(a_1\)), the common difference (\(d\)), and how many terms you want (\(n\)). The tool returns the value of the nth term (\(a_n\)) and the total sum \(S_n\) of those \(n\) terms. The common difference can be positive, negative, or zero, and the first term may be any real number.

The formulas explained

The nth term is found by adding the common difference \((n-1)\) times to the first term: $$a_n = a_1 + (n-1)d$$. The sum uses the elegant pairing trick attributed to Gauss — pair the first and last terms, the second and second-to-last, and so on. Each pair sums to \((a_1 + a_n)\), and there are \(n/2\) such pairs, giving $$S_n = \frac{n}{2}\,(a_1 + a_n)$$.

Advertisement
Bar chart of arithmetic series terms with trapezoid overlay illustrating the sum formula
The sum pairs terms so that \(S_n\) equals \(n/2\) times the sum of the first and last term.

Worked example

Suppose \(a_1 = 3\), \(d = 5\), and \(n = 10\). The 10th term is $$a_{10} = 3 + (10-1)\cdot 5 = 3 + 45 = 48.$$ The sum of the first 10 terms is $$S_{10} = \frac{10}{2}\cdot(3 + 48) = 5 \cdot 51 = 255.$$ So the series \(3, 8, 13, \ldots, 48\) totals 255.

More Worked Examples

Example 1: A decreasing sequence (negative d)

Let \(a_1 = 20\), \(d = -3\), \(n = 8\).

  1. Find the last term: \(a_8 = 20 + (8-1)(-3) = 20 - 21 = -1\).
  2. Find the sum: \(S_8 = \frac{8}{2}\left(20 + (-1)\right) = 4 \times 19 = \)76.

The terms are 20, 17, 14, 11, 8, 5, 2, -1, and they add up to 76.

Example 2: The first 100 positive integers

Let \(a_1 = 1\), \(d = 1\), \(n = 100\).

  1. Last term: \(a_{100} = 1 + (100-1)(1) = 100\).
  2. Sum: \(S_{100} = \frac{100}{2}(1 + 100) = 50 \times 101 = \)5050.

Example 3: A decimal example

Let \(a_1 = 2.5\), \(d = 0.75\), \(n = 12\).

  1. 12th term: \(a_{12} = 2.5 + (12-1)(0.75) = 2.5 + 8.25 = 10.75\).
  2. Sum: \(S_{12} = \frac{12}{2}(2.5 + 10.75) = 6 \times 13.25 = \)79.5.

Comparing Different Sequences

Here the first term and number of terms are fixed at \(a_1 = 10\) and \(n = 10\), and only the common difference \(d\) changes.

Common difference d Last term a10 Sum S10 Type
-2 -8 10 Decreasing
0 10 100 Constant
1 19 145 Increasing
5 55 325 Increasing

Check for \(d = 5\): \(a_{10} = 10 + 9 \times 5 = 55\) and \(S_{10} = \frac{10}{2}(10 + 55) = 5 \times 65 = 325\).

When \(d > 0\) the sequence increases and the sum grows faster as \(d\) gets larger. When \(d = 0\) every term is equal, so the sum is simply \(n \cdot a_1\). When \(d < 0\) the sequence decreases, and terms can become negative and pull the sum down, as in the \(d = -2\) row where the sum is only 10.

Advertisement

Key Terms and Symbols

  • First term (a1): the starting value of the sequence.
  • Common difference (d): the fixed amount added to each term to get the next one; it can be positive, negative, or zero.
  • Number of terms (n): how many terms are included; normally a positive whole number.
  • nth term (an): the value at position n, given by \(a_n = a_1 + (n-1)d\).
  • Sum (Sn): the total of the first n terms, \(S_n = \frac{n}{2}(a_1 + a_n)\).
  • Arithmetic progression: another name for an arithmetic sequence, a list of numbers with a constant difference between consecutive terms.
  • Sequence vs. series: a sequence is the ordered list of terms (e.g. 2, 5, 8, 11); a series is the sum of those terms (2 + 5 + 8 + 11 = 26).

If the last term \(a_n\) is unknown, use the alternative formula, which needs only \(a_1\), \(d\), and \(n\):

$$S_n = \frac{n}{2}\left[2a_1 + (n-1)d\right]$$

FAQ

What if the common difference is 0? Every term equals \(a_1\), so \(a_n = a_1\) and the sum is simply \(n \times a_1\).

Can the terms be negative or decimal? Yes. Any real values work for \(a_1\) and \(d\); the formulas still hold exactly.

What's the difference between a sequence and a series? A sequence is the ordered list of terms; a series is the sum of those terms.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators