Sequence Sum Calculator
Add arithmetic and geometric sequences, any block of terms, your own list of numbers, or an infinite geometric series, with exact results and steps.
Examples
Sum of the first 5 terms
Terms being added: 2 + 5 + 8 + 11 + 14 = 40
- First term a₁
- 2
- Common difference d
- 3 (increasing)
- General term
- aₙ = 2 + (n − 1)(3) = 3n − 1
- Last term a₅
- 14
- Number of terms added
- 5
- Terms (first to a₅)
- 2, 5, 8, 11, 14
Terms being added
| Term | Value | Decimal |
|---|---|---|
| a₁ | 2 | |
| a₂ | 5 | |
| a₃ | 8 | |
| a₄ | 11 | |
| a₅ | 14 |
Chart of the terms
Step-by-Step Solution
Step 1 — Identify the values
a₁ = 2
d = 3
n = 5
Step 2 — Find the last term
The first term is 2 and there are 5 terms, so the last one is
aₙ = a₁ + (n − 1)d = 2 + (5 − 1)(3) = 14
Step 3 — Use the sum formula
The sum of an arithmetic series is the number of terms times the average of the first and last terms.
Sₙ = n(a₁ + aₙ)/2
S₅ = 5(2 + 14)/2 = 5 × 16/2 = 40
Step 4 — Check with the other form
Sₙ = n/2 [2a₁ + (n − 1)d]
S₅ = 5/2 [2(2) + 4(3)] = 5/2 [4 + 12] = 5/2 × 16 = 40
Final answer: S₅ = 40
Sum formulas
| Arithmetic | nth term | aₙ = a₁ + (n − 1)d |
|---|---|---|
| Sum of n terms | Sₙ = n/2 [2a₁ + (n − 1)d] = n(a₁ + aₙ)/2 | |
| Geometric | nth term | aₙ = a₁ · rⁿ⁻¹ |
| Sum of n terms | Sₙ = a₁(1 − rⁿ)/(1 − r), r ≠ 1 | |
| Sum when r = 1 | Sₙ = n · a₁ | |
| Infinite geometric | Sum | S∞ = a₁/(1 − r), only when |r| < 1 |
| Any sequence | Terms from m to n | n − m + 1 terms |
| Mean of the terms | Sₙ / n |
a₁ = first termaₙ = nth termd = common differencer = common ration = number of termsSₙ = sum of the first n termsS∞ = sum of an infinite series
Sequence or series? A sequence is the ordered list of terms (2, 5, 8, 11, …). A series is what you get by adding them (2 + 5 + 8 + 11 + …). This calculator finds sums, that is, the values of series.
To find a single term, the common difference, or a missing term, use the Arithmetic Sequence Calculator or the Geometric Sequence Calculator. For the average of a data set, use the Average Calculator. Repeated percentage growth is a geometric sequence (5% growth means r = 1.05): see the Percentage Calculator and the Compound Interest Calculator. For powers such as rⁿ, use the Exponent Calculator or the Scientific Calculator.
This sequence sum calculator finds the sum of the terms of a sequence, the value of a series. It adds the first n terms of an arithmetic or geometric sequence, any block of terms from position m to position n, a list of numbers you type in, or an infinite geometric series when it converges.
Each result shows the terms being added, such as 2 + 5 + 8 + 11 + 14 = 40, along with the last term, a table with a running total, a chart, and a step-by-step solution that uses your numbers. Results are exact, so 1/3 stays 1/3, and divergent infinite series are identified instead of being given a misleading number.
Worked Calculation Examples
| Scenario | Result | Calculation Step |
|---|---|---|
| Arithmetic: a₁ = 2, d = 3, n = 5 | 40 | 2 + 5 + 8 + 11 + 14. The last term is 2 + 4(3) = 14, so S₅ = 5(2 + 14)/2 = 40. |
| Geometric: a₁ = 2, r = 3, n = 5 | 242 | 2 + 6 + 18 + 54 + 162 = 2(3⁵ − 1)/(3 − 1) = 242. |
| Terms 3 to 6 of 2, 5, 8, … | 50 | a₃ = 8 and a₆ = 17, with 6 − 3 + 1 = 4 terms: 4(8 + 17)/2 = 50. |
| Infinite: 10 + 5 + 2.5 + … | 20 | |r| = 0.5 < 1, so the series converges to 10/(1 − 0.5) = 20. |
| Infinite with r = 2 | Diverges | |r| = 2 ≥ 1: the terms 10, 20, 40, … grow without bound, so there is no finite sum. |
| List: 2, 4, 6, 8, 10 | 30 | The sum is 30 and the mean is 6. The differences are all 2, so the list is an arithmetic sequence with d = 2. |
What Is a Sequence Sum?
A sequence is an ordered list of numbers: 2, 5, 8, 11, 14. A series is what you get when you add those numbers: 2 + 5 + 8 + 11 + 14 = 40. The sequence sum, or partial sum Sₙ, is the total of the first n terms.
The two ideas are easy to mix up. “What is the 5th term?” is a sequence question (answer: 14). “What is the total of the first 5 terms?” is a series question (answer: 40).
How to Find the Sum of an Arithmetic Sequence
An arithmetic sequence adds the same number d each time. Identify the first term a₁, the common difference d and the number of terms n. The last term is aₙ = a₁ + (n − 1)d, and the sum is Sₙ = n(a₁ + aₙ)/2, or equivalently Sₙ = n/2 [2a₁ + (n − 1)d].
For 2, 5, 8, 11, 14: a₁ = 2, d = 3, n = 5 and a₅ = 14, so S₅ = 5(2 + 14)/2 = 40. The formula works because pairing the first and last terms, the second and second-to-last, and so on, gives n/2 pairs with the same total a₁ + aₙ. This is the trick Gauss is said to have used to add 1 + 2 + … + 100 = 5,050.
How to Find the Sum of a Geometric Sequence
A geometric sequence multiplies by the same number r each time. For r ≠ 1 the sum of the first n terms is Sₙ = a₁(1 − rⁿ)/(1 − r), which can also be written a₁(rⁿ − 1)/(r − 1).
For 2, 6, 18, 54, 162: a₁ = 2, r = 3, n = 5, so S₅ = 2(3⁵ − 1)/(3 − 1) = 2 · 242/2 = 242. When r = 1 every term equals a₁, so Sₙ = n · a₁; the general formula cannot be used then, because it would divide by 0.
Sum From Term m to Term n
To add a block of terms in the middle of a sequence, find the first and last terms of the block, aₘ and aₙ, and count the terms: n − m + 1, since both ends are included. For an arithmetic sequence the block sum is (n − m + 1)(aₘ + aₙ)/2. For 2, 5, 8, 11, 14, 17, …, terms 3 to 6 are 8 + 11 + 14 + 17 = 4(8 + 17)/2 = 50.
For a geometric sequence the block is itself geometric, starting at aₘ with the same ratio, so the finite sum formula applies with aₘ as the first term and n − m + 1 terms.
How to Find the Sum of an Infinite Geometric Series
An infinite series adds infinitely many terms. For a geometric series a₁ + a₁r + a₁r² + … the partial sums Sₙ = a₁(1 − rⁿ)/(1 − r) settle down only if rⁿ → 0, which happens exactly when |r| < 1. Then the infinite sum is S∞ = a₁/(1 − r). For 10 + 5 + 2.5 + 1.25 + …, r = 1/2 and S∞ = 10/(1 − 1/2) = 20.
When |r| ≥ 1 the series diverges and has no finite sum. With r = 2 the terms grow without bound, with r = 1 the total keeps growing by a₁, and with r = −1 the partial sums jump between a₁ and 0 forever. If r = 0 the series is a₁ + 0 + 0 + …, whose sum is a₁.
Sequence vs Series
A sequence is the list: 3, 6, 12, 24, … A series is the sum of that list: 3 + 6 + 12 + 24 + … A finite series stops after n terms and always has a value. An infinite series goes on forever, and its value, if it has one, is the limit of the partial sums S₁, S₂, S₃, …
Arithmetic Sequence vs Geometric Sequence
In an arithmetic sequence the difference between consecutive terms is constant (2, 5, 8, 11 has d = 3), so the terms change linearly and an infinite arithmetic series never has a finite sum unless every term is 0. In a geometric sequence the ratio between consecutive terms is constant (2, 6, 18, 54 has r = 3), so the terms change exponentially and an infinite series converges when |r| < 1.
To tell which kind of list you have, compare the differences and the ratios of consecutive terms. If neither is constant, as in 2, 4, 7, 11, the list is neither; you can still add it term by term.
Finite vs Infinite Series
A finite series such as S₁₀ always has a definite value, which you find with the formulas above or by adding the terms. An infinite series only has a value if its partial sums approach a limit. Among geometric series that happens exactly when |r| < 1. The infinite sum is never simply “the last term times something”: it is the number the running totals get closer and closer to.
Real-World Uses of Sequence Sums
Savings that grow by a fixed amount: saving $50 in month 1 and $10 more each month, the first 12 months total 12(50 + 160)/2 = $1,260 (an arithmetic series).
Regular deposits with interest: the value of equal yearly deposits with compound growth is a geometric series with r = 1 + interest rate.
Depreciation: equipment that keeps 80% of its value each year follows a geometric sequence with r = 0.8.
Physics: a ball that bounces back to 60% of its previous height travels a total distance given by an infinite geometric series with r = 0.6.
Computer science: doubling work at each step (1 + 2 + 4 + … + 2ⁿ⁻¹ = 2ⁿ − 1) and the cost of repeated halving are geometric sums.
Worked Examples
Arithmetic: a₁ = 20, d = −3, n = 5 gives 20 + 17 + 14 + 11 + 8 = 5(20 + 8)/2 = 70.
Constant: a₁ = 5, d = 0, n = 10 gives 10 × 5 = 50.
Geometric with r = 1: a₁ = 7, n = 10 gives 10 × 7 = 70.
Negative ratio: a₁ = 8, r = −1/2, n = 4 gives 8 − 4 + 2 − 1 = 8(1 − 1/16)/(3/2) = 5.
List: 2, 4, 6, 8, 10 adds to 30 and is arithmetic with d = 2; 2, 4, 7, 11 adds to 24 and is neither arithmetic nor geometric.
How to Use the Sequence Sum Calculator
- Choose the kind of sum: arithmetic, geometric, a block of terms from position m to n, your own list of numbers, or an infinite geometric series.
- Enter the values. Numbers can be whole, negative, decimal or fractions such as 1/3; the number of terms must be a positive whole number.
- Press Calculate, or tap an example. The sum is exact (7/3 rather than 2.3333), with a decimal shown as ≈ alongside.
- Check the terms being added (shown as 2 + 5 + 8 + 11 + 14 = 40, with a table and a running total) and the step-by-step solution, which uses your numbers.
- For an infinite series, the calculator first checks |r| < 1. If the series diverges, it says so instead of giving a misleading number.
Frequently Asked Questions
What is a sequence sum?
The total of the terms of a sequence, also called a series or partial sum. For the sequence 2, 5, 8, 11, 14, the sum of the first 5 terms is 40.
How do I calculate the sum of an arithmetic sequence?
Find the last term aₙ = a₁ + (n − 1)d, then use Sₙ = n(a₁ + aₙ)/2. For a₁ = 2, d = 3 and n = 5, a₅ = 14 and S₅ = 5(2 + 14)/2 = 40.
How do I calculate the sum of a geometric sequence?
For r ≠ 1 use Sₙ = a₁(1 − rⁿ)/(1 − r). For a₁ = 2, r = 3 and n = 5, S₅ = 2(1 − 243)/(1 − 3) = 242.
What is the formula for the sum of n terms?
Arithmetic: Sₙ = n/2 [2a₁ + (n − 1)d]. Geometric: Sₙ = a₁(1 − rⁿ)/(1 − r) when r ≠ 1, and Sₙ = n·a₁ when r = 1.
What is the difference between a sequence and a series?
A sequence is an ordered list of terms (2, 5, 8, …); a series is the sum of those terms (2 + 5 + 8 + …). This calculator computes series.
How do I calculate an infinite geometric series?
First check that |r| < 1. If it is, the sum is S∞ = a₁/(1 − r); for example 10 + 5 + 2.5 + … = 10/(1 − 1/2) = 20. If |r| ≥ 1 there is no finite sum.
When does an infinite geometric series converge?
Exactly when the common ratio satisfies −1 < r < 1. Then the terms shrink toward 0 and the partial sums approach a limit. With r = 1, r = −1 or |r| > 1 the series diverges.
Can a sequence have a negative common difference?
Yes. Then the terms decrease: 20, 17, 14, 11, 8 has d = −3, and its sum is 5(20 + 8)/2 = 70.
Can a geometric sequence have a negative common ratio?
Yes. The terms then alternate in sign: 8, −4, 2, −1 has r = −1/2 and sum 5. If −1 < r < 0, the infinite series still converges.
Can I calculate the sum between two specific terms?
Yes. Use the “Sum from m to n” mode: it finds aₘ and aₙ, counts n − m + 1 terms and adds them. For 2, 5, 8, …, terms 3 to 6 give 8 + 11 + 14 + 17 = 50.
What happens when the common ratio is 1?
Every term equals the first term, so the sum of n terms is n·a₁ (for example 10 × 7 = 70). The usual formula would divide by 1 − r = 0, so it is not used. The infinite series diverges.
Can I enter my own sequence of numbers?
Yes. The “List of Terms” mode adds any numbers you type, shows the count, mean, minimum and maximum, and tells you whether they happen to form an arithmetic or geometric sequence.
Related Calculators
Arithmetic Sequence Calculator
Find the nth term, common difference, sum and missing terms of an arithmetic sequence, with exact fractions and step-by-step working.
Geometric Sequence Calculator
Find the common ratio, nth term, finite and infinite sums, missing terms and geometric means, with exact fractions and step-by-step working.
Average Calculator
Calculate the average (mean) of a list of numbers with the median, mode and range, or a weighted average, with step-by-step working.
Percentage Calculator
Calculate percentages, percent of a number, and percentage changes fast.
Exponent Calculator
Calculate powers with positive, negative and fractional exponents, get exact and decimal answers, and solve for a missing exponent or base, with steps.
Scientific Calculator
Advanced math calculator supporting trigonometry, logs, exponentials, and roots.
Last updated: September 27, 2026.