Geometric Series

Sums the first n terms of a geometric sequence—those where each term is the previous one times a constant—using a single formula instead of adding.

Sn=a11rn1r,r1S_n = a_1 \frac{1 - r^{n}}{1 - r}, \quad r \neq 1

Solve a problem with Geometric Series

Type the problem. The solver will use Geometric Series where Geometric Series is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Geometric Series takes
SnS_n
a1a_1
rr
nn
Geometric Series
SymbolMeaning
SnS_nThe sum of the first n terms of the sequence; what you are solving for.
a1a_1The first term in the geometric sequence; the starting value.
rrThe common ratio—the constant factor you multiply by each time; if r1|r| \geq 1, the terms grow or stay large.
nnThe number of terms you are adding; must be a positive integer.

When to use it

Use this formula when you have a geometric sequence and need to find the sum of the first n terms.

Level

Usually taught in: Algebra II

Worked examples

1. Find the geometric series sum with positive integer values

Problem

Find the sum of the first 4 terms of the geometric sequence with first term 2 and common ratio 3.
  1. S4=213413S_4 = 2 \cdot \frac{1 - 3^4}{1 - 3}

    We apply the geometric series formula Sn=a11rn1rS_n = a_1 \frac{1 - r^n}{1 - r} with a1=2a_1 = 2, r=3r = 3, and n=4n = 4.

  2. 34=813^4 = 81

    We compute the exponent using order of operations.

  3. S4=218113=2802S_4 = 2 \cdot \frac{1 - 81}{1 - 3} = 2 \cdot \frac{-80}{-2}

    We substitute the power result and simplify the numerator and denominator.

  4. S4=240=80S_4 = 2 \cdot 40 = 80

    The negative signs cancel: 802=40\frac{-80}{-2} = 40, then 240=802 \cdot 40 = 80.

Answer: S4=80S_4 = 80

We plugged the values into the formula and followed the order of operations, computing the power first, then simplifying the fraction, then the multiplication. The negative signs in both numerator and denominator cancelled, giving a positive sum.

2. Find the sum with a negative fractional ratio

Problem

Find the sum S5S_5 for a geometric series with a1=64a_1 = 64 and r=12r = -\frac{1}{2}.
  1. S5=641(12)51(12)S_5 = 64 \cdot \frac{1 - (-\frac{1}{2})^5}{1 - (-\frac{1}{2})}

    We apply the formula with a1=64a_1 = 64, r=12r = -\frac{1}{2}, n=5n = 5.

  2. (12)5=132(-\frac{1}{2})^5 = -\frac{1}{32}

    Odd powers of negative numbers are negative, so (12)5=132(-\frac{1}{2})^5 = -\frac{1}{32}.

  3. S5=641(132)1(12)=64333232S_5 = 64 \cdot \frac{1 - (-\frac{1}{32})}{1 - (-\frac{1}{2})} = 64 \cdot \frac{\frac{33}{32}}{\frac{3}{2}}

    We simplify by handling double negatives: 1(132)=1+132=33321 - (-\frac{1}{32}) = 1 + \frac{1}{32} = \frac{33}{32} and 1(12)=1+12=321 - (-\frac{1}{2}) = 1 + \frac{1}{2} = \frac{3}{2}.

  4. S5=64333223=23323=44S_5 = 64 \cdot \frac{33}{32} \cdot \frac{2}{3} = \frac{2 \cdot 33 \cdot 2}{3} = 44

    We divide fractions by multiplying by the reciprocal, then simplify by cancelling 64÷32=264 \div 32 = 2, giving 1323=44\frac{132}{3} = 44.

Answer: S5=44S_5 = 44

This problem has a negative common ratio, which makes the exponent calculation tricky—we have to remember that odd powers of negative numbers are negative. We also encountered fractions in both the numerator and denominator, requiring us to carefully work through the algebraic simplification before getting the final answer.

3. Find the population density sum over a two-leg road trip

Problem

