🧮
🧮 Math & statistics

Arithmetic & Geometric Sequence Calculator

Results update as you type.

Your numbers

Understanding the arithmetic and geometric sequence calculator — concept and principle

A sequence is an ordered list of numbers built by a rule. In an arithmetic sequence each term adds the same common difference d; in a geometric sequence each term multiplies by the same common ratio r. This calculator finds the nth term, the sum of the first n terms, the infinite sum of a geometric series when it exists, and lists the first terms. Arithmetic sequences model steady change; geometric sequences model growth or decay by a constant percentage.

Ten terms of an arithmetic sequence from 3 with step 2Terms 3, 5, … 21 rise by 2; pairing the ends gives five pairs of 24, so the sum is 120.Arithmetic sequence: +2 each step315273941151361571781992110a₁₀ = 3 + (10 − 1) × 2 = 21Pair ends: 3 + 21 = 5 + 19 = … = 24S₁₀ = 10 × 24 ÷ 2 = 1205 pairs of 24
The 10th term is 21, and five end-to-end pairs of 24 add up to 120.

How it is calculated

The same input box holds d for arithmetic and r for geometric sequences; the first eight terms are listed.

The principle

To reach the nth term you take n − 1 steps from the first, which is why n − 1 appears in both term formulas. For the arithmetic sum, write the terms forwards and backwards and add them in pairs: every pair totals a₁ + aₙ, and there are n pairs for two copies of the sum, so Sₙ = n(a₁ + aₙ) ÷ 2. For the geometric sum, multiply Sₙ by r and subtract: almost every term cancels, leaving Sₙ(1 − r) = a₁(1 − rⁿ). When |r| < 1, rⁿ shrinks to 0 as n grows, so the sum approaches a₁ ÷ (1 − r).

Worked example

  1. Inputs: a₁ = 3, d = 2, n = 10, type arithmetic.
  2. 10th term: a₁₀ = 3 + (10 − 1) × 2 = 3 + 18 = 21.
  3. Sum: S₁₀ = 10 × (2 × 3 + 9 × 2) ÷ 2 = 10 × 24 ÷ 2 = 120.
  4. Infinite sum: —, because it applies only to geometric sequences with |r| < 1.
  5. First terms: 3, 5, 7, 9, 11, 13, 15, 17.
How nth term changes with Term number nHow nth term changes with Term number n010203040502.557.51012.51520Example: 21Term number n
Each point is the calculator re-run with only “Term number n” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Term number nnth term
2.56
511
7.516
1021
12.526
1531
2041

How to read the result

An arithmetic sequence grows along a straight line and its sum grows like n². A geometric sequence with r > 1 grows exponentially and soon overtakes any arithmetic one: with the same inputs but type geometric, the 10th term is 3 × 2⁹ = 1,536 and the sum is 3,069. A ratio between 0 and 1 means decay, and a negative ratio makes the terms alternate in sign.

Common mistakes

Keep in mind: Real-world growth is rarely perfectly constant. Treat sequence results for savings, populations or prices as simplified models, and note that interest calculations also depend on compounding rules and timing.

Frequently asked questions

How do I find the common difference or ratio from two terms?

For an arithmetic sequence, d = (aₘ − aₖ) ÷ (m − k). For a geometric one, r is the (m − k)th root of aₘ ÷ aₖ.

What is the sum 1 + 1/2 + 1/4 + … forever?

It is geometric with a₁ = 1 and r = 1/2, so the infinite sum is 1 ÷ (1 − 1/2) = 2.

Is the Fibonacci sequence arithmetic or geometric?

Neither. Each term is the sum of the two before it, although the ratio of consecutive terms approaches about 1.618.

Sources: Euclid, Elements, Book IX, Proposition 35 (sum of a geometric progression) · James Stewart, Calculus, Chapter 11 (Infinite Sequences and Series)

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →