Geometric Sequence Calculator

A geometric sequence multiplies by the same ratio each time: aₙ = a₁ × rⁿ⁻¹. With a₁ = 2 and r = 3, the 5th term is 162 and the sum of the first five terms is 242. Since |r| ≥ 1, the infinite sum diverges.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is a Geometric Sequence?

A geometric sequence (or geometric progression) is a list of numbers where each term is the previous term multiplied by the same number, called the common ratio, r. The sequence 2, 6, 18, 54, 162… has r = 3. The sequence 10, 6, 3.6, 2.16… has r = 0.6 and shrinks.

Geometric sequences describe exponential change: compound interest, population growth, radioactive decay, a bouncing ball losing height, a virus spreading. Where an arithmetic sequence adds a fixed amount, a geometric sequence applies a fixed percentage, so it grows (or decays) faster and faster.

What the Ratio Does

Common ratio rBehaviourExample
r > 1Grows without limit2, 6, 18, 54, … (r = 3)
0 < r < 1Shrinks toward 010, 6, 3.6, … (r = 0.6)
r < 0Alternates in sign2, −6, 18, −54, … (r = −3)
r = 1Constant5, 5, 5, …

Geometric Sequence Formulas

nth term: aₙ = a₁ × rⁿ⁻¹ Sum of n terms: Sₙ = a₁ × (rⁿ − 1) ÷ (r − 1) (r ≠ 1) Infinite sum: S∞ = a₁ ÷ (1 − r) (only if |r| < 1)
  • a₁ is the first term.
  • r is the common ratio, found by dividing any term by the term before it.
  • n is the term number.
  • The infinite sum exists only when |r| < 1, because only then do the terms shrink to zero. For r = 1 the sum is simply n × a₁.

The infinite case has its own page: infinite geometric series calculator.

How Is It Calculated? Worked Examples

a₁ = 2, r = 3, n = 5

  1. 5th term: a₅ = 2 × 3⁴ = 2 × 81 = 162.
  2. Sum: S₅ = 2 × (3⁵ − 1) ÷ (3 − 1) = 2 × 242 ÷ 2 = 242.
  3. The terms: 2, 6, 18, 54, 162, and 2 + 6 + 18 + 54 + 162 = 242 ✓.
  4. Since |r| = 3 ≥ 1, the infinite sum diverges.

A Bouncing Ball

A ball dropped from 10 m rebounds to 60% of its previous height each time. The heights are 10, 6, 3.6, 2.16, 1.296, … The height after the 4th bounce is 10 × 0.6⁴ = 1.296 m, and the sum of the first five terms is 23.056 m. Because r = 0.6, the sum of all heights approaches 25 m.

Bacteria Doubling

500 bacteria that double every hour grow as 500, 1,000, 2,000, … After 6 hours, the 7th term is 500 × 2⁶ = 32,000, and the total of the seven values is 63,500.

Alternating Sequences

With a₁ = 2 and r = −3 the terms are 2, −6, 18, −54, 162, so the 5th term is 162 and the sum of five terms is 122. A negative ratio flips the sign each step.

Compound Interest

$1,000 at 5% per year is a geometric sequence with r = 1.05, so after 10 years it is worth 1,000 × 1.05¹⁰ = $1,628.89.

Finding r or n from Known Terms

If a₁ = 3 and a₄ = 24, then r³ = 24 ÷ 3 = 8, so r = 2. To find when a sequence starting at 1 and doubling first exceeds a million, solve 2ⁿ⁻¹ > 1,000,000. Since 2²⁰ = 1,048,576, the term number is n = 21.

How to Use This Geometric Sequence Calculator

  1. Enter the first term a₁.
  2. Enter the common ratio r. It can be a decimal or negative.
  3. Enter the term number n.
  4. Read the nth term, the partial sum Sₙ, the infinite sum (if it converges) and the first terms.

Where Geometric Sequences Are Used

  • Finance: compound interest, loan balances and the future value of investments.
  • Biology and public health: population growth and epidemic spread in early stages.
  • Physics and chemistry: radioactive decay and half-life follow r = 0.5 per half-life.
  • Computing: binary doubling, halving in binary search, and memory sizes.
  • Everyday life: depreciation of a car, bouncing balls and the spread of rumours.

What Are the Most Common Mistakes With the Geometric Sequence Calculator?

  • Confusing r with d. Geometric sequences multiply by r, arithmetic sequences add d.
  • Using n instead of n − 1 in the exponent. a₁ has r⁰ = 1.
  • Treating a percentage as the ratio. A 5% rise corresponds to r = 1.05, and a 20% fall to r = 0.8.
  • Using the infinite-sum formula when |r| ≥ 1. The sum does not exist.
  • Dividing by zero for r = 1. The finite-sum formula needs r ≠ 1.
  • Rounding the ratio. Small rounding errors in r grow quickly with n.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the formula for the nth term of a geometric sequence?

aₙ = a₁ × rⁿ⁻¹, where a₁ is the first term and r is the common ratio.

How do you find the common ratio?

Divide any term by the preceding term: r = a₂ ÷ a₁. It is the same for every consecutive pair.

How do you sum a geometric sequence?

Sₙ = a₁(rⁿ − 1) ÷ (r − 1). For 2, 6, 18, 54, 162 the sum is 2 × 242 ÷ 2 = 242.

When does an infinite geometric series have a sum?

Only when |r| &lt; 1. Then S∞ = a₁ ÷ (1 − r). If |r| ≥ 1 the terms do not shrink and the sum diverges.

What does a negative common ratio do?

It makes the terms alternate between positive and negative while their size grows or shrinks by |r| each step.

How is compound interest a geometric sequence?

Each year the balance is multiplied by 1 + rate, so the yearly balances form a geometric sequence with that ratio.