Mathematics · Formula

Sum of a geometric series

The sum of the first n terms of a geometric sequence, for r ≠ 1.

Mathematics librarySymbols definedWorked example
Formula
Sn = a1(1 − rn) / (1 − r)

The sum of the first n terms of a geometric sequence, for r ≠ 1.

What the symbols mean

  • Sₙ — sum of the first n terms
  • a₁ — first term
  • r — common ratio
  • n — number of terms

What it means

When |r| < 1 the series converges as n grows, and the infinite sum is a₁/(1 − r). When |r| ≥ 1 it diverges unless the terms are zero.

Worked example

Example

For 2 + 6 + 18 + … with a₁ = 2 and r = 3, the sum of the first 5 terms is 2(1 − 243)/(1 − 3) = 242.

Related formulas

These relationships often appear alongside the sum of a geometric series in the same problems.

Frequently asked questions

What is the sum of a geometric series formula?

The relationship is Sn = a1(1 − rn) / (1 − r). The sum of the first n terms of a geometric sequence, for r ≠ 1.

When should I use the sum of a geometric series formula?

When |r| < 1 the series converges as n grows, and the infinite sum is a₁/(1 − r). When |r| ≥ 1 it diverges unless the terms are zero.

How do I avoid unit mistakes?

Write each quantity with its unit before substituting, convert to the units the formula expects, and check that the result's unit matches the quantity you are solving for. Angles must be in radians for calculus-based expressions unless the page says degrees.

Sources and standards

The equation form, symbols and expected units on this page are checked against the reference works below.

How these are used: sources and standards.

Reviewed November 2026 · Educational reference. See the disclaimer and methodology.