Geometric Sequence Calculator

Find the common ratio, nth term, finite and infinite sums, missing terms and geometric means, with exact fractions and step-by-step working.

Enter a₁, r and n to find aₙ = a₁ · rⁿ⁻¹.

Fractions like 1/2 and negatives like −3 are fine.

Examples

The 6th term

a₆ = 486
First term a₁
2
Common ratio r
3
General term
aₙ = 23ⁿ⁻¹
Sequence
2, 6, 18, 54, 162, 486, …

Behaviour: |r| > 1: the size of the terms grows, toward +∞ (exponential growth).

Step-by-Step Solution

  1. Step 1 — Identify the values

    a₁ = 2

    r = 3

    n = 6

  2. Step 2 — Use the nth-term formula

    aₙ = a₁ · rⁿ⁻¹

  3. Step 3 — Substitute n = 6

    a₆ = 2 · 3^5

  4. Step 4 — Calculate

    3^5 = 243

    a₆ = 2 · 243 = 486

Final answer: a₆ = 486

Terms of the sequence

Term number n and term value aₙ
naₙDecimal
a₁2
a₂6
a₃18
a₄54
a₅162
a₆486

Chart of n against aₙ

Terms of the sequence plotted against their positionPoints (n, aₙ) for n = 1 to 6: (1, 2), (2, 6), (3, 18), (4, 54), (5, 162), (6, 486).0100200300400500123456term number n

Each term is the previous one multiplied by r = 3, so the points follow an exponential curve rather than a straight line.

Formula reference

FindFormulaCondition
nth termaₙ = a₁ · rⁿ⁻¹Any n = 1, 2, 3, …
Common ratior = aₙ / aₙ₋₁Consecutive nonzero terms; every ratio must be equal
Finite sumSₙ = a₁(1 − rⁿ)/(1 − r)r ≠ 1 (equivalently a₁(rⁿ − 1)/(r − 1))
Finite sum, r = 1Sₙ = n · a₁r = 1 (the formula above would divide by 0)
Infinite sumS∞ = a₁/(1 − r)Only when |r| < 1; otherwise the series diverges
Geometric meanG = √(ab)a and b of the same sign (usually positive)
k means between a and br = (b/a)^(1/(k + 1))A real root must exist

Sequence or series? The geometric sequence is the list of terms a₁, a₂, a₃, …; the geometric series is their sum a₁ + a₂ + a₃ + … The nth-term formula answers questions about the sequence; Sₙ and S∞ answer questions about the series.

If a constant amount is added each time instead of multiplied, use the Arithmetic Sequence Calculator. To add terms of either kind, try the Sequence Sum Calculator. For the ordinary (arithmetic) mean of a data set, use the Average Calculator; percentage growth, such as 5% per year, is a geometric sequence with r = 1.05, which the Percentage Calculator helps you set up. The Scientific Calculator handles powers and roots.

This geometric sequence calculator (geometric progression calculator) works with sequences where each term is the previous one multiplied by the same number, like 2, 6, 18, 54, … It finds the common ratio, any nth term, the sum of the first n terms, and the sum of an infinite geometric series when it converges. It also fills in missing terms, inserts geometric means and generates terms.

Every result shows the working step by step, together with a term table and a chart. Fractions stay exact, negative ratios produce alternating signs, and special cases such as r = 0, r = 1, zero terms and divergent series are handled explicitly.

Worked Calculation Examples

ScenarioResultCalculation Step
2, 6, 18, 54, … find a₆486r = 6/2 = 3, so a₆ = 2 · 3⁵ = 2 · 243 = 486.
Common ratio of 5, 15, 45, 135r = 315/5 = 45/15 = 135/45 = 3, so the ratio is constant and r = 3.
S₅ for 3, 6, 12, 24, 4893S₅ = 3(2⁵ − 1)/(2 − 1) = 3 · 31 = 93, the same as 3 + 6 + 12 + 24 + 48.
10 + 5 + 2.5 + 1.25 + …20|r| = 1/2 < 1, so the series converges: S∞ = 10/(1 − 1/2) = 20.
2, −4, 8, −16, … find a₈−256r = −2, so a₈ = 2 · (−2)⁷ = 2 · (−128) = −256. An odd power of a negative ratio is negative.
64, 32, 16, 8, … find a₇1r = 1/2, so a₇ = 64 · (1/2)⁶ = 64/64 = 1.
Is 2, 4, 8, 15 geometric?NoThe ratios are 2, 2 and 15/8. They are not all equal, so there is no common ratio.

What Is a Geometric Sequence?

A geometric sequence (or geometric progression) is a list of numbers in which each term is the previous term multiplied by a fixed number, the common ratio r. In 2, 6, 18, 54, … each term is 3 times the one before, so r = 3. In 64, 32, 16, 8, … each term is half the previous one, so r = 1/2.

Common Ratio

Divide any term by the one before it: r = aₙ/aₙ₋₁. For 5, 15, 45, 135: 15/5 = 3, 45/15 = 3 and 135/45 = 3, so r = 3. Check every pair: 2, 6, 12, 24 has ratios 3, 2 and 2, so it is not geometric, and averaging the ratios would be wrong.

Zero needs care. A ratio cannot be computed from 0/0, so 0, 0, 0, … does not determine r. In 5, 0, 0, … the first ratio 0/5 gives r = 0, and a sequence such as 0, 0, 5 cannot be geometric at all, because 0 × r is always 0.

Geometric Sequence Formula

The nth term is aₙ = a₁ · rⁿ⁻¹. To reach term n from term 1 you multiply by r once for each of the n − 1 steps. For 2, 6, 18, …: aₙ = 2 · 3ⁿ⁻¹, so a₆ = 2 · 3⁵ = 2 · 243 = 486.

How to Find the nth Term

Identify a₁ and r, then substitute n. For 3, 6, 12, 24, …: a₁ = 3 and r = 2, so a₇ = 3 · 2⁶ = 3 · 64 = 192. For 64, 32, 16, 8, …: a₇ = 64 · (1/2)⁶ = 64/64 = 1.

With a negative ratio, watch the sign: for 2, −4, 8, −16, … r = −2, so a₈ = 2 · (−2)⁷ = −256. Odd powers of a negative ratio are negative and even powers are positive.

How to Find the Sum of a Geometric Sequence

The sum of the first n terms is Sₙ = a₁(1 − rⁿ)/(1 − r), or equivalently a₁(rⁿ − 1)/(r − 1), which is easier when r > 1. For 3 + 6 + 12 + 24 + 48 + 96: S₆ = 3(2⁶ − 1)/(2 − 1) = 3 · 63 = 189.

The formula cannot be used when r = 1, because it would divide by 0. Then every term equals a₁ and Sₙ = n · a₁. When r = 0 only the first term is nonzero, so Sₙ = a₁.

Infinite Geometric Series

An infinite geometric series a₁ + a₁r + a₁r² + … converges only when |r| < 1. Then rⁿ → 0 and the partial sums approach S∞ = a₁/(1 − r). For 10 + 5 + 2.5 + 1.25 + …, r = 1/2 and S∞ = 10/(1 − 1/2) = 20. A negative ratio also works: with a₁ = 8 and r = −1/2, S∞ = 8/(3/2) = 16/3.

If |r| ≥ 1 the series diverges and has no sum. With r = 2 the terms grow without bound; with r = 1 the sum keeps adding a₁; with r = −1 the partial sums keep jumping between a₁ and 0. Using a₁/(1 − r) in these cases gives a meaningless number.

Geometric Mean

The geometric mean of two positive numbers a and b is G = √(ab). It is the middle term of the geometric sequence a, G, b: the geometric mean of 4 and 16 is √64 = 8, and 4, 8, 16 has r = 2.

To insert k geometric means between a and b, solve b = a · r^(k+1) for r and multiply by r repeatedly. Two means between 2 and 54 give r³ = 27, r = 3 and the sequence 2, 6, 18, 54. When k + 1 is even, −r works too; when b/a is negative and k + 1 is even, no real means exist.

How to Find a Missing Term

Use two known terms. If they are next to each other, divide to get r. If they are m positions apart, their ratio is rᵐ: in 81, __, 9, 3 the terms 81 and 9 are two apart, so r² = 1/9 and r = ±1/3; the term 3 = 9 · r fixes r = 1/3, so the missing term is 27.

If only two terms are known and they are an even number of positions apart, both signs of r can work. In 2, __, 18 the missing term could be 6 or −6, and a good answer says so.

Geometric Sequence vs Arithmetic Sequence

An arithmetic sequence adds the same number each time: 2, 5, 8, 11 has common difference d = 3. A geometric sequence multiplies by the same number: 2, 6, 18, 54 has common ratio r = 3.

Arithmetic sequences grow linearly, so their graph of n against aₙ is a straight line. Geometric sequences grow or decay exponentially. To tell which you have, check whether the differences or the ratios of consecutive terms are constant.

Geometric Sequence vs Geometric Series

The sequence is the list of terms: 2, 6, 18, 54, … The series is the sum of those terms: 2 + 6 + 18 + 54 + … A finite series adds the first n terms (Sₙ); an infinite series adds all of them and only has a value (S∞) when |r| < 1. “Find the 5th term” is a sequence question; “find the total of the first 5 terms” is a series question.

Growth and Decay

For a positive first term: r > 1 gives growth (2, 6, 18, …); 0 < r < 1 gives decay toward 0 (64, 32, 16, …); r = 1 gives a constant sequence; r = −1 flips between a₁ and −a₁; −1 < r < 0 shrinks toward 0 while alternating in sign; and r < −1 grows in size while alternating. A negative first term flips every sign but not the size pattern.

