Geometric Series Sum Calculator
A geometric progression (GP) is a sequence where each term equals the previous one multiplied by a constant ratio r. Enter first term a, common ratio r and number of terms n to instantly get the nth term aₙ, the partial sum Sₙ, the mean, the infinite sum (when |r| < 1) and a preview of the first 30 terms. Widely used in school maths (GCSE / A-Level / HKDSE), compound interest derivations, exponential population growth, half-life problems and Zeno-style paradoxes.
First term and common ratio must be finite. Number of terms must be an integer between 1 and 1,000.
nth term aₙ
512
Sum of first n terms Sₙ
1,023
Mean a̅
102.3
Infinite sum S∞
—
|r| ≥ 1 — the infinite series diverges.
First 30 terms
At most the first 30 terms are listed — extend with the formula.
aₙ = a · r^(n − 1) Sₙ = a · (1 − rⁿ) / (1 − r) S∞ = a / (1 − r) when |r| < 1
aₙ = a · r^(n−1) Sₙ = a · (1 − rⁿ) / (1 − r) S∞ = a / (1 − r) [|r| < 1]
Each term is the previous one multiplied by a fixed common ratio r. When |r| < 1 the infinite sum converges to a / (1 − r); otherwise it diverges.
Formula
aₙ = a · r^(n − 1) Sₙ = a · (1 − rⁿ) / (1 − r) when r ≠ 1 Sₙ = n · a when r = 1 S∞ = a / (1 − r) when |r| < 1
- · First term a and common ratio r may be any real numbers; this tool supports up to 1,000 terms (further terms quickly exceed double-precision range when |r| > 1).
- · When |r| < 1 the terms shrink toward zero and the infinite sum S∞ converges to a / (1 − r).
- · When |r| ≥ 1 (apart from r = 1 in the limit) the infinite sum diverges and has no finite value.
- · When r = 1 the standard formula divides by zero; use the special case Sₙ = n · a instead.
- · When r = −1 the terms alternate between +a and −a, giving partial sums of 0 (even n) or a (odd n) and a divergent infinite sum.
- · Geometric mean: if a, b, c form a GP then b² = a · c (with matching signs).
- · Compound interest A = P · (1 + r/m)^(m·t) is just the nth term of a GP; annuity and present-value formulas come from Sₙ.
- · References: Stewart, Calculus (sequences & series appendix); standard A-Level / SAT II / IB Mathematics sequence chapters.
Frequently asked
How is a geometric series different from an arithmetic series?
In an arithmetic progression each term adds a fixed amount d (e.g. 2, 5, 8, 11 with d = +3). In a geometric progression each term multiplies by a fixed ratio r (e.g. 2, 6, 18, 54 with r = 3). Arithmetic captures linear growth (a fixed monthly raise); geometric captures exponential growth (compound interest, population doubling, radioactive decay). Sum formulas differ: Sₙ = n/2 · (2a + (n − 1)d) for arithmetic; Sₙ = a · (1 − rⁿ) / (1 − r) for geometric.
When does the infinite geometric sum converge?
The infinite sum converges if and only if the absolute value of the common ratio is less than 1 (|r| < 1, i.e. −1 < r < 1). The terms then shrink toward zero and Sₙ approaches the limit S∞ = a / (1 − r). Classic example: 1 + 1/2 + 1/4 + 1/8 + … = 2 (a = 1, r = 0.5). When |r| ≥ 1 the terms do not shrink (or grow unboundedly) and the sum diverges, so no finite total exists.
Why does r = 1 need a different formula?
The general formula Sₙ = a · (1 − rⁿ) / (1 − r) has 1 − r in its denominator. When r = 1 that denominator becomes zero, so the formula is undefined. But when r = 1 the sequence is just a, a, a, … (a constant sequence) and its partial sum is obviously Sₙ = n · a. This calculator handles that edge case automatically.
Can I use this to compute compound interest or annuities?
You can use it to understand the underlying maths, but a dedicated tool is faster. Compound interest is the nth term of a GP (each period multiplies by 1 + i), and a fixed-payment annuity total is the sum of a GP. For those use cases, see this site's dedicated Compound Interest, Annuity Payment and Present Value calculators.
Related tools
Percentage Calculator
Percent of, percent change, and percent add/subtract in one.
GCD & LCM Calculator
Enter 2–6 positive integers to get the greatest common divisor (HCF / GCD) and least common multiple (LCM), with the Euclidean step chain shown.
Average Calculator (Mean / Median / Mode)
Enter a list of numbers to get the mean, median, mode, range plus standard deviation, variance and total.
Quadratic Equation Solver
Enter the coefficients of ax² + bx + c = 0 to find the real or complex roots, discriminant and vertex.
Password Strength (Entropy) Calculator
Estimate a password's bit entropy, brute-force time and strength tier. All computation happens in your browser.
Scientific Notation Converter
Convert between standard decimal numbers and scientific notation, with significant figures and order of magnitude.
Permutations & Combinations (nPr / nCr) Calculator
Compute permutations P(n,r), combinations C(n,r) and factorial n! — useful for probability problems, lottery odds and combinatorics homework.
Standard Deviation Calculator
Paste a list of numbers to compute mean, median, sample and population variance and standard deviation — with the working shown.
Triangle Calculator (SSS / SAS / ASA)
Solve a triangle from 3 sides, 2 sides + 1 angle, or 2 angles + 1 side — area, perimeter and remaining parts via the law of sines / cosines.
Pythagorean Theorem Calculator
Given any two sides of a right triangle (two legs, or one leg plus the hypotenuse), instantly find the third side, area, perimeter and the two non-right angles.
Circle Calculator (radius / diameter / circumference / area)
Enter any one of radius, diameter, circumference or area to get the other three — useful for design, engineering and DIY.
Roman Numeral Converter
Two-way conversion between Arabic numbers (1–3999) and Roman numerals (I, V, X, L, C, D, M) — handy for typesetting, chapter titles and homework.
Slope & Line Equation Calculator (y = mx + b from Two Points)
Enter two points (x₁, y₁) and (x₂, y₂) to instantly get the slope, y-intercept, line equation y = mx + b, distance, and midpoint — a classroom staple for algebra and coordinate geometry.
Birthday Paradox Calculator
Enter group size n to see the probability that at least two people share a birthday — the classic birthday problem.
Logarithm Calculator (log / ln / log₂ / any base)
Compute logₐ(x) for any base — natural log (ln), common log (log₁₀), binary log (log₂) and a custom base, with the change-of-base steps shown.
Z-Score (Standard Score) Calculator
Enter a value, the mean and the standard deviation to compute the z-score and the corresponding normal-distribution percentile and probabilities.
Screen Pixel Density (PPI) Calculator
Enter the screen resolution and diagonal size to get pixel density (PPI), real width/height, dot pitch and total pixel count.
Hong Kong Mark Six Odds Calculator
Enter the number of tickets / selections and see the actual probability of hitting first, second … prizes in a Mark Six (6-of-49) draw.
Decimal to Fraction Converter
Convert any decimal (including repeating decimals) to a simplified fraction and a mixed number.
Sphere Volume & Surface Area Calculator
Give a sphere any one of radius, diameter, surface area or volume and instantly get the other three — plus the great-circle circumference and area.
Cylinder Volume & Surface Area Calculator
Enter the radius and height of a cylinder to get volume (π r²h), lateral surface, base area and total surface area.
Permutations (nPr) Calculator
Compute nPr — the number of ordered arrangements of r items chosen from n — alongside n!, r! and the related combination nCr.
Prime Factorization Calculator
Factor any integer from 2 up to 10¹² into primes, see the canonical exponent form, count and list all divisors.
Geometric Mean Calculator
Compute the n-th root of the product of n positive numbers — the right average for growth rates, returns and ratios — alongside the arithmetic mean for comparison.
Fibonacci Sequence Calculator
Enter any integer n from 0 to 1500 to instantly compute F(n) and F(n−1) with BigInt precision, the consecutive-term ratio (converging to the golden ratio φ) and the first 30 terms of the sequence.
Dice Roll Probability Calculator
Pick the number of dice, sides (d4 / d6 / d8 / d10 / d12 / d20) and a target sum to compute the probability of rolling exactly that total, at least, or at most.
Arithmetic Series Calculator
Enter first term a, common difference d and number of terms n to compute the nth term aₙ and the partial sum Sₙ = n/2·(2a + (n − 1)d).
Survey Sample Size Calculator
Enter confidence level, margin of error, expected proportion (and optional population size) to compute the survey sample size you need.
Cone Volume & Surface Area Calculator
Enter base radius and height to get the cone volume, slant height, lateral, base and total surface area.