Geometric Series Sum Calculator
Compute finite and infinite geometric sums using the standard formulas below.
What Is a Geometric Summation?
A geometric summation is the total of terms in a geometric sequence, where each term is produced by multiplying the previous term by a constant ratio. If your first term is a and your ratio is r, then the first few terms are:
a, ar, ar2, ar3, ...
The sum of the first n terms is called a finite geometric sum. In many real-world situations, geometric sums appear naturally: compounding growth, repeated discounting, signal decay, population models, and recursive algorithms.
Finite Geometric Sum Formula
For ratio r ≠ 1, the sum of the first n terms is:
Sn = a(1 - rn) / (1 - r)
If r = 1, all terms are equal to a, so:
Sn = na
Quick Example
Suppose a = 3, r = 2, and n = 5. The sequence is 3, 6, 12, 24, 48. Sum: 3 + 6 + 12 + 24 + 48 = 93.
Using formula: S5 = 3(1 - 25) / (1 - 2) = 3(1 - 32)/(-1) = 93.
Infinite Geometric Sum (Convergence)
Some geometric series continue forever. These infinite sums only converge when the ratio magnitude is less than 1: |r| < 1.
When convergence holds:
S∞ = a / (1 - r)
If |r| ≥ 1, the infinite sum diverges (it does not settle to a single finite value).
Convergent Example
For a = 5 and r = 0.2: S∞ = 5/(1 - 0.2) = 6.25.
Where This Calculator Helps
- Finance: model repeated contributions, present value of level cash flows with growth/discount ratio.
- STEM: evaluate recurring attenuation, digital filter behavior, and energy distribution problems.
- Computer science: analyze divide-and-conquer costs and recurrence patterns.
- Learning: quickly verify textbook and homework calculations.
Common Mistakes to Avoid
- Using the infinite-sum formula when |r| ≥ 1.
- Confusing the number of terms n with the highest exponent.
- Forgetting the special case r = 1.
- Rounding too early in multistep calculations.
Practical Interpretation Tips
1) Sign of the ratio matters
If r is negative, terms alternate signs. The sum can still converge if |r| < 1.
2) Large powers can explode
For |r| > 1 and moderate n, rn grows very quickly, causing very large sums.
3) Near r = 1
If r is extremely close to 1, the series behaves almost like repeated addition of a constant term. Numerically, this can be sensitive, so calculator precision settings are useful.
FAQ
Can I use decimal or negative values for a and r?
Yes. The calculator accepts decimals, negatives, and zero values where mathematically valid.
What if n is not an integer?
For standard geometric summation, n should be a positive integer because it counts terms.
Does this calculator show both finite and infinite results?
Yes. It always computes the finite sum for n terms, and additionally displays the infinite sum when |r| < 1.