Geometric Sequence Calculator

Next

A geometric sequence is a list of numbers where each term is the one before it multiplied by a fixed value called the common ratio. Enter the first term, the common ratio and how many terms you want, and this calculator returns the nth term, the sum of the first n terms and a preview of the sequence itself. Everything updates instantly in your browser as you type, so you can explore growth, decay and compounding patterns without doing the powers and roots by hand. It works with whole numbers, decimals, fractions written as decimals, and ratios below 1 for shrinking sequences.

How to use the geometric sequence calculator

  1. 1

    Enter the first term and ratio

    Type the first term (a₁) and the common ratio (r). A ratio above 1 grows the sequence; a ratio between 0 and 1 shrinks it.

  2. 2

    Choose how many terms

    Set the number of terms (n). The calculator finds the nth term and adds up the first n terms for you.

  3. 3

    Read the results

    See the nth term, the partial sum and a preview of the sequence, all recalculated as you change the inputs.

The formulas

In a geometric sequence every term equals the previous term times the common ratio r. Starting from the first term a₁:

aₙ = a₁ · r^(n−1)

The sum of the first n terms (the partial sum) is:

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

When the ratio is exactly 1 every term is the same, so the sum is simply Sₙ = n · a₁. If the ratio lies strictly between −1 and 1, the infinite sum converges to a₁ / (1 − r).

Worked example

Take a₁ = 2 and r = 3, and ask for n = 5 terms.

  • Sequence: 2, 6, 18, 54, 162
  • 5th term: a₅ = 2 · 3⁴ = 2 · 81 = 162
  • Sum: S₅ = 2 · (1 − 3⁵) / (1 − 3) = 2 · (1 − 243) / (−2) = 242

Each term is exactly 3× the one before it, and the five terms add up to 242.

Terms and partial sums at a glance

n Term aₙ = 2·3^(n−1) Sum Sₙ
1 2 2
2 6 8
3 18 26
4 54 80
5 162 242

Common pitfalls

  • Off-by-one on the exponent. The nth term uses r^(n−1), not rⁿ, the first term has no ratio applied yet.
  • Ratio of 1. Plug r = 1 into the main sum formula and you divide by zero. Use Sₙ = n · a₁ instead; this tool switches automatically.
  • Geometric vs. arithmetic. A geometric sequence multiplies by a fixed ratio; an arithmetic one adds a fixed difference. Mixing them up gives wildly wrong terms.
  • Negative ratios. A ratio like −2 alternates the sign of the terms (2, −4, 8, −16, …); that is valid and the calculator handles it.

Where geometric sequences show up

Geometric sequences model anything that grows or shrinks by a constant percentage each step. Compound interest multiplies a balance by the same factor every period, so the balances form a geometric sequence. Population growth, radioactive decay measured in half-lives, the bounce heights of a dropped ball, and the depreciation of an asset each year all follow the same pattern. Recognising the common ratio in real data lets you project the next value, estimate a running total, or judge whether the convergent infinite-sum formula applies when the ratio sits between −1 and 1.

Frequently Asked Questions

In a geometric sequence each term is the previous one multiplied by a fixed common ratio (2, 6, 18, …). In an arithmetic sequence each term is the previous one plus a fixed common difference (2, 5, 8, …). Geometric sequences grow or shrink exponentially; arithmetic ones change at a constant pace.

Use the closed-form formula aₙ = a₁ · r^(n−1). Multiply the first term by the common ratio raised to the power n − 1. For example, the 8th term of 2, 6, 18, … is 2 · 3⁷ = 4374. This calculator does that instantly.

Yes. A ratio between 0 and 1 (such as 0.5) makes the sequence shrink toward zero, and a negative ratio (such as −2) makes the signs alternate. Enter the value as a decimal and the calculator handles both cases correctly.

Your numbers are sent to the server only to run the calculation. They are not stored or used for any other purpose.

Related Tools

Tool available in other languages