Skip to content
1001 Tools
sr
Math & education

Geometric Sequence Calculator

Enter the first term, the common ratio and how many terms you need to get the last term and the total of a geometric sequence — a list where each term is the one before it multiplied by a fixed ratio. The first few terms are listed so you can see the pattern.

Enter a first term, a common ratio and how many terms.

How it works

A geometric sequence multiplies by a constant ratio r each step: starting at a₁, the terms are a₁, a₁·r, a₁·r², and so on. The nth term is aₙ = a₁·r^(n−1) — you multiply by the ratio (n−1) times, since the first term is already in place.

The sum of the first n terms is Sₙ = a₁·(rⁿ−1)/(r−1) when r isn’t 1, and simply a₁·n when r equals 1. The ratio can be a fraction (a shrinking sequence), negative (terms alternate sign), or greater than 1 (rapid growth). Growth with a ratio above 1 over many terms can exceed the number range, in which case the tool reports it rather than showing infinity.

Practical examples

Compound doubling

A culture that doubles every hour starting from 100 cells is geometric with a₁ = 100, r = 2. After 8 hours (the 9th term) it is 100·2⁸ = 25,600 cells.

A halving series

With a₁ = 1 and r = 0.5, the terms 1, ½, ¼, ⅛, … add up ever closer to 2. The first five sum to 1.9375, illustrating a convergent geometric series.

Alternating signs

A first term of 3 and ratio −2 gives 3, −6, 12, −24. A negative ratio flips the sign every step, so the sum of these four terms is −15.

Frequently asked questions

What is a geometric sequence?

A list of numbers where each term is found by multiplying the previous one by a fixed number, the common ratio. 3, 6, 12, 24 is geometric with a ratio of 2.

What is the common ratio?

It is the constant multiplier between consecutive terms, written r. You find it by dividing any term by the one before it: in 5, 15, 45 the ratio is 15 ÷ 5 = 3.

What is the formula for the nth term?

aₙ = a₁·r^(n−1), where a₁ is the first term, r the common ratio and n the position. The exponent is n−1 because the first term needs no multiplication.

How is the sum of the series calculated?

Sₙ = a₁·(rⁿ − 1) ÷ (r − 1) for any ratio other than 1. When r is exactly 1 every term equals a₁, so the sum is simply a₁ × n.

What is the difference between a geometric and an arithmetic sequence?

A geometric sequence multiplies by a fixed ratio each step; an arithmetic sequence adds a fixed amount. 2, 6, 18 is geometric (×3); 2, 5, 8 is arithmetic (+3).

Can the ratio be a fraction or negative?

Yes. A ratio between −1 and 1 makes the terms shrink toward zero, and a negative ratio makes them alternate between positive and negative. Both work here.

What is a convergent geometric series?

When the ratio’s size is less than 1, the infinite sum settles on a finite value, a₁ ÷ (1 − r). For a₁ = 1 and r = 0.5 that limit is 2, which the partial sums approach as you add terms.

Why does a large ratio give an out-of-range error?

A ratio bigger than 1 raised to a high power grows past the largest number the browser can represent (about 1.8 × 10³⁰⁸). Rather than display infinity, the tool tells you the result is out of range.

Is my input uploaded?

No. The sequence is generated and summed entirely in your browser; nothing you type is sent anywhere.

Related tools