arⁿ

Geometric Sequence Calculator

The nth term, the sum of the first n terms and the sum to infinity of a geometric sequence, from the first term and the common ratio or from any two terms. Fractions stay exact, and when the infinite sum does not exist you are told why.

Math & AlgebraRuns in your browser

Result…

I know

A whole number, decimal or fraction, like 8, 0.5 or 2/3.

What each term is multiplied by to get the next. A fraction like 1/2 keeps the answers exact.

Gives the nth term and the sum of terms 1 to n.

 

…

How it's calculated

nth term: aₙ = a₁ × rⁿ⁻¹
Sum of n terms: Sₙ = a₁ (1 − rⁿ) ÷ (1 − r)  (r ≠ 1; with r = 1, Sₙ = n a₁)
Sum to infinity: S∞ = a₁ ÷ (1 − r), only when |r| < 1
From two terms: r^(q − p) = a_q ÷ a_p

Each term of a geometric sequence is the one before times a fixed common ratio r, so the nth term is a₁ multiplied by r, n − 1 times. The partial-sum formula comes from subtracting r × Sₙ from Sₙ: every middle term cancels, leaving a₁ − a₁rⁿ. When |r| < 1 the power rⁿ shrinks to 0 as n grows, so the sums approach a₁ ÷ (1 − r); when |r| ≥ 1 the terms never shrink and the series has no finite sum (with r = −1 the sums swing back and forth). From two known terms, the ratio raised to the number of steps between them equals their quotient; over an even number of steps both the positive and the negative root fit, and the positive one is used. Whole numbers, decimals and fractions are kept as exact fractions while they fit in 40 characters; otherwise answers are decimals.

Your numbers, step by step

    About the Geometric Sequence calculator

    This geometric sequence calculator handles lists where each term is the one before multiplied by the same ratio, like 81, 54, 36, 24. From the first term and the common ratio, or from any two terms and their positions, it finds the nth term, the sum of the first n terms and the sum to infinity. When the infinite sum does not exist, it says why: the ratio has to be between −1 and 1. Type fractions such as 2/3 and the answers stay exact fractions, which is what most algebra and calculus courses expect. Students use it for series homework and exam revision, and it is also handy for checking repeated halving, doubling or percentage growth. The working is shown step by step with your own numbers. For sequences that add a fixed amount, use the arithmetic sequence calculator.

    How to use it

    1. Pick “First term and ratio” or “Any two terms” under “I know”.
    2. Type the “First term a₁” and the “Common ratio r” as whole numbers, decimals or fractions like 2/3, or give two terms with their positions.
    3. Enter the “Number of terms n”.
    4. Read the nth term, the sum of n terms, the sum to infinity (or why there isn't one), the exact fractions and the first terms.

    Worked example

    A sequence starts at 81 with ratio 2/3: 81, 54, 36, 24, 16. The 5th term is 81 × (2/3)⁴ = 16. The sum of the first 5 terms is 81 × (1 − (2/3)⁵) ÷ (1 − 2/3) = 211. Because |r| = 2/3 is less than 1, the sum to infinity exists: 81 ÷ (1 − 2/3) = 243.

    Updated

    Questions people ask

    How do I find the nth term of a geometric sequence?

    Multiply the first term by the ratio n − 1 times: aₙ = a₁ × rⁿ⁻¹. With a₁ = 3 and r = 2, the 6th term is 3 × 2⁵ = 96.

    What is the formula for the sum of a finite geometric series?

    Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r) for any ratio except 1. When r = 1 every term is the same, so the sum is simply n × a₁.

    When does an infinite geometric series have a sum?

    Only when the ratio is strictly between −1 and 1. Then rⁿ shrinks towards zero and the sums settle on a₁ ÷ (1 − r). With |r| of 1 or more the terms never shrink, so the series diverges.

    How do I find the common ratio from two terms?

    Divide the later term by the earlier one, then take the root matching the number of steps between them. If the 2nd term is 6 and the 5th is 162, r³ = 162 ÷ 6 = 27, so r = 3. Over an even number of steps a negative ratio fits too.

    Why does the calculator refuse a ratio of 0 or a first term of 0?

    With either one at zero, every term after the first is zero, and no ratio links one term to the next. Most textbooks therefore require a non-zero first term and ratio.

    Why do some answers show as decimals instead of fractions?

    Exact fractions are kept while they fit in 40 characters. Very long fractions, ratios found from irrational roots (like √2) and very large n fall back to decimals rounded to 10 significant figures in the working.

    More in Math & Algebra