Geometric Sequence

Nth term and sum of a geometric series.

Nth term
162
242
Sum of n terms
First 5 terms
261854162

How to Use the Geometric Sequence Calculator

  1. Enter the **first term (a)** of your geometric sequence in the designated field (e.g., 3).
  2. Enter the **common ratio (r)** — the number each term is multiplied by to produce the next (e.g., 2).
  3. Enter the **number of terms (n)** you want to evaluate or sum (e.g., 7).
  4. Click **Calculate**. The calculator instantly displays the nth term (aₙ), the partial sum (Sₙ), and — if |r| < 1 — the infinite sum (S∞).
  5. Review the generated sequence list to verify each term and trace the pattern step by step.

Geometric Sequence Formulas

aₙ = a · rⁿ⁻¹

Sₙ = a · (1 − rⁿ) / (1 − r),  for r ≠ 1
Sₙ = n · a,                    for r = 1

S∞ = a / (1 − r),  for |r| < 1

A geometric sequence is fully defined by its first term (a) and its common ratio (r). Three core formulas power this calculator:

1. nth Term: The value of any term in the sequence.

2. Sum of First n Terms (Partial Sum): The total of the first n terms. This formula differs depending on whether r equals 1.

3. Infinite Sum (when |r| < 1): When the absolute value of the common ratio is less than 1, the infinite series converges to a finite value.

  • a — The first term of the geometric sequence (the starting value).
  • r — The common ratio — the constant multiplier applied to each term to get the next one. Can be any non-zero real number.
  • n — The position (index) of the desired term, or the number of terms to sum. Must be a positive integer.
  • aₙ — The value of the nth term in the geometric sequence.
  • Sₙ — The partial sum — the sum of the first n terms of the sequence.
  • S∞ — The infinite sum — the sum of all terms as n approaches infinity. Only defined (converges) when |r| < 1.

Worked Example: Geometric Sequence Calculation

First term a = 3, Common ratio r = 2, Number of terms n = 6
nth term: a₆ = 3 · 2^(6−1) = 3 · 2⁵ = 3 · 32 = 96

Partial sum: S₆ = 3 · (1 − 2⁶) / (1 − 2) = 3 · (1 − 64) / (−1) = 3 · (−63) / (−1) = 3 · 63 = 189

Sequence: 3, 6, 12, 24, 48, 96

Result: 6th term (a₆) = 96 | Sum of first 6 terms (S₆) = 189 | Infinite sum: not applicable (r = 2, |r| ≥ 1)

What Your Result Means

With a first term of 3 and a common ratio of 2, every term doubles the previous one. The 6th term reaches 96, and the running total of all six terms is 189. Because the ratio r = 2 is greater than 1 in absolute value, the sequence grows without bound and has no finite infinite sum — the series diverges.

Understanding Geometric Sequence

Understanding Geometric Sequences

What Makes a Sequence Geometric?

A sequence is geometric if the ratio between consecutive terms is constant. For example, 5, 15, 45, 135 … has a common ratio of 3 because each term is three times the previous one. Contrast this with an arithmetic sequence, where the difference between terms is constant.

Common Ratio Behavior

  • r > 1: Terms grow exponentially (e.g., compound interest, population growth).
  • 0 < r < 1: Terms shrink toward zero (e.g., radioactive decay, depreciation).
  • r < 0: Terms alternate in sign (e.g., −2, 4, −8, 16 …).
  • r = 1: All terms are identical; the sum is simply n × a.
  • r = 0: Not a valid geometric sequence (division by zero in formulas).

Convergence of Infinite Series

The infinite geometric series converges only when |r| < 1. When |r| ≥ 1, adding infinitely many terms produces an infinitely large (or oscillating) result. The classic example is the series 1 + 1/2 + 1/4 + 1/8 + … = 2, where a = 1 and r = 1/2.

Real-World Applications

  • Finance: Compound interest, loan amortization, and annuity calculations are grounded in geometric series.
  • Physics: Bouncing ball height decay, resonance, and wave attenuation follow geometric patterns.
  • Biology: Bacterial doubling time and population modeling use geometric growth.
  • Computer Science: Binary tree node counts, algorithmic complexity (e.g., O(2ⁿ)), and memory allocation patterns.

