Geometric Sequence Calculator

Starting at 2 and multiplying by 3 produces 2, 6, 18, 54, 162, 486, 1458 and 4374 across eight terms. Their sum is 6560. Growth of 5% instead requires ratio 1.05; entering 5 means each term becomes five times the prior term.

For a negative ratio, signs alternate: a sequence starting at 2 with ratio −0.5 begins 2, −1, 0.5 and −0.25.

Geometric Sequence Calculator: inputs

Calculated result
Last term (aₙ)4,374
Sum of all terms6,560

Geometric Sequence Calculator: First term (a₁) sensitivity

Geometric Sequence Calculator: First term (a₁) and Last term (aₙ)5 calculations vary the “First term (a₁)” input while holding the other entered inputs constant.0012,18724,37436,56148,748

Geometric Sequence: worked example

First term (a₁)2
Common ratio (r)3
Number of terms (n)8
Last term (aₙ)4,374
Sum of all terms6,560

Geometric Sequence: formula

nth term = a₁ × rⁿ⁻¹; sum of n terms = a₁(1 − rⁿ) ÷ (1 − r), or n × a₁ when r = 1

Wolfram MathWorld: FiniteGeometricSeries

Enter the first term, the common ratio, which is the number each term is multiplied by, and the number of terms. The last term is a1 times r to the power n minus 1, and the sum is a1 times one minus r to the n divided by one minus r, or n times a1 when r is 1. The ratio can be a fraction or negative.

A ratio between minus 1 and 1 produces shrinking terms.

Geometric Sequence: changing First term (a₁)

First term (a₁)Last term (aₙ)Sum of all terms
000
12,1873,280
2 (example)4,3746,560
36,5619,840
48,74813,120

Geometric Sequence: compare input ranges

InputTested fromToLast term (aₙ): low inputLast term (aₙ): high inputSwing
Number of terms (n)791,45813,12211,664 (267%)
Common ratio (r)2.73.32,092.18,523.76,431.6 (147%)
First term (a₁)132,1876,5614,374 (100%)

Geometric Sequence: individual input comparisons

InputValueLast term (aₙ)Sum of all terms
First term (a₁)000
12,1873,280
24,3746,560
36,5619,840
48,74813,120
Common ratio (r)2.4917.31,571.1
2.72,092.13,321.5
34,3746,560
3.38,523.712,228.8
3.615,672.821,700.1
Number of terms (n)6486728
71,4582,186
84,3746,560
913,12219,682
1039,36659,048

Geometric Sequence: combined input changes

First term (a₁) / Common ratio (r)2.433.6
0000
1458.62,1877,836.4
2917.34,37415,672.8
31,375.96,56123,509.2
41,834.68,74831,345.7

Geometric Sequence: which assumptions move the result?

Geometric Sequence: Last term (aₙ) as Number of terms (n) changesLast term (aₙ) starts at 486. Moving Number of terms (n) from 6 to 10 changes it to 39,366, with First term (a₁) 2; Common ratio (r) 3 kept fixed.648671,45884,374913,1221039,366
Successive positions multiply instead of adding a constant difference. This example starts at 2 with ratio 3: seven terms end at 1,458, while nine terms end at 13,122. Two additional positions multiply the terminal value by nine. These are exact sequence calculations under the entered ratio, not observations of an investment or another process expected to grow that way.
Geometric Sequence: Last term (aₙ) as Common ratio (r) changesLast term (aₙ) starts at 917.3. Moving Common ratio (r) from 2.4 to 3.6 changes it to 15,672.8, with First term (a₁) 2; Number of terms (n) 8 kept fixed.2.4917.32.72,092.134,3743.38,523.73.615,672.8
The eighth term contains seven repeated multiplications after the starting value. Changing the ratio from 2.7 to 3.3 therefore moves that term from about 2,092.1 to 8,523.7, despite the relatively narrow ratio interval. The exponent explains the curved response. A negative or unit ratio needs its own interpretation; the formula's special sum case prevents division by zero at one.

Geometric Sequence: values and definitions

Quantity and definitionValue used
First term (a₁) — The starting value of the sequence.2
Common ratio (r) — The fixed multiplier applied at every step. A ratio between −1 and 1 shrinks toward zero.3
Number of terms (n) — How many terms to include, from 1 to 1,000.8
Last term (aₙ)4,374
Sum of all terms6,560

Geometric Sequence: half and double Number of terms (n)

Number of terms (n)Last term (aₙ)
454
84,374
1628,697,814

Common error: Treating a percentage growth rate as the ratio. Growth of 5 percent per step means a ratio of 1.05, not 5, and entering 5 overstates the last term enormously.

Terms grow very quickly for ratios above 1, so results can overflow. If the ratio is exactly 1 the sequence is constant, and if it is negative the terms alternate in sign. The finite sum formula divides by one minus r, which is why r equal to 1 is handled separately.

Real growth is rarely perfectly geometric.

A negative ratio alternates signs

For the assumed terms 3, −6, 12 and −24, the common ratio is −2 and the four-term sum is −15. A negative ratio changes the signs; it does not mean a constant subtraction. The finite geometric-sum formula works with this ratio even though an infinite series with absolute ratio greater than one does not converge.

At ratio one, add n copies of the first term rather than dividing by 1 − r. Distinguish a request for the nth term from a request for the sum through that term before using the answer. For the same first term three, choosing ratio one gives 3, 3, 3, 3 and a four-term sum of twelve.

Choosing ratio zero gives 3, 0, 0, 0 and sum three. The closed fraction with denominator one minus the ratio needs its special case at one, even though the finite sum itself is perfectly defined. A term number must be a whole counting position.

A fractional exponent of a negative ratio is a different problem from listing a real sequence at integer positions.

Algebra & Arithmetic calculators: Percent Difference Calculator, Proportion Calculator, Roman Numeral Calculator, Completing the Square Calculator, Dot Product Calculator, Mixed Number to Improper Fraction Calculator.

A geometric sequence multiplies by the same ratio each time, so it starts slowly and then dominates the total. Eight terms from 2 with a ratio of 3 end at 4,374, and the last term alone is two thirds of the 6,560 sum. That pattern is why compounding, doubling and viral spread surprise people, and why a ratio between negative one and one does the opposite and settles toward zero.

Look at the ratio first. Above 1 in size, the last term drives the sum. Below 1, the first few terms do.

Compare with the arithmetic sequence calculator, and apply the idea on the exponential growth and compound interest pages. The exponent and logarithm calculators solve for the number of terms, and the Fibonacci page shows a growth pattern that is nearly geometric. The rule of 72 estimates doubling time.

What is a geometric sequence?

A sequence in which each term is the previous term multiplied by a fixed ratio, such as 2, 6, 18, 54 with a ratio of 3.

Can a geometric series have an infinite sum?

Yes, when the ratio is between minus 1 and 1, the sum of infinitely many terms equals the first term divided by one minus the ratio.

How is it related to compound interest?

Compound interest multiplies the balance by one plus the rate each period, so the balances form a geometric sequence.