Percentage growth is geometric: growing 5% per year means multiplying by r = 1.05, and losing 20% per year means r = 0.8.

Worked Examples

2, 6, 18, 54, …: r = 3 and a₆ = 2 · 3⁵ = 486.

5, 15, 45, 135: r = 15/5 = 3, confirmed by 45/15 and 135/45.

3 + 6 + 12 + 24 + 48: S₅ = 3(2⁵ − 1)/(2 − 1) = 93.

10 + 5 + 2.5 + 1.25 + …: |r| = 1/2 < 1, so it converges to 10/(1 − 1/2) = 20.

2, −4, 8, −16, …: r = −2 and a₈ = 2(−2)⁷ = −256.

64, 32, 16, 8, …: r = 1/2 and a₇ = 64(1/2)⁶ = 1.

2, 4, 8, 15: the ratios are 2, 2 and 15/8, so it is not geometric.

Common Mistakes

Using rⁿ instead of rⁿ⁻¹ in the nth-term formula. Dividing in the wrong order (a₁/a₂ instead of a₂/a₁), which inverts r. Losing the sign of a negative ratio, for example writing −2⁷ when you mean (−2)⁷. Using Sₙ = a₁(1 − rⁿ)/(1 − r) when r = 1. Giving an infinite sum when |r| ≥ 1. Averaging unequal ratios. Treating 0/0 as a ratio. Confusing the sequence (the terms) with the series (their sum).

How to Use the Geometric Sequence Calculator

  1. Choose a mode: find the nth term, work from given terms, find a finite sum, test an infinite series, generate terms, fill in a missing term, or find geometric means.
  2. Enter the values. Numbers can be whole, negative, decimal or fractions such as 1/2. Separate terms with commas and mark a missing term with __ or ?.
  3. Press Calculate, or tap an example. Results stay exact (1/2, 16/3) with decimals alongside; very large terms are shown in scientific notation and marked ≈.
  4. Follow the step-by-step solution. When you enter terms, every ratio is shown and the calculator says plainly if the sequence is not geometric. Zero terms are handled without dividing by zero.
  5. For an infinite series, check the convergence condition |r| < 1 first: the calculator only gives a sum when the series actually converges.

Frequently Asked Questions

What is a geometric sequence?

A sequence in which each term is the previous term multiplied by the same number, the common ratio r. For example 2, 6, 18, 54, … has r = 3.

How do you find the common ratio?

Divide a term by the term before it: r = aₙ/aₙ₋₁. Check every consecutive pair; if the ratios differ, the sequence is not geometric. A ratio cannot be taken from two zero terms, because 0/0 is undefined.

What is the geometric sequence formula?

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

How do you find the nth term?

Find a₁ and r, then substitute into aₙ = a₁ · rⁿ⁻¹. For 3, 6, 12, 24, …, a₇ = 3 · 2⁶ = 192.

How do you find the sum of a geometric sequence?

For r ≠ 1 use Sₙ = a₁(1 − rⁿ)/(1 − r). For a₁ = 2, r = 3 and n = 5, S₅ = 2(1 − 243)/(1 − 3) = 242. If r = 1, Sₙ = n · a₁.

What is the difference between a sequence and a series?

A sequence is the list of terms (2, 6, 18, …); a series is their sum (2 + 6 + 18 + …). The nth term belongs to the sequence; Sₙ and S∞ belong to the series.

When does an infinite geometric series converge?

Only when |r| < 1, that is −1 < r < 1. Then the terms shrink toward 0 and the partial sums approach a finite limit. For |r| ≥ 1 the series diverges and has no sum.

What is the formula for an infinite geometric series?

S∞ = a₁/(1 − r), valid only when |r| < 1. For 10 + 5 + 2.5 + …, S∞ = 10/(1 − 1/2) = 20.

Can a geometric sequence have a negative ratio?

Yes. The terms then alternate in sign: 2, −6, 18, −54, … has r = −3. With −1 < r < 0 the alternating terms shrink toward 0, and the infinite series still converges.

Can the common ratio be zero?

Yes, but it is a degenerate case: the first term is followed by zeros (5, 0, 0, …). Every term after the first is 0 and the sum of n terms is just a₁. Many textbooks require r ≠ 0 in the definition.

What is a geometric mean?

For two positive numbers a and b, G = √(ab): the middle term of the geometric sequence a, G, b. The geometric mean of 4 and 16 is 8.

How do you find a missing term in a geometric sequence?

Use two known terms to find r (if they are m positions apart, their ratio is rᵐ), then multiply or divide by r to fill the gap. In 2, 6, __, 54 the ratio is 3, so the missing term is 18.

What is the difference between arithmetic and geometric sequences?

An arithmetic sequence adds a constant difference (2, 5, 8, 11 with d = 3); a geometric sequence multiplies by a constant ratio (2, 6, 18, 54 with r = 3). Arithmetic growth is linear; geometric growth is exponential.

Last updated: September 27, 2026.