Geometric Sequence and Series Calculator for Terms, Common Ratio and Sums

Find an nth term, finite or infinite sum, add a selected range, or reconstruct a geometric sequence from two known terms.

Choose what to calculate

Examples

Values can be decimals or fractions, such as 0.25, 1/3 or −3/4.

Geometric sequence and series formulas

A geometric sequence changes by multiplication: each term is the preceding term multiplied by the same common ratio, r. A geometric series is the result of adding those terms.

aₙ = a₁rⁿ⁻¹
aₙ = raₙ₋₁
Sₙ = a₁(1 − rⁿ) ÷ (1 − r), when r ≠ 1
S∞ = a₁ ÷ (1 − r), only when |r| < 1

The explicit formula jumps directly to any position. The recursive formula describes one step and also needs a starting value. When r = 1, every term is a₁ and the finite sum is na₁.

How to tell if a sequence is geometric

Divide each term by the one before it. If every division gives the same number, the sequence is geometric and that number is the common ratio. For 5, 15, 45, 135, each division gives 3. If instead the differences are all the same, the sequence is arithmetic.

FeatureArithmeticGeometric
Each stepadds dmultiplies by r
Example4, 7, 10, 134, 8, 16, 32
nth terma₁ + (n − 1)da₁rⁿ⁻¹
Graph of the termspoints on a straight linepoints on an exponential curve
Infinite sumnever finite unless every term is 0finite when |r| < 1

Any three consecutive terms of a positive geometric sequence share a neat property: the middle one is the geometric mean of its neighbours. In 4, 8, 16, the middle term is √(4 × 16) = 8.

Where the sum formula comes from

Write the sum S = a + ar + ar² + … + arⁿ⁻¹. Multiply every term by r to get rS = ar + ar² + … + arⁿ. The two lines share all but two terms, so subtracting them leaves S − rS = a − arⁿ. Factor and divide: S = a(1 − rⁿ) ÷ (1 − r).

When |r| < 1, rⁿ shrinks towards zero as n grows, so the sum approaches a ÷ (1 − r). That is why 1/2 + 1/4 + 1/8 + … adds up to exactly 1.

Finding which term reaches a value

To find the position n of a value, solve a₁rⁿ⁻¹ = aₙ with logarithms: n = 1 + log(aₙ ÷ a₁) ÷ log(r). If n comes out as a whole number, the value is in the sequence. If not, round up to find the first term that passes it.

Say 1,000 grows by 4% a year, so r = 1.04 and a₁ is the starting amount. For 1,500, n = 1 + log(1.5) ÷ log(1.04) ≈ 11.34. That isn’t a whole number, so 1,500 is never hit exactly. Term 12, which is 11 years of growth, is the first above it at about 1,539.45.

To find how many terms are needed for a total, the calculator adds terms one by one until the running sum reaches the target. For 2 + 6 + 18 + …, eight terms give 6,560 and nine give 19,682, so nine terms are needed to pass 10,000.

Finding a sequence from two known terms

Two indexed terms satisfy rᵏ²⁻ᵏ¹ = aₖ₂ ÷ aₖ₁, and then a₁ = aₖ₁ ÷ rᵏ¹⁻¹. If a₂ = 6 and a₅ = 162, then r³ = 27, so r = 3 and a₁ = 2. If the position gap is even, positive known terms can fit both a positive and a negative ratio; another term is needed to choose between them.

What the common ratio tells you

For a positive starting term, r > 1 produces growth, 0 < r < 1 produces decay, and r = 1 produces a constant sequence. A negative ratio alternates signs. If |r| > 1, magnitudes grow; if |r| < 1, they shrink toward zero. A ratio of zero gives a₁ followed by zeros.

An infinite geometric sum exists only when |r| < 1. The terms then approach zero quickly enough for the running total to approach a fixed number.

Adding only part of a sequence

For terms m through n, use Sₙ − Sₘ₋₁. The calculator’s range mode performs both finite sums and subtracts the earlier terms.

Where geometric sequences appear

Compound growth: a balance that grows 5% each period is multiplied by 1.05, provided no extra deposits or withdrawals occur.

Depreciation and decay: equipment retaining 80% of its value yearly has r = 0.8; an amount halving each half-life has r = 0.5. These are discrete models, unlike continuous exponential models.

Repeated rebounds: a ball reaching 70% of its previous height has peak-height ratio 0.7. Total distance is related but counts most heights twice.

Computing: binary trees and repeated doubling use r = 2. Full-level node counts are 1, 2, 4, 8, …, and their cumulative count is a finite geometric sum.

Three real-world examples

Savings with compound interest

1,000 earning 4% a year, with no deposits or withdrawals, follows 1,000, 1,040, 1,081.60, … with r = 1.04. After 10 years the balance is 1,000 × 1.04¹⁰ ≈ 1,480.24. That is term 11, because the first term is the starting balance before any growth.

Radioactive decay

An 80 g sample of an isotope with a 6-hour half-life halves every 6 hours: 80, 40, 20, 10, 5. After 24 hours, four half-lives, 5 g remain. The terms keep halving but never reach zero.

A bouncing ball

A ball dropped from 10 m rebounds to 70% of its previous height each time. The rebound heights 7, 4.9, 3.43, … form a geometric sequence with r = 0.7, and they add up to 7 ÷ (1 − 0.7) ≈ 23.33 m. The ball travels each rebound height twice, up and down, plus the first 10 m drop, so it covers about 10 + 2 × 23.33 ≈ 56.67 m in total.

Worked examples

For 2, 6, 18, 54, …, the sixth term is 2 × 3⁵ = 486 and the first six terms total 728. Since |3| > 1, the infinite series does not converge.

For 12, 6, 3, 1.5, …, r = 0.5 and the infinite sum is 12 ÷ (1 − 0.5) = 24. The first four terms total 22.5, leaving 1.5 between that partial sum and its limit.

Common mistakes

Do not confuse a sequence with its series: aₙ is one term, while Sₙ is a total. Use n − 1 in the term formula because a₁ is zero ratio-steps from itself. Divide consecutive terms in the same direction, and never use the infinite-sum formula unless |r| < 1.

Geometric sequence practice questions and FAQs

What is the 8th term of 5, 10, 20, 40, …?

The ratio is 2, so a₈ = 5 × 2⁷ = 640.

What is the sum of the first 7 terms of 3, 6, 12, …?

S₇ = 3(1 − 2⁷) ÷ (1 − 2) = 381.

Does 9 + 3 + 1 + 1/3 + … have a sum to infinity?

Yes. Its ratio is 1/3, so the sum is 9 ÷ (1 − 1/3) = 13.5.

Why does 4 − 8 + 16 − 32 + … not converge?

Its ratio is −2. The signs alternate, but the term magnitudes double and do not approach zero.

If a₃ = 20 and a₆ = 160, what are r and a₁?

r³ = 8, so r = 2. Then a₁ = 20 ÷ 2² = 5.

Can the ratio be negative or zero?

Yes. A negative ratio alternates signs. A zero ratio produces the first term followed by zeros.

Is a geometric sequence an exponential function?

They share repeated multiplication, but a sequence uses discrete whole-number positions while an exponential function normally has a continuous domain.

Why can two known terms sometimes give two ratios?

An even power can have positive and negative real roots. If the terms are an even number of steps apart, another term may be needed.

How do I know if a sequence is geometric?

Divide each term by the one before it. If you get the same number every time, it is geometric. For 5, 15, 45, 135, every division gives 3.

What is the sum of 1/2 + 1/4 + 1/8 + …?

Exactly 1. The first term is 1/2 and the ratio is 1/2, so the infinite sum is (1/2) ÷ (1 − 1/2) = 1.

How do I find the number of terms in a geometric sequence?

If you know the first term, the ratio and the last term, use n = 1 + log(last ÷ first) ÷ log(r). For 3, 6, 12, …, 768, n = 1 + log(256) ÷ log(2) = 9.

What is the difference between arithmetic and geometric sequences?

An arithmetic sequence adds the same amount each step, while a geometric sequence multiplies by the same amount. Arithmetic terms lie on a straight line; geometric terms follow an exponential curve.

← All basic math calculators