StatGardenREF. DESK
Calculators/Maths/Arithmetic sequence
Maths

Arithmetic sequence calculator

The nth term and the sum of the first n terms of an arithmetic sequence.

Published 6 August 2026 · Updated 23 September 2026

What this calculator does

An arithmetic sequence adds a fixed amount each step. Finding any term is straightforward, but the sum has a much more elegant shortcut than adding the terms one by one.

The shortcut is pairing. Gauss reportedly noticed as a schoolboy that pairing the first term with the last, the second with the second-last and so on gives identical totals, which turns a long addition into a single multiplication. Starting at 5 with a difference of 3, the first ten terms sum to 185.000.

The formula

Formulaaₙ = a₁ + (n−1)d; Sₙ = n/2 × (2a₁ + (n−1)d)

The nth term adds the common difference n minus 1 times to the first term. The sum is n halves times the total of the first and last terms, which is what the pairing argument produces.

TermMeaning
Common differenceThe fixed amount added at each step.
nth termThe value at position n in the sequence.
Partial sumThe total of the first n terms, also called an arithmetic series.

The inputs explained

FieldWhat to enter
First term (a₁)The first term of the sequence.
Common difference (d)The common difference. Negative values give a decreasing sequence.
Term number (n)Which term to find, and how many terms to sum.

When to use it

Finding a distant term

The formula jumps straight to any position without listing the sequence.

Summing a long series

The pairing shortcut avoids adding hundreds of terms individually.

Modelling linear growth

Anything increasing by a fixed amount per period is an arithmetic sequence.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How do term and sum grow?

The same sequence evaluated at three lengths.

First term 5, common difference 3
Number of termsnth term (aₙ)Sum of first n terms (Sₙ)
n = 517.00055.000
n = 1032.000185.000
n = 2062.000670.000
At n = 10 the tenth term is 32.000 and the sum reaches 185.000. Doubling to n = 20 roughly doubles the term to 62.000 but nearly quadruples the sum to 670.000, since the sum grows with the square of n.

Questions

Why does the sum grow with the square of n?

Because you are adding n terms whose average size itself grows linearly with n. Multiplying a count that grows linearly by an average that grows linearly gives quadratic growth overall.

What is the Gauss pairing argument?

Pair the first term with the last, the second with the second-last, and so on. Every pair sums to the same total, because each step forward is matched by an equal step back, so the sum is that total times the number of pairs.

Does it work with a negative difference?

Yes, unchanged. A negative common difference gives a decreasing sequence, and both formulas handle it. The sum can then become negative once terms pass below zero.

How does this differ from a geometric sequence?

An arithmetic sequence adds a fixed amount each step; a geometric one multiplies by a fixed ratio. Arithmetic growth is linear, geometric growth is exponential, and the difference compounds enormously over many terms.

For the multiplying equivalent, see the geometric sequence calculator. For compounding in finance, see the compound interest calculator.