Audited 29 Jul 2026·Last updated 31 Jul 2026·5 citations·Tier 1·0 uses

Geometric Sequence Calculator

Find the nth term, common ratio, first term or term count of a geometric sequence, plus the partial sum and whether the infinite series converges.

Geometric Sequence Calculator

What do you want to find?
Must not be zero — a zero first term makes every later term zero and the ratio unrecoverable.
The constant factor each term is multiplied by. Must not be zero. Negative values alternate the sign of the terms.
A whole number of 1 or more. Ignored when you are solving for n.
Ignored when you are solving for aₙ. Used as the known term in the other three modes.
nth term (aₙ)
4,374
The value at position n, computed as a₁ × r^(n − 1).
Sum of the first n terms (Sₙ)
6,560
Infinite series
Diverges — |r| = 3 is not below 1, so the terms never shrink toward zero.
First term (a₁)
2
Common ratio (r)
3
Number of terms (n)
8
Explicit rule
aₙ = 2 × 3^(n − 1)
Sequence
2, 6, 18, 54, 162, 486, …, 4374 (8 terms, growing by a factor of 3)

Background.

A geometric sequence multiplies rather than adds. Each term is the one before it multiplied by the same fixed factor — the common ratio, written r. Start at 2 with r = 3 and you get 2, 6, 18, 54, 162, 486, 1458, 4374. Start at 3 with r = 0.5 and you get 3, 1.5, 0.75, 0.375, and terms that keep halving forever without ever reaching zero. That single difference from an arithmetic sequence, multiply instead of add, is what makes geometric sequences the mathematics behind compound interest, radioactive decay, population growth, the halving of a signal through successive attenuators, and the reason a folded sheet of paper gets thick so alarmingly fast.

This calculator solves the progression in all four directions. Give it the first term, the ratio and a position and it returns the term there. Give it two terms and their separation and it recovers the ratio. Give it a target value and it finds which position that value occupies, or tells you plainly that the value is not on the sequence at all. Every mode also reports the sum of the run, the explicit rule, a preview of the terms, and — the output that has no counterpart on the arithmetic page — whether the corresponding infinite series converges.

That convergence verdict is the most interesting thing a geometric sequence does, and it is the reason this page reports it as a sentence rather than a number. When the ratio sits strictly between −1 and 1, the terms shrink toward zero fast enough that adding infinitely many of them still lands on a finite total, and OpenStax gives that limit as S = a₁/(1 − r). When the ratio is 1 or larger in size, the terms never shrink and the partial sums run away; there is no finite answer to print, so printing one would be a lie. The classic demonstration is a₁ = 0.9 with r = 0.1: the infinite sum 0.9 + 0.09 + 0.009 + … equals 0.9/0.9 = exactly 1, which is the standard proof that 0.999… and 1 are the same number. Type those two values in and the page says so.

The page is 1-indexed: a₁ is the first term, so the n-th term is a₁ × r^(n − 1) and the exponent is one less than the position. It is worth knowing that the Encyclopedia of Mathematics writes the same progression 0-indexed, as aⱼ = a₀qʲ, which describes an identical sequence with every index shifted down by one. If your source uses that convention, its a₀ is this page's a₁.

One genuine ambiguity is worth flagging before you read a ratio the calculator solved for. If you know a₁ and a later term separated by an even number of steps — say the first term is 1 and the third term is 16 — then both r = 4 and r = −4 produce that third term, because squaring kills the sign. Two real sequences fit your data, 1, 4, 16 and 1, −4, 16. The page returns the positive root and says so here rather than pretending the answer is unique. When the separation is an odd number of steps the root is unique and no ambiguity arises. And when the ratio of the two terms is negative while the separation is even, no real ratio exists at all — an even power of a real number is never negative — so the calculator refuses rather than inventing one.

If your terms increase by a fixed amount rather than a fixed factor, you want the arithmetic sequence calculator. If you have a list of numbers and are not sure which family they belong to, the sequence calculator identifies it. And if you want a sum whose index starts somewhere other than 1, or a sum of squares or cubes, the sum of series calculator handles sigma notation directly.

What is geometric sequence calculator?

A geometric sequence — also called a geometric progression — is a sequence in which each term is the previous term multiplied by a fixed non-zero number. OpenStax College Algebra 2e §9.3 puts it as: 'Each term of a geometric sequence increases or decreases by a constant factor called the common ratio.' The Encyclopedia of Mathematics is explicit that the multiplier must be non-zero: 'a sequence of numbers each one of which is equal to the preceding one multiplied by a number q ≠ 0.' The n-th term is aₙ = a₁r^(n−1). The sum of the first n terms — a finite geometric series — is Sₙ = a₁(1 − rⁿ)/(1 − r) whenever r ≠ 1, and simply n × a₁ when r = 1. If the ratio satisfies −1 < r < 1, the infinite series converges to S = a₁/(1 − r); otherwise it diverges. Geometric sequences describe anything that changes by a constant proportion per step: compound interest, radioactive decay measured in half-lives, bacterial doubling, depreciation at a fixed percentage per year, or the amplitude of a bouncing ball losing the same fraction of its height on each bounce.

How to use this calculator.

  1. Pick what you want to find — the nth term, the common ratio, the first term, or the number of terms.
  2. Fill in the three fields that mode needs. The field being solved for is ignored, so leave whatever is in it.
  3. Read the hero number, then the partial sum, and then the infinite-series line, which tells you whether adding terms forever converges and to what.
  4. Check the sequence preview: it shows the opening terms and the final term, and says whether the run grows, shrinks, stays constant or alternates in sign.
  5. If you solved for the common ratio across an even number of steps, remember that the negative ratio of the same size fits your data equally well — the page shows the positive one.

The formula.

aₙ = a₁·r^(n−1) · Sₙ = a₁(1 − rⁿ) ⁄ (1 − r) · S∞ = a₁ ⁄ (1 − r), |r| < 1

Getting from term 1 to term n takes n − 1 multiplications by r, so aₙ = a₁r^(n−1). The partial-sum formula comes from a one-line trick: write Sₙ, multiply the whole thing by r, subtract, and every term cancels except the first and the last, leaving Sₙ(1 − r) = a₁(1 − rⁿ) and therefore Sₙ = a₁(1 − rⁿ)/(1 − r). That derivation divides by 1 − r, so r = 1 has to be handled separately — with every term equal to a₁ the sum is just n × a₁, and this calculator branches on that case rather than letting it become 0/0. Letting n grow without bound, rⁿ tends to zero precisely when |r| < 1, which turns the partial-sum formula into S = a₁/(1 − r); outside that window rⁿ does not vanish and there is no limit. Rearranging the term formula gives the inverse solves: a₁ = aₙ/r^(n−1), and r = (aₙ/a₁)^(1/(n−1)). That root is where the ± ambiguity lives — with an even number of steps both signs work, and with an odd number only one does. Solving for the number of terms uses logarithms, n = 1 + ln|aₙ/a₁| ⁄ ln|r|, and because a logarithm never lands exactly on an integer in floating-point arithmetic, this page does not compare the log against an epsilon. It rounds the log to a candidate position, then recomputes a₁r^(candidate−1) and checks that against your aₙ at a relative tolerance of 1e-9 — which also enforces the sign parity when r is negative. Everything else is carried at full decimal precision and rounded once, at the end, to 10 decimal places; nothing is rounded at an intermediate step. Both verdicts on the page — whether the infinite series converges, and the growing/shrinking/constant/alternating word in the preview — are classified from the unrounded ratio, so a ratio of 0.999999999999 is still correctly called convergent even though the rounded output beside it reads 1.

A worked example.

Example

A culture starts with 2 cells and triples every hour. How many cells are there after 8 measurement points, and how many cell-hours have accumulated across all eight? The first term a₁ is 2 and the common ratio r is 3, so the run is 2, 6, 18, 54, 162, 486, 1458, 4374. Reaching the eighth term takes seven triplings, not eight, so the nth term output is 2 × 3⁷ = 2 × 2187 = 4374. The sum of the first n terms output applies the closed form 2(1 − 3⁸)/(1 − 3) = 2 × (1 − 6561)/(−2) = 6560, which you can confirm by adding the eight terms by hand: 2 + 6 = 8, + 18 = 26, + 54 = 80, + 162 = 242, + 486 = 728, + 1458 = 2186, + 4374 = 6560. The explicit rule output reports aₙ = 2 × 3^(n − 1). The infinite series line reports divergence, because |r| = 3 is not below 1 and the terms grow rather than shrink — there is no finite total to converge on. Switching the mode selector to 'the common ratio' and entering a₁ = 2, aₙ = 4374, n = 8 recovers r = 3, since 2187 is 3 to the seventh power; switching it to 'the number of terms' and entering 4374 recovers a term count of 8.

