Convergent geometric series
−1 < r < 1. Terms shrink toward 0 and the infinite sum equals a/(1 − r). Example: 1 + 1/2 + 1/4 + … = 2.
Sum of n terms, infinite sums and first-to-last-term sums of a geometric sequence.
Enter your values below to get started.
Find r by dividing any term by the term before it: 12 ÷ 6 = 2.
Type fractions as 1/3; the answer stays an exact fraction.
Pick Infinite sum for a series that never ends; it needs |r| < 1.
Pick First and last term when you know the end of the list but not n.
A geometric sum calculator adds the terms of a geometric sequence, where each term equals the previous term times a fixed common ratio r. Enter the first term a, the ratio r and the number of terms n to get the finite sum Sₙ as an exact fraction and a decimal, switch to the infinite sum a/(1 − r) when |r| < 1, or enter the first and last term instead of n.
A geometric sum is the total of the terms of a geometric sequence, a list in which every term equals the term before it multiplied by the same common ratio r. The sequence 3, 6, 12, 24, 48 has first term a = 3 and ratio r = 2, and its geometric sum is 3 + 6 + 12 + 24 + 48 = 93.
A sum of finitely many terms is a finite geometric sum (the sum of a geometric progression). A sum that never stops is an infinite geometric series, and that series has a finite value only when −1 < r < 1.
The geometric sum calculator applies the closed-form formula Sₙ = a(1 − rⁿ)/(1 − r), so the sum of 1,000,000 terms takes the same time as the sum of 5 terms. The formula comes from the shift-and-subtract trick: write S, write rS one place to the right, and subtract. Every term except the first and the last cancels.
Fractions and negatives are parsed exactly, so a = 1 and r = 1/2 keep the answer as a fraction.
With r = 1 every term equals a, and the calculator returns Sₙ = n·a.
For r ≠ 1 the calculator evaluates a(1 − rⁿ)/(1 − r), or a/(1 − r) for the infinite sum.
The calculator lists up to 200 terms aₖ with their partial sums Sₖ and graphs the first 40.
The geometric sum formula is Sₙ = a(1 − rⁿ)/(1 − r) for r ≠ 1, and Sₙ = n·a for r = 1. There are 4 formulas in total, one for each piece of information you start with.
Both versions give the same value; the second form keeps the numbers positive when r > 1.
There are 4 types of geometric series, set by the common ratio r: convergent (|r| < 1), alternating (r < 0), constant (r = 1) and divergent (|r| ≥ 1). A series can belong to 2 types at once: r = −1/2 gives a convergent alternating series.
−1 < r < 1. Terms shrink toward 0 and the infinite sum equals a/(1 − r). Example: 1 + 1/2 + 1/4 + … = 2.
r < 0. Signs switch every term: 1 − 1/2 + 1/4 − … = 2/3.
r = 1. Every term equals a, so Sₙ = n·a and the infinite series diverges.
|r| ≥ 1 with r ≠ 1. Terms do not shrink: 1 + 2 + 4 + … grows without bound, and 1 − 1 + 1 − … (Grandi's series) never settles.
To calculate a geometric sum by hand, find a and r, raise r to the power n, and substitute into Sₙ = a(1 − rⁿ)/(1 − r). The process takes 5 steps. Here is the sum 3 + 6 + 12 + 24 + 48.
An infinite geometric series converges when the absolute value of the common ratio is less than 1 (|r| < 1), and its sum is a/(1 − r). For |r| ≥ 1 the series diverges, since the terms do not approach 0.
The Greek philosopher Zeno of Elea (about 490–430 BC) posed the dichotomy paradox: to walk 1 meter (3.28 ft), first walk 1/2, then 1/4, then 1/8. The geometric series 1/2 + 1/4 + 1/8 + … resolves the paradox: infinitely many pieces add up to exactly 1. After k pieces the gap left is rᵏ, so 10 pieces leave 1/1,024 ≈ 0.098% of the distance.
Choose a mode, enter a and r, add n or the last term, and press Calculate. The result card shows Sₙ as a fraction and a decimal, the last term, the step-by-step working, a term table and a graph of the partial sums.
Sum of n terms, Infinite sum, or First and last term.
Type decimals, negatives or fractions: -3, 0.2, 2/3.
n can be any whole number from 1 to 1,000,000; l must be a term of the sequence.
Open the Table and Graph tabs to check each term and the running total.
Geometric sums model any quantity that changes by the same percentage each step. There are 5 common applications:
Common geometric sums with their inputs and exact results.
| Series | a, r, n | Sum | Calculator |
|---|---|---|---|
| a = 3, r = 2, n = 5 | 93 | ||
| a = 1, r = 1/2, n = 10 | 1023/512 ≈ 1.998 | ||
| a = 2, r = −3, n = 6 | −364 | ||
| a = 2, r = 3, l = 162 | 242 | ||
| a = 5, r = 1/3, n = ∞ | 15/2 = 7.5 | ||
| a = 0.9, r = 0.1, n = ∞ | 1 | ||
| a = 1, r = 2, n = 64 | 18,446,744,073,709,551,615 |
Try each one, then reveal the answer or solve it in the calculator.
Find the sum of the first 6 terms of 4, 12, 36, …
Find the infinite sum 12 + 3 + 3/4 + …
Add the first 5 terms of 81, 27, 9, …
Add 5 + 10 + 20 + … + 320.
Find the sum of the alternating series 1 − 1/2 + 1/4 − 1/8 + …
A $1,000 deposit grows 10% a year. Add the 4 yearly values 1000, 1100, 1210, 1331.
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
A geometric sum calculator is an online tool that adds the terms of a geometric sequence from the first term a, the common ratio r and the number of terms n. It returns the finite sum Sₙ, the infinite sum a/(1 − r) when |r| < 1, and the step-by-step working.
The sum of the first n terms is Sₙ = a(1 − rⁿ)/(1 − r) for r ≠ 1. The infinite sum is S∞ = a/(1 − r) for |r| < 1.
Divide any term by the term before it. For 5, 15, 45 the common ratio is 15 ÷ 5 = 3.
Yes, a geometric series can have a negative ratio. The signs then alternate: with a = 1 and r = −2 the series is 1 − 2 + 4 − 8 + …
No, only an infinite geometric series with |r| < 1 has a finite sum. With |r| ≥ 1 the terms do not shrink to 0 and the series diverges.
The sum of 1 + 1/2 + 1/4 + 1/8 + … is 2. The first term is 1 and the ratio is 1/2, so S∞ = 1/(1 − 1/2) = 2.
Yes, 0.999… equals exactly 1. The decimal is the geometric series 0.9 + 0.09 + 0.009 + … with a = 0.9 and r = 0.1, so the sum is 0.9/(1 − 0.1) = 1.
When r = 1, every term equals the first term a, so the sum of n terms is n·a and the infinite series diverges.
There are 18,446,744,073,709,551,615 grains of wheat on the chessboard in the wheat and chessboard problem. Doubling from 1 grain over 64 squares gives the geometric sum 2⁶⁴ − 1.
A geometric sum multiplies by a constant ratio r between terms, while an arithmetic sum adds a constant difference d. The geometric sum is a(1 − rⁿ)/(1 − r); the arithmetic sum is n(a₁ + aₙ)/2.
A geometric sum adds terms that grow or shrink by a fixed ratio r, and the geometric sum calculator returns that total from a, r and n, from a and the last term, or as an infinite sum when |r| < 1. Check |r| first: below 1 the infinite series has a finite value a/(1 − r); at 1 or above only finite sums exist.
Not sure which formula fits your problem? Answer the questions below.