Sequences & Series

Geometric Series Formula

The sum of the first nn terms of a geometric series with first term aa and common ratio rr is

Sn=a(1−rn)1−rS_n = \frac{a(1-r^n)}{1-r}

Try it with your numbers

Show every step

Find aa, rr and the number of terms nn, and the whole addition becomes one calculation.

A series is a geometric sequence with plus signs between the terms, so everything below depends on one idea: each term is the previous one times rr. The sections that follow show where the formula comes from, how it behaves with negative and fractional ratios, and how to run it backwards when the sum is known and nn is not.

Geometric series formula: the sum of the first n terms

A finite geometric series looks like this:

a+ar+ar2+ar3+⋯+arn−1.a + ar + ar^2 + ar^3 + \dots + ar^{n-1}.

The exponents start at 0, so the last term carries the power n−1n-1, while the formula uses rnr^n. Mixing these up is the single most common slip. If a series has 8 terms, its last term has the exponent 7, but the formula still says r8r^8.

Three quantities go in:

  • aa is the first term of the series
  • rr is the common ratio, found by dividing any term by the one before it
  • nn is the number of terms you are adding

The formula has an equivalent form, Sn=a(rn−1)r−1S_n = \dfrac{a(r^n-1)}{r-1}. It is the same expression with top and bottom multiplied by −1-1. Use it when r>1r > 1, because every quantity stays positive and you avoid a sea of negatives. Parentheses matter here: compute the power first, subtract from 1, and divide the whole numerator by 1−r1-r. A few minutes with order of operations practice problems removes most arithmetic errors in this formula.

Two forms, one result

a(1−rn)1−r\frac{a(1-r^n)}{1-r} and a(rn−1)r−1\frac{a(r^n-1)}{r-1} are identical. Pick the one where the denominator is positive.

Where does the geometric series formula come from?

Two shifted rows of geometric series terms where the middle terms cancel when subtracted
Shifting the series by one place makes every middle term cancel, leaving S − rS = a − arⁿ.

The proof is one move: multiply the sum by rr and subtract. Write the sum, then write rr times the sum directly beneath it:

Sn=a+ar+ar2+⋯+arn−1S_n = a + ar + ar^2 + \dots + ar^{n-1}

rSn=a+ar+ar2+⋯+arn−1+arnrS_n = \phantom{a +{}} ar + ar^2 + \dots + ar^{n-1} + ar^n

Multiplying by rr slides every term one place to the right. Subtract the second line from the first and every middle term cancels, leaving only the first term of the top line and the last term of the bottom line:

Sn−rSn=a−arn.S_n - rS_n = a - ar^n.

Factor both sides to get Sn(1−r)=a(1−rn)S_n(1-r) = a(1-r^n), then divide by 1−r1-r. That division is exactly why r=1r = 1 is excluded: it would mean dividing by zero.

The shift works because each term is rr times the one before it, which is the recursive formula for a geometric sequence. The same trick, with a=1a=1 and r=2r=2, shows why 1+2+4+⋯+2n−1=2n−11 + 2 + 4 + \dots + 2^{n-1} = 2^n - 1. Doubling sums are always one less than the next power of two.

Quick check

Simplify (1−r)(1+r+r2+r3)(1-r)(1+r+r^2+r^3).

How do you find the sum of a geometric series?

Follow the same three steps every time: identify aa, find rr by dividing neighbouring terms, and count nn. Then substitute and simplify.

Example 1. Find the sum of the first 8 terms of 5+10+20+…5 + 10 + 20 + \dots

Here a=5a = 5, r=10÷5=2r = 10 \div 5 = 2, and n=8n = 8.

S8=5(1−28)1−2=5(1−256)−1=5(−255)−1=1275.S_8 = \frac{5(1-2^8)}{1-2} = \frac{5(1-256)}{-1} = \frac{5(-255)}{-1} = 1275.

A quick sanity check: the eighth term is 5⋅27=6405 \cdot 2^7 = 640. For a ratio of 2, the sum is always twice the last term minus the first term, and 2(640)−5=12752(640) - 5 = 1275. The two methods agree.

If the problem gives you only the first term, the last term and rr, there is no need to find nn at all. Because arn=r⋅(last term)ar^n = r \cdot (\text{last term}), the sum becomes S=a−r ℓ1−rS = \dfrac{a - r\,\ell}{1-r} where ℓ\ell is the last term. For Example 1: 5−2(640)1−2=1275\dfrac{5 - 2(640)}{1-2} = 1275.

Try this: Add 3+6+12+24+483 + 6 + 12 + 24 + 48 by hand. Then use the formula with a=3a=3, r=2r=2, n=5n=5. Both routes should give 93. Now change the ratio to 3 and see which route you would rather use for 12 terms.

Geometric series formula with negative or fractional ratios

The formula does not change, but the arithmetic needs care. When rr is negative, put it in parentheses before applying the exponent: (−13)6(-\tfrac13)^6 is positive, while −136-\tfrac13^6 would be negative. Also, 1−r1 - r turns into 1+131 + \tfrac13, so the denominator gets larger, not smaller.

Example 2. Find 81−27+9−3+1−1381 - 27 + 9 - 3 + 1 - \tfrac13.

The ratio is −27÷81=−13-27 \div 81 = -\tfrac13, with a=81a = 81 and n=6n = 6. Then (−13)6=1729\left(-\tfrac13\right)^6 = \tfrac{1}{729}.

S6=81(1−1729)1+13=81⋅72872943=728943=7289⋅34=1823.S_6 = \frac{81\left(1 - \tfrac{1}{729}\right)}{1 + \tfrac13} = \frac{81 \cdot \tfrac{728}{729}}{\tfrac43} = \frac{\tfrac{728}{9}}{\tfrac43} = \frac{728}{9}\cdot\frac{3}{4} = \frac{182}{3}.

Adding directly confirms it: 81−27=5481 - 27 = 54, then 6363, 6060, 6161, and finally 602360\tfrac23, which is 1823\tfrac{182}{3}.

Notice how the partial sums bounce on either side of a target (about 60.7560.75) and shrink toward it. That behaviour is typical of alternating series, and it is the doorway to the infinite geometric series formula.

Geometric series in sigma notation with any starting index

Sigma notation starting at k = 3 shows first term 54, with the wrong start of 2 giving 242
Substitute the lower bound to get the first term: 2·3³ = 54, giving 6534 instead of the slipped 242.

In sigma notation, a geometric series is written ∑k=mNc rk\sum_{k=m}^{N} c\,r^k. The first term is the one at the lower bound, not the coefficient cc. The number of terms is the upper bound minus the lower bound plus 1.

Example 3. Evaluate ∑k=372(3)k\sum_{k=3}^{7} 2(3)^k.

At k=3k=3 the first term is a=2⋅33=54a = 2 \cdot 3^3 = 54. Each step in kk multiplies by 3, so r=3r = 3. The count is n=7−3+1=5n = 7 - 3 + 1 = 5.

S5=54(1−35)1−3=54(1−243)−2=54(−242)−2=54⋅121=6534.S_5 = \frac{54(1-3^5)}{1-3} = \frac{54(1-243)}{-2} = \frac{54(-242)}{-2} = 54 \cdot 121 = 6534.

Check by listing: 54+162+486+1458+4374=653454 + 162 + 486 + 1458 + 4374 = 6534.

The trap is using a=2a = 2 because it looks like the first number. That answer would be 242, which is off by a factor of 27. Whenever the lower bound is not 0 or 1, evaluate the first term by substituting the lower bound.

Quick check

In ∑k=4102k\sum_{k=4}^{10} 2^k, what is the first term and how many terms are there?

How to find the number of terms or the ratio from a sum

When the sum is known, the formula becomes an equation. Isolate rnr^n, then solve for nn with logarithms if the answer is not obvious by inspection.

Suppose 3+6+12+…3 + 6 + 12 + \dots totals 3069. With a=3a = 3 and r=2r = 2:

3(2n−1)=3069  ⇒  2n−1=1023  ⇒  2n=1024  ⇒  n=10.3(2^n - 1) = 3069 \;\Rightarrow\; 2^n - 1 = 1023 \;\Rightarrow\; 2^n = 1024 \;\Rightarrow\; n = 10.

If 2n2^n were not a recognisable power, you would take logs and write n=ln⁡(…)ln⁡2n = \dfrac{\ln(\ldots)}{\ln 2}, using the logarithm rules to bring the exponent down. Since nn counts terms, it must be a whole number. A decimal answer means no series of that kind has exactly that sum.

Solving for rr is trickier. For n=3n = 3 the equation is a quadratic in rr. Take a=2a = 2 and S3=14S_3 = 14, so 2(1+r+r2)=142(1 + r + r^2) = 14, which gives r2+r−6=0r^2 + r - 6 = 0. Factoring gives (r+3)(r−2)=0(r+3)(r-2) = 0, so r=2r = 2 or r=−3r = -3. Both work: 2+4+8=142 + 4 + 8 = 14 and 2−6+18=142 - 6 + 18 = 14. Many students stop at the positive root, and that costs them half the answer. The quadratic formula practice problems help if factoring does not come quickly. For larger nn the equation has a higher degree and usually needs a calculator.

Geometric series vs arithmetic series formula

These two formulas are the ones most often confused. An arithmetic series adds a constant difference each time, while a geometric series multiplies by a constant ratio. To tell them apart, subtract neighbouring terms: if the differences match, it is arithmetic. Divide them: if the quotients match, it is geometric.

Arithmetic series Geometric series
Each step add dd multiply by rr
Sum of nn terms n(a1+an)2\dfrac{n(a_1 + a_n)}{2} a(1−rn)1−r\dfrac{a(1-r^n)}{1-r}
Growth linear exponential