first Term2
nth Term Value4,374
common Ratio3
number Of Terms8
solve FornthTerm

Frequently asked questions.

What is the formula for the nth term of a geometric sequence?
aₙ = a₁ × r^(n − 1), where a₁ is the first term and r is the common ratio. The exponent is n − 1 rather than n because it takes seven multiplications to get from the first term to the eighth. OpenStax College Algebra 2e §9.3 states it in this form.
How do I find the common ratio?
Divide any term by the one before it — r = aₙ₊₁/aₙ — and the answer is the same wherever you do it. If you only know two terms that are further apart, r = (aₙ/a₁)^(1/(n−1)). Choose the 'common ratio' mode and enter the first term, the later term and its position. Note the caveat below about even step counts.
Why does the calculator sometimes say there are two possible ratios?
Because there genuinely are. If the two terms you supply are separated by an even number of steps, the ratio only appears at an even power, and squaring destroys the sign — so +r and −r both reach the same target. First term 1 with third term 16 fits both 1, 4, 16 and 1, −4, 16. The page returns the positive root and flags the ambiguity rather than pretending the answer is unique. With an odd number of steps the root is unique.
When does an infinite geometric series converge?
Exactly when the common ratio satisfies −1 < r < 1, that is when |r| is strictly below 1. Then the terms shrink toward zero fast enough for the running total to settle on the finite limit S = a₁/(1 − r). At |r| = 1 or above the terms never shrink and the partial sums have no limit. The page reports this as a sentence rather than a number because a divergent series has no value to print.
Does 0.999… really equal 1?
Yes, and this calculator shows why. Write 0.999… as the geometric series 0.9 + 0.09 + 0.009 + …, which has a₁ = 0.9 and r = 0.1. Since |r| < 1 the series converges, and its sum is a₁/(1 − r) = 0.9/0.9 = 1 exactly. Enter those two values and the infinite-series line reads 'Converges to 1'. This is not an approximation or a rounding artefact; the two notations name the same real number.
What is the sum of a geometric series?
For a finite run of n terms, Sₙ = a₁(1 − rⁿ)/(1 − r) whenever r ≠ 1, and n × a₁ when r = 1. The derivation divides by 1 − r, which is why r = 1 needs its own branch — the calculator handles it separately instead of returning a division-by-zero error. For an infinite run the sum only exists when |r| < 1, where it equals a₁/(1 − r).
Can the common ratio be negative or zero?
Negative, yes — it makes the terms alternate in sign, as in 5, −5, 5, −5 with r = −1, or 1, −0.5, 0.25, −0.125 with r = −0.5. Zero, no. The Encyclopedia of Mathematics definition requires the multiplier to be non-zero, and with r = 0 the run collapses to a₁, 0, 0, 0 … after the first step, which is not a geometric progression. The calculator rejects r = 0 with that explanation.
How is a geometric sequence different from an arithmetic one?
An arithmetic sequence adds a fixed amount each step; a geometric sequence multiplies by a fixed factor. 3, 8, 13, 18 is arithmetic (d = 5). 3, 6, 12, 24 is geometric (r = 2). Arithmetic terms lie on a straight line and grow without limit; geometric terms lie on an exponential curve and, uniquely, can have a finite infinite-sum when the ratio is small enough. Use the arithmetic sequence calculator for the additive case.
Where do geometric sequences appear in real problems?
Anywhere something changes by a constant percentage or factor per step: compound interest and investment growth, radioactive decay measured in half-lives, bacterial or viral doubling, straight-percentage depreciation, the successive heights of a bouncing ball, signal attenuation through a chain of identical stages, and the classic wheat-on-a-chessboard problem where doubling 64 times outruns the world's grain supply. For money-framed versions the exponential growth and future value calculators are usually the more direct tool.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 977 calculators remain free
  • No billing is enabled
Coming soon