Sum Of Series Calculator - Arithmetic and Geometric Sums
Use the sum of series calculator to find the nth term, the partial sum of the first n terms, and the full term list for any arithmetic or geometric series.
Sum Of Series Calculator
Results
What Is Sum Of Series Calculator?
A sum of series calculator finds the partial sum of the first n terms of a series without adding them up by hand. Switch the series type to arithmetic or geometric, give it the first term a₁, the step (d or r), and n, and it returns the n-th term, the partial sum S_n, the mean, and a term list preview.
- • Sum an arithmetic or geometric series: Type a₁, the step, and n to read S_n = n/2 (a₁ + a_n) for arithmetic or S_n = a₁ (1 - r^n) / (1 - r) for geometric.
- • Find the n-th term of a series: Use a_n = a₁ + (n − 1) d for arithmetic or a_n = a₁ r^(n − 1) for geometric to read a late term directly.
- • Check a homework or textbook answer: Compare your work on 2, 5, 8, 11, ... at n = 10 or 1, 2, 4, 8, ... at n = 8 by reading the same S_n the calculator prints.
- • Model a real-world growth or decay plan: Use a positive step for an arithmetic deposit plan, a geometric growth model, or a ratio between 0 and 1 for a decay schedule.
An arithmetic series adds d, and a geometric series multiplies by r. Both have a closed-form partial sum that the calculator reads in a single computation.
When you only need the arithmetic branch with the same a₁ and d inputs, the Arithmetic Sequence Calculator focuses the workflow on the arithmetic closed-form formulas and returns the same a_n and S_n in the same units.
How Sum Of Series Calculator Works
Internally the calculator uses two closed-form formula families. For arithmetic series the n-th term is a_n = a₁ + (n − 1) d and the partial sum is S_n = n/2 (a₁ + a_n). For geometric series the n-th term is a_n = a₁ r^(n − 1) and the partial sum is S_n = a₁ (1 − r^n) / (1 − r) when r is not 1, with the special case S_n = n a₁ when r = 1.
- seriesType: Arithmetic or geometric. Sets which second input is used and which formula runs.
- a₁: First term. Any real number is allowed.
- d: Common difference for arithmetic series. Positive d grows, negative d shrinks, d = 0 is constant.
- r: Common ratio for geometric series. The closed-form sum is not valid at r = 1; the calculator falls back to S_n = n a₁.
- n: Number of terms. Must be a positive integer; the preview list is capped at 50 terms.
MathWorld publishes a_n and S_n as the two defining identities of an arithmetic progression, and Wikipedia gives the matching closed-form partial sum for a geometric series. The calculator uses both formula families in closed form, so it skips the term-by-term loop that would compound round-off; the final result is still IEEE 754 double precision, so very large n or extreme r values can round the last few digits.
Arithmetic series 2, 5, 8, 11, ... at n = 10
seriesType = arithmetic, a₁ = 2, d = 3, n = 10
a₁₀ = 2 + 9 × 3 = 29; S₁₀ = 5 × (2 + 29) = 155
a₁₀ = 29, S₁₀ = 155, mean = 15.5
The 10th term is 29 and the partial sum is 155.
Geometric series 1, 2, 4, 8, ... at n = 8
seriesType = geometric, a₁ = 1, r = 2, n = 8
a₈ = 1 × 2⁷ = 128; S₈ = (1 − 2⁸) / (1 − 2) = 255
a₈ = 128, S₈ = 255, mean = 31.875
The 8th term is 128 and the partial sum is 255.
According to Wolfram MathWorld, an arithmetic progression gives a_n = a₁ + (n − 1) d and S_n = n/2 (2 a₁ + (n − 1) d)
According to Wikipedia (Geometric series), a geometric series has partial sum S_n = a (1 − r^n) / (1 − r) when r ≠ 1, and S_n = n a when r = 1
When you only need the geometric branch with the same a₁ and r inputs, the Geometric Sequence Calculator focuses the workflow on the geometric closed-form formulas and walks the same r^n and S_n term by term.
Key Concepts Explained
These four ideas are enough to use the calculator correctly on any arithmetic or geometric input.
Arithmetic vs geometric series
An arithmetic series adds a constant step d; a geometric series multiplies by a constant ratio r. The series type sets which second input is used and which closed-form formula runs.
Common difference and common ratio
d is the step added between consecutive terms in arithmetic series; r is the factor multiplied between consecutive terms in geometric series.
n-th term closed form
a_n = a₁ + (n − 1) d for arithmetic and a_n = a₁ r^(n − 1) for geometric turn a recursive definition into one formula.
Partial sum closed form
S_n = n/2 (a₁ + a_n) for arithmetic pairs the first and last term; S_n = a₁ (1 − r^n) / (1 − r) for geometric (r ≠ 1); S_n = n a₁ as the r = 1 fallback.
The closed-form formulas are what separate a series from a list of numbers. The moment the step is constant, the two formulas above are exact.
For a sum of trigonometric expressions where the closed-form partial sum is built from sin and cos identities, the Sum Difference Identities Calculator handles the trig branch with the same n and term pattern as this calculator.
How to Use This Calculator
Five short steps cover every workflow the sum of series calculator supports, from a homework problem to a long growth plan.
- 1 Pick the series type: Choose arithmetic if the series adds a constant step, or geometric if it multiplies by a constant ratio.
- 2 Type the first term: Enter a₁. Decimals, negatives, and fractions are all accepted for both series types.
- 3 Type the step (d or r): For arithmetic, enter d. For geometric, enter r. Use a positive number to grow, a negative number for alternating sign, and 0 or 1 for a constant series.
- 4 Type the number of terms: Enter n as a positive integer. The preview list is capped at 50 terms but the exact a_n and S_n are still computed for larger n.
- 5 Read a_n and the partial sum: The n-th term row is a_n and the partial sum row is S_n. The mean row is the per-term average S_n / n, and the term list prints a comma-separated preview.
A small business forecasts revenue: arithmetic growth of $1,200 per quarter for 8 quarters (a₁ = 48000, d = 1200, n = 8), then geometric growth at 1.05 per quarter for the next 8 (a₁ = 57600, r = 1.05, n = 8).
Benefits of Using This Calculator
The calculator removes the most common sum-of-series mistakes and saves the step of looking up two different formulas in a textbook.
- • Both series types in one tool: Arithmetic and geometric partial sums use the same form, so one calculator handles a homework set, a depreciation schedule, and a growth model without switching tools.
- • Closed-form formulas, not loops: The calculator uses a_n = a₁ + (n − 1) d, S_n = n/2 (a₁ + a_n), a_n = a₁ r^(n − 1), and S_n = a₁ (1 − r^n) / (1 − r) directly, so a_n and S_n are computed in a fixed number of operations rather than n additions; the result is still IEEE 754 double precision, so very large n or extreme r values can round the last few digits.
- • Handles the r = 1 corner case: The closed-form sum formula divides by (1 − r) and is undefined at r = 1; the calculator falls back to S_n = n a₁ automatically.
- • Domain errors are explained: If n is not a positive integer, or a term overflows JavaScript number precision, the calculator shows a clear error message instead of returning NaN or Infinity.
- • Pairs with related math tools: The mean row matches the average calculator's output, and the n-th term is the seed for any sequence-style extension.
When the series you need to sum is the digits of an integer rather than a constant-step arithmetic or geometric progression, the Sum Of Digits Calculator adds the digits of any number and reports the same kind of partial sum the closed-form formula would give.
Factors That Affect Your Results
Three things change the answer you should expect, plus two practical caveats about how real-world series behave outside the closed-form model.
Series type selection
Switching the type between arithmetic and geometric changes which second input (d vs r) is used and which formula runs. The form keeps both visible, but only the matching one is read.
Sign and size of d or r
For arithmetic, positive d grows, negative d shrinks, d close to zero is near-constant. For geometric, |r| > 1 grows, |r| < 1 decays, negative r alternates sign, r = 1 is the constant case.
Whether n is a positive integer
The formulas require n to be a positive integer. A non-integer n (such as 3.5) or a non-positive n (such as 0) triggers a domain error.
Magnitude of r^n for large n
For geometric series, r^n can exceed the JavaScript number precision limit (about 9.007e15). The calculator returns a clear overflow error instead of NaN or Infinity.
- • The formulas assume a constant step. If the real-world series has a drifting step (such as a salary that grows by 3% one year and 4% the next), the sum-of-series model is only an approximation.
- • The calculator reports the partial sum of the first n terms, not the limit as n goes to infinity. For geometric series with |r| < 1 the infinite sum is a₁ / (1 − r); this calculator is built for finite partial sums.
When you copy the partial sum into a spreadsheet, the unit is whatever the terms already carry. Dollar terms in give dollar sums out, meter terms in give meter sums out, dimensionless counts stay dimensionless; the calculator does not convert or rescale the unit, so a quarterly revenue forecast in dollars and a depreciation schedule in years stay in their own units when summed.
According to Khan Academy, a geometric sequence multiplies each term by a fixed, non-zero common ratio r
When you want the mean of the same term list without the sum-of-series framing, the Average Calculator computes the arithmetic mean of a set of numbers in a single pass and reports the same value as the S_n / n row in this calculator.
Frequently Asked Questions
Q: What is the sum of a series?
A: The sum of a series is the total you get when you add up the terms of a list of numbers. For a series with first term a₁ and a constant step (arithmetic) or ratio (geometric), the partial sum of the first n terms has a closed form: n/2 (a₁ + a_n) for arithmetic and a₁ (1 − r^n) / (1 − r) for geometric.
Q: What is the formula for the sum of an arithmetic series?
A: The sum of the first n terms of an arithmetic series is S_n = n/2 (a₁ + a_n), where a₁ is the first term and a_n is the n-th term. The equivalent expanded form is S_n = n/2 (2 a₁ + (n − 1) d).
Q: What is the formula for the sum of a geometric series?
A: The sum of the first n terms of a geometric series with first term a and common ratio r is S_n = a (1 − r^n) / (1 − r) when r is not equal to 1. When r = 1 the formula falls back to S_n = n a.
Q: How do I find the common difference or common ratio?
A: For an arithmetic series, d = (a_n − a_1) / (n − 1) where a_1 and a_n sit n − 1 positions apart. For a geometric series, r = a_n / a_{n − 1} between two consecutive terms, or in general r = (a_n / a_m)^{1 / (n − m)} for two non-consecutive terms at positions m and n.
Q: What happens if the common ratio is 1?
A: The closed-form S_n = a (1 − r^n) / (1 − r) is undefined at r = 1. The calculator detects r = 1 and falls back to S_n = n a, the correct partial sum for a constant geometric series.
Q: What is the difference between arithmetic and geometric series?
A: An arithmetic series adds a fixed step d, so consecutive terms differ by a constant. A geometric series multiplies by a fixed ratio r, so consecutive terms share a constant ratio. The two use different closed-form formulas for a_n and S_n.