A geometric series is a series in which each term is the previous term multiplied by the same number, called the common ratio r:

a+ar+ar2+ar3+⋯=∑n=0∞arna + ar + ar^2 + ar^3 + \cdots = \sum_{n=0}^{\infty} ar^n

Geometric series are the most important series in mathematics. They appear in finance (compound interest), physics (repeated reflections), computer science (algorithm analysis) and probability.

The infinite geometric series formula

If the common ratio satisfies |r| < 1, the series converges and

∑n=0∞arn=a1−r\sum_{n=0}^{\infty} ar^n = \frac{a}{1-r}

where a is the first term. If |r| ≥ 1 the terms do not shrink to zero, so the series diverges.

Why the formula works

Let S = a + ar + ar² + ⋯. Multiply both sides by r: rS = ar + ar² + ar³ + ⋯. Subtracting the second line from the first cancels every term except a, so S − rS = a, which gives S = a/(1 − r).

Worked examples

Example 1. Σ 3/2ⁿ from n = 0. The first term is 3 and the ratio is 1/2, so the sum is 3 / (1 − 1/2) = 6.

Example 2. Σ (−1/3)ⁿ from n = 0. Here a = 1 and r = −1/3, so the sum is 1 / (1 + 1/3) = 3/4.

Example 3. Σ 2ⁿ diverges, because r = 2 and the terms grow without bound.

Starting at a different index

Always use the actual first term for a. For Σ (1/2)ⁿ starting at n = 1, the first term is 1/2, so the sum is (1/2)/(1 − 1/2) = 1, not 2.

The finite geometric sum

For a finite number m of terms, the sum is

a+ar+⋯+arm−1=a(1−rm)1−ra + ar + \cdots + ar^{m-1} = \frac{a(1-r^m)}{1-r}

This works for any r ≠ 1, even when |r| > 1. For example 1 + 2 + 4 + ⋯ + 2¹⁰ = (1 − 2¹¹)/(1 − 2) = 2047.

Try it

Type 3/2^n with start value 0 into the calculator to see the ratio, the convergence test and the formula applied step by step.

Try any series from this article in the calculator.

Open the calculator