A geometric sequence (or geometric progression) is a list of numbers in which each term is the previous one multiplied by a fixed number, the common ratio : 3, 6, 12, 24… has ; 80, 40, 20, 10… has ; 1, −3, 9, −27… has . Money growing at a fixed interest rate, a population that increases by the same percentage every year, a ball that bounces back to 60% of its previous height, or a car that loses 15% of its value annually all follow geometric sequences.
This geometric sequence calculator answers the usual questions in one place. From the first term and the common ratio, it gives the nth term, the sum of the first n terms and, when , the sum to infinity. From any two terms, it finds the common ratio and the first term. And it tells you whether a value belongs to the sequence and at which position.
Results are exact whenever that is practical: fractional ratios such as stay fractions, decimals stay decimals, and very large or very small terms (think ) switch to scientific notation rather than overflowing. You can count from index 1 (, as in most English textbooks) or from index 0 (, as in French and Moroccan courses). A table lists the first terms with running sums, and the steps show every substitution.
How to use this calculator
- Choose what you know: the first term and the ratio, two terms, or a value whose position you want.
- Choose whether the sequence starts at index 1 or 0.
- Enter the values and the index of the term you need. The sum adds every term from the first one up to .
- Read the term, the sums, the explicit formula and the behaviour (increasing, decreasing, alternating); open the steps and the table for details.
The formula
With first term and common ratio :
The sum of the first terms () is
and when . If , the terms shrink towards 0 and the infinite series converges:
If (and ), the infinite sum does not exist.
From two terms and : , so . When is even, works too. Then .
Starting at index 0: and , because there are terms.
Worked example
nth term and sum. For 3, 6, 12, … (, ): $a_{10} = 3 \times 2^9 = $ 1536, and $S_{10} = 3 \times \dfrac{1 - 2^{10}}{1 - 2} = $ 3069.
From two terms. If and , then , so and .
Is 384 a term? gives , so 384 is .
Infinite sum. () adds up to , and .
Depreciation. A car bought for 20,000 that loses 15% a year is worth after 5 years: the 6th term of a sequence with .
The chessboard. One grain on the first square, doubling on each of the 64 squares: $1 + 2 + \dots + 2^{63} = 2^{64} - 1 = $ 18,446,744,073,709,551,615 grains.
Geometric or arithmetic?
In an arithmetic sequence you add the same number each time; in a geometric sequence you multiply by the same number. To test a list, divide each term by the previous one: if the quotients are all equal, the sequence is geometric and that quotient is . Equivalently, each term is the geometric mean of its neighbours: .
A ratio of means growth of per step, which is why compound interest, exponential growth and radioactive decay are geometric. Taking logarithms turns a geometric sequence into an arithmetic one: . That is also how the calculator finds the position of a value, with the logarithm of divided by , then an exact check.
When does the infinite sum exist?
The partial sums approach a finite limit only when the terms shrink to 0, that is when . With each new term halves the remaining gap to the limit, so gets as close to 2 as you like without passing it. With the sum grows without bound, and with it oscillates between and 0 forever: neither has a sum to infinity. Repeating decimals are a classic use: .
Frequently asked questions
How do you find the nth term of a geometric sequence?
Multiply the first term by the common ratio raised to the power n − 1: aₙ = a₁ × rⁿ⁻¹. For 3, 6, 12…, the 10th term is 3 × 2⁹ = 1,536.
What is the formula for the sum of a geometric sequence?
Sₙ = a₁(1 − rⁿ)/(1 − r) for r ≠ 1, and Sₙ = n × a₁ when r = 1. For 3, 6, 12… the first 10 terms add up to 3 × (2¹⁰ − 1) = 3,069.
How do I find the common ratio from two terms?
Divide the later term by the earlier one and take the root matching the gap between their positions: r = (aₘ/aₚ)^(1/(m − p)). With a₂ = 6 and a₅ = 162, r³ = 27, so r = 3. If the gap is even, −r is also a valid answer.
When does a geometric series have a sum to infinity?
Only when the absolute value of the ratio is less than 1. The sum is then a₁/(1 − r): 8 + 4 + 2 + … = 16. With |r| ≥ 1 the terms do not shrink and the series diverges.
Can the common ratio be negative or a fraction?
Yes. A negative ratio makes the signs alternate (1, −3, 9, −27…), and a ratio between 0 and 1 makes the terms shrink. Fractions such as 2/3 are handled exactly.
Why do French courses write uₙ = u₀ × qⁿ?
They usually number terms from 0 and call the ratio q. After n steps from u₀ you have multiplied by q exactly n times. If the sequence starts at u₁, the formula is uₙ = u₁ × qⁿ⁻¹. Choose the matching option above.
Sources
- OpenStax, Precalculus 2e — §11.3 Geometric Sequences
- OpenStax, Precalculus 2e — §11.4 Series and Their Notations (geometric series)
- Weisstein, Geometric Series — Wolfram MathWorld
Last updated: