Your Equation

Library / Foundations: Maths / FMA-37

Foundations: Maths

Geometric series sum

Sum of n terms where each term is r times the one before.

Ref
FMA-37
Rev
v1
Field
Foundations: Maths
Result
S

a is the first term and r the common ratio, so the terms are a, ar, ar², … and n is how many are added. For |r| < 1 the sum approaches a/(1 − r) as n grows. When r = 1 the formula is replaced by S = na.

Sum of n terms where each term is r times the one before. If r is below 1 the sum settles towards a limit; above 1 it grows without bound.

Calculator

Solve for
0.01100
0.13
140
  • Last term a·rⁿ⁻¹512
  • Last term as a share of the sum50.05 %

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Sum of terms () current value 1,023
nNumber of termsKey driver
11.1e12
aFirst term
10.2102,000
rCommon ratio
1.1129,500
  • Doubling ten times from 1 gives 1 + 2 + 4 + … + 512 = 1023, one less than the next term, 1024: each term is larger than all the earlier ones together.
  • Compound growth with a rate i per period is a geometric series with r = 1 + i; the same formula totals regular payments or repeated-decay effects.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
n Number of terms1 to 40 11.1e121.1e12+1 +100 %
a First term0.01 to 100 10.23102,300102,300+10%+10 %
r Common ratio0.1 to 3 1.11129,52029,520+10%+116 %

Sweep of Common ratio

Common ratioSum of terms
0.11.111
0.46251.86
0.8254.88
1.18824.41
1.55143.7
1.913716.3
2.2752,912
2.6389,948
329,520

Sweep one variable

Sum of terms ()Hover, touch, or use the arrow keys on the chart
0500010k15k20k25k30k 0.511.522.53 Common ratio now 1,023

Variables and how each one contributes

S

Sum of terms

Result ·

What the equation gives you. Everything else feeds it.

a

First term

· typical 0.01 to 100

The first term of the series. Scales every term, so the sum is directly proportional to a.

r

Common ratio

· typical 0.1 to 3

The factor each term is multiplied by to give the next. Very strong when r is above 1: a 10 % rise in r from 2 to 2.2 raises the sum of ten terms by about 116 %. For r below 1 it matters much less.

n

Number of terms

· typical 1 to 40

The number of terms added. With r above 1 each extra term roughly doubles the sum again (at r = 2); with r below 1 extra terms add less and less.

Worked example with the values above

  1. Ratio to the power n: rⁿ = 210 = 1,024.
  2. Numerator: |1 − rⁿ| = 1,023; denominator: |1 − r| = 1. Both are negative when r is above 1, so the signs cancel.
  3. Sn = 1 × 1,023 / 1 = 1,023.

Assumptions and limits

  • A constant ratio between neighbouring terms.
  • n is a positive whole number; r ≠ 1 in the formula (r = 1 gives na).

Common mistakes

  • Using n instead of rⁿ in the numerator.
  • Using the sum-to-infinity formula when r ≥ 1, where it does not apply.

Statistics and uncertainty

For r above 1 small errors in r are heavily amplified: at the defaults a 1 % error in r gives about an 8 % error in the sum. For r below 1 the sum is insensitive to r after the first few terms.

Where it is used

  • Totals under repeated growth or decay, such as compound interest or repeated halving.
  • Counting the nodes in a branching tree.

Maths you need

  • Geometric sequences: each term is r times the one before
  • Indices: rⁿ

Related formulas

Practise this formula