A sequence can be neither. The Fibonacci sequence adds the two previous terms, and its ratios settle near 1.618 but are never exactly constant, so neither sum formula applies to it.

When the geometric series formula fails

The formula breaks at exactly one ratio: r=1r = 1. Then every term equals aa, so the sum is just Sn=naS_n = na. For example, 7+7+7+7+7=5⋅7=357 + 7 + 7 + 7 + 7 = 5 \cdot 7 = 35. The ratio r=−1r = -1 is fine, though: 5−5+5−55 - 5 + 5 - 5 gives 5(1−(−1)4)2=0\frac{5(1-(-1)^4)}{2} = 0.

Check the ratio first

If r=1r = 1, skip the fraction and use Sn=naS_n = na. For every other ratio, the formula holds, including negative and fractional ones.

The finite formula works for any r≠1r \neq 1, even when ∣r∣|r| is large. Problems begin only if the number of terms is endless. In that case, the sum exists only when ∣r∣<1|r| < 1, because only then does rnr^n shrink toward 0, leaving S=a1−rS = \dfrac{a}{1-r}. When ∣r∣≥1|r| \geq 1, the partial sums grow without limit or fail to settle, and no total exists.

Where is the geometric series formula used in real life?

Any quantity that repeatedly grows or shrinks by a fixed percentage produces a geometric series. Doubling is the dramatic case. One cent doubled daily for 30 days totals S30=230−1=1,073,741,823S_{30} = 2^{30} - 1 = 1{,}073{,}741{,}823 cents, or $10,737,418.23.

Savings plans are the practical case. Deposit $1000 at the end of each year at 5% interest for 10 years. The deposits are worth 1000(1.05)9,…,1000(1.05),10001000(1.05)^9, \dots, 1000(1.05), 1000, a geometric series with a=1000a = 1000, r=1.05r = 1.05, n=10n = 10:

S10=1000(1.0510−1)0.05≈$12,577.89.S_{10} = \frac{1000(1.05^{10} - 1)}{0.05} \approx \text{\textdollar}12{,}577.89.

Loan payments, drug doses that build up in the body, and the total distance of a bouncing ball all use the same structure. Identify the repeating multiplier, call it rr, and the rest is substitution.

Quick check

You deposit $200 at the end of each year for 3 years at 10% annual interest. What is the balance right after the third deposit?

How do you check a geometric series answer?

Before trusting a result, run it through quick tests:

  1. For a>0a > 0 and r>1r > 1, the sum must be larger than the last term. If it is not, an exponent or sign has slipped.
  2. For 0<r<10 < r < 1, the sum must lie between aa and a1−r\dfrac{a}{1-r}.
  3. Count the terms again and confirm the last term is arn−1ar^{n-1}.
  4. Compute S2=a(1+r)S_2 = a(1+r) and make sure it matches the first two terms.

The last-term version, S=a−rℓ1−rS = \dfrac{a - r\ell}{1-r}, gives a second, independent route to the same number. When both agree, the answer is almost certainly right. For more drills on all these skills, work through the geometric series practice problems.

Practice problems

0 of 5 solved

  1. Find the sum of the first 6 terms of 1+2+4+8+…1 + 2 + 4 + 8 + \dots

  2. Find the sum of the first 5 terms of 4+12+36+…4 + 12 + 36 + \dots

  3. Evaluate ∑k=173(−2)k−1\sum_{k=1}^{7} 3(-2)^{k-1}.

  4. How many terms of 2+6+18+…2 + 6 + 18 + \dots add up to 728?

  5. A geometric series has first term 2 and S3=26S_3 = 26. Find every possible ratio rr.

Common questions

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

For a finite series with first term aa, common ratio rr and nn terms, Sn=a(1−rn)1−rS_n = \frac{a(1-r^n)}{1-r} when r≠1r \neq 1. If r=1r = 1, every term equals aa, so the sum is simply nana.

How do you find n in the geometric series formula?

Count the terms, or compute nn as the upper index minus the lower index plus 1 when the series is in sigma notation. If nn is unknown, set SnS_n equal to the given sum, isolate rnr^n, then solve for nn with logarithms.

What is the difference between a geometric sequence and a geometric series?

A sequence is the list of terms, such as 3,6,12,243, 6, 12, 24. A series is those terms added together: 3+6+12+24=453 + 6 + 12 + 24 = 45.

Does the geometric series formula work for a negative common ratio?

Yes. Keep the negative sign inside parentheses when raising rr to the power nn, and remember that 1−r1 - r becomes 11 plus the size of rr.

When does a geometric series have a sum to infinity?

Only when ∣r∣<1|r| < 1. In that case the sum is a1−r\frac{a}{1-r}. If ∣r∣≥1|r| \geq 1, the partial sums never settle on one number.

Why is the exponent n and not n minus 1 in the sum formula?

The last term is arn−1ar^{n-1}, but multiplying the whole sum by rr pushes that term up to arnar^n. That extra power is what survives the subtraction and ends up in 1−rn1-r^n.

Up next