Geometric vs. Arithmetic Sequences

| Feature | Geometric | Arithmetic | |---|---|---| | Pattern | Multiply by r | Add d | | nth Term | a · rⁿ⁻¹ | a + (n−1)d | | Sum | a(1−rⁿ)/(1−r) | n/2 · (2a + (n−1)d) | | Infinite Sum | a/(1−r) if |r|<1 | Diverges always |

Common Mistakes

  • **Confusing r = 0 with a valid ratio.** A common ratio of zero is undefined for a geometric sequence and will break the formulas.
  • **Off-by-one errors in the exponent.** The nth term formula uses rⁿ⁻¹, not rⁿ. For the 1st term, the exponent must be 0 so that a₁ = a.
  • **Applying the infinite sum formula when |r| ≥ 1.** The infinite sum S∞ = a/(1−r) is only valid when the absolute value of r is strictly less than 1.
  • **Mixing up the partial sum formula when r = 1.** When r = 1, the standard formula produces 0/0. Use Sₙ = n·a instead.
  • **Entering a negative first term and expecting only positive terms.** If a is negative, all terms inherit the sign pattern based on r.
  • **Treating a geometric sequence as arithmetic.** Remember: geometric sequences multiply; arithmetic sequences add. Using the wrong formula gives a completely wrong answer.

Common Questions About Geometric Sequence

What is the difference between a geometric sequence and a geometric series?

A **geometric sequence** is the ordered list of terms (e.g., 2, 6, 18, 54). A **geometric series** is the *sum* of those terms (e.g., 2 + 6 + 18 + 54 = 80). This calculator handles both: it lists sequence terms and computes the partial or infinite series sum.

How do I find the nth term without calculating all previous terms?

Use the direct formula aₙ = a · rⁿ⁻¹. You only need the first term, the common ratio, and the desired position n. There is no need to compute every intermediate term.

When does a geometric series diverge?

A geometric series diverges (grows without limit or oscillates infinitely) whenever |r| ≥ 1. This means r ≥ 1 or r ≤ −1. Only when −1 < r < 1 does the infinite series converge to a finite value.

Can a geometric sequence have a first term of zero?

No. If a = 0, every subsequent term is also 0, and the common ratio is undefined (0/0). A geometric sequence requires a non-zero first term.

How is a geometric sequence related to exponential functions?

The nth term formula aₙ = a · rⁿ⁻¹ is essentially a discrete exponential function. Continuous exponential growth f(x) = a · eˣ is the continuous analogue. This is why geometric sequences model phenomena like compound interest and radioactive decay that are often described with exponential equations.

Frequently Asked Questions

What is the common ratio of a geometric sequence?

The common ratio (r) is the fixed multiplier between consecutive terms. You can find it by dividing any term by the term that immediately precedes it: r = aₙ / aₙ₋₁. For example, in the sequence 4, 12, 36, 108, the ratio is 12/4 = 3.

Can the common ratio be negative?

Yes. A negative common ratio causes the terms to alternate in sign. For instance, with a = 5 and r = −2, the sequence is 5, −10, 20, −40, 80 … The partial sum formula still works correctly with negative values of r.

How do I find how many terms are in a geometric sequence if I know the first and last terms?

Use the nth term formula and solve for n: aₙ = a · rⁿ⁻¹ → n = log(aₙ/a) / log(r) + 1. This requires a, r, and the last known term aₙ.

What happens to the sum when r is a fraction like 1/2?

When |r| < 1, each additional term contributes less and less to the total. The partial sum approaches — but never exceeds — the infinite sum S∞ = a/(1−r). For a = 1 and r = 1/2, the infinite sum equals 2.

Is this calculator suitable for geometric series in finance?

Absolutely. Geometric series underpin compound interest and annuity formulas. However, for precise financial decisions, always consult a licensed financial advisor, as real-world calculations may include fees, taxes, and rounding conventions not captured here.

Related Calculators

Sources

Only sources that have been reviewed are shown. Unverified citations are never published.

Spotted a calculation error?Report an Error