You're on a road trip split into two legs: you drive to an intermediate city for the first leg, then complete your journey for the second leg. On leg 1, you pass through 2 towns; on leg 2, you pass through 3 towns. In each town, you check the local population density. The first town has a density of 100 people per square mile. Each subsequent town, as you travel further from the urban center, has twice the population density of the previous town. What is the sum of the population densities of all 5 towns?
  1. S5=10012512S_5 = 100 \cdot \frac{1 - 2^5}{1 - 2}

    We apply the geometric series formula with a1=100a_1 = 100, r=2r = 2, n=5n = 5.

  2. 25=322^5 = 32

    We compute the power.

  3. S5=10013212=100311S_5 = 100 \cdot \frac{1 - 32}{1 - 2} = 100 \cdot \frac{-31}{-1}

    We substitute the power result into the formula.

  4. S5=10031=3100S_5 = 100 \cdot 31 = 3100

    The negative signs cancel, and 311=31\frac{-31}{-1} = 31.

Answer: S5=3100 people per square mileS_5 = 3100 \text{ people per square mile}

This is a classic geometric series problem embedded in a real-world scenario. We identified the first term and ratio from the problem description, applied the formula, computed the exponent, and simplified. The negative signs in both numerator and denominator cancelled, leaving us with a positive answer for the sum of densities.

Common mistakes

Where Geometric Series usually goes wrong
Answer came out wrong
Writing Sn=a1(1rn)S_n = a_1(1 - r^n) without the denominator.
Always use the complete formula: Sn=a11rn1rS_n = a_1 \frac{1 - r^n}{1 - r}.
Using the formula when r=1r = 1.
When r=1r = 1, all terms are equal to a1a_1, so Sn=na1S_n = n \cdot a_1 (simply add a1a_1 to itself nn times).
Forgetting that odd powers of a negative rr are negative.
When you compute rnr^n with r<0r < 0, check if nn is odd or even: if odd, rnr^n is negative; if even, rnr^n is positive.
The mistakeWhy it is wrongThe fix
Writing Sn=a1(1rn)S_n = a_1(1 - r^n) without the denominator.The formula requires you to divide by 1r1 - r, which adjusts for the repeated multiplication. Forgetting the denominator gives a value that is off by a factor of 1r1 - r.Always use the complete formula: Sn=a11rn1rS_n = a_1 \frac{1 - r^n}{1 - r}.
Using the formula when r=1r = 1.When r=1r = 1, the denominator 1r=01 - r = 0, making the formula undefined. You cannot divide by zero.When r=1r = 1, all terms are equal to a1a_1, so Sn=na1S_n = n \cdot a_1 (simply add a1a_1 to itself nn times).
Forgetting that odd powers of a negative rr are negative.If rr is negative and nn is odd, then rnr^n is negative, not positive. This flips the sign of the numerator and can lead to sign errors in the final answer.When you compute rnr^n with r<0r < 0, check if nn is odd or even: if odd, rnr^n is negative; if even, rnr^n is positive.

Tips and when to use something else

  • If r=1r = 1, don't use the geometric series formula—instead use Sn=na1S_n = n \cdot a_1 since every term equals a1a_1.
  • The order of operations matters: compute rnr^n first (the exponent), then subtract from 1 in the numerator, then divide by 1r1 - r.
  • If you have an infinite geometric series (infinitely many terms) and r<1|r| < 1, use the infinite sum formula S=a11rS = \frac{a_1}{1 - r} instead.
  • Check that your final answer is positive or negative in a way that makes sense: if all terms are positive, the sum must be positive.

Frequently asked questions

Do I use the geometric series formula if I'm given the first few terms and need to find one specific term?
No—to find a specific term, use the geometric sequence formula an=a1rn1a_n = a_1 \cdot r^{n-1}. The geometric series formula only applies when you need the sum of multiple terms.
What if my common ratio is negative? Does the formula still work?
Yes, the formula works for negative ratios too. Just remember that negative ratios create alternating signs in your series—the sum will oscillate between increasing and decreasing values as nn grows, and you must track signs carefully when raising rr to powers.
What happens if my common ratio is exactly 1-1?
The formula still works. You'll get alternating behavior: Sn=a1S_n = a_1 when nn is odd and Sn=0S_n = 0 when nn is even. This is because the positive and negative terms cancel out perfectly when nn is even.
Why do I have to use 1r1 - r in the denominator instead of r1r - 1?
The formula is derived by multiplying the series by rr and subtracting to cancel most terms. Using r1r - 1 as the denominator would give you the negative of the correct answer; the formula is standardized as 1rn1r\frac{1 - r^n}{1 - r}.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18