Audited 29 Jul 2026·Last updated 28 Oct 2026·4 citations·Tier 2·0 uses

Sum of Series Calculator

Add up a series between any two whole-number bounds: linear terms Ak + B, sums of integers, squares or cubes, or geometric terms A·rᵏ, with the term count.

Sum of Series Calculator

What are you summing?
Multiplies k in the linear term, or rᵏ in the geometric term. Ignored in power mode.
Added to every term in linear mode. Ignored in the other two.
Exponent p
Geometric mode only. The base raised to the index. Must not be 0.
The index does not have to start at 1 — this is the thing a plain sequence calculator cannot do.
Must be at least the lower bound. Closed forms are used, so millions of terms cost nothing.
Sum
185
The total of every term from the lower bound to the upper bound inclusive, found from a closed formula rather than by adding term by term.
In sigma notation
Σ from k = 1 to 10 of (3k + 2) = 185
Number of terms
10
First term
5
Last term
32
Average term
18.5

Background.

Adding the squares from 3² up to 50² by hand means 48 multiplications and 47 additions. With the right formula it is one line: the first 50 squares total 50 × 51 × 101 ÷ 6 = 42,925, and taking away 1² + 2² = 5 leaves 42,920. That move, summing everything from the start and then subtracting the part before your first index, is how every total here is found, so an upper bound of ten million takes no longer than an upper bound of ten.

Three shapes of term are covered. A linear term, Ak + B, gives an arithmetic series such as 5 + 8 + 11 + … + 32. A power term, k, k² or k³, gives the sums of integers, squares and cubes that turn up in area approximations in calculus, in counting puzzles and in the sums of squares behind a variance. A geometric term, A × rᵏ, gives a series in which each term is a fixed multiple of the one before: doubling, halving, or flipping sign when r is negative.

The index may start anywhere from 0 upward, which is what separates a series total from the sum of the first n terms that a sequence calculator reports. Both bounds count, so k = 0 to 10 is eleven terms. Reciprocal sums such as 1 + 1/2 + 1/3 + …, and infinite geometric series, are left to their own calculators.

What is sum of series calculator?

A series is the total you get by adding the terms of a sequence, and sigma notation is its shorthand: a capital Σ with the starting index written beneath, the final index above, and the general term to the right. Σ from k = 1 to 10 of (3k + 2) means substitute k = 1, 2, …, 10 into 3k + 2 and add the ten results. A finite series always has a value; the useful question is whether it has a closed form, a formula that gives the total without adding term by term. Linear terms, powers up to cubes and geometric terms all have one, and those are the three families offered.

How to use this calculator.

  1. Under "What are you summing?", pick the shape of the term inside the sigma: linear (Ak + B), power (kᵖ) or geometric (A × rᵏ).
  2. Fill in the fields your choice uses: A and B for linear, the exponent p (1, 2 or 3) for power, A and the ratio r for geometric. The others are ignored, so they can stay as they are. In geometric mode neither A nor r may be 0, and a negative r makes the terms alternate in sign.
  3. Set the lower and upper bounds as whole numbers from 0 to 10,000,000, with the upper bound no smaller than the lower. Both ends are included.
  4. Before using the total, compare the sigma-notation line and the first and last terms with what you meant. A first term that looks wrong usually means the index should start at 1 rather than 0, or the reverse.

The formula.

Σ (k = m → n) f(k) = F(n) − F(m − 1)

Write F(N) for the sum from k = 1 to N. The sum from m to n is then F(n) − F(m − 1): everything up to n, minus the stretch before m. For power terms F is one of the three classical closed forms that OpenStax Calculus Volume 1 lists as sums and powers of integers: Σk = N(N + 1)/2, Σk² = N(N + 1)(2N + 1)/6 and Σk³ = N²(N + 1)²/4. Each of these polynomials equals 0 at N = 0 and at N = −1, the value an empty sum should have, so a lower bound of 0 needs no special case. Fourth and higher powers need Faulhaber's formula, which brings in Bernoulli numbers, and are not offered.

A linear term splits into A times the sum of the indices plus B once for each term: A[F₁(n) − F₁(m − 1)] + B(n − m + 1), where F₁ is the integer-sum formula. A geometric term factors as A·rᵐ(1 + r + r² + … + r^(n−m)), and the bracket is the finite geometric series from OpenStax College Algebra, so the total is A·rᵐ(r^(n−m+1) − 1)/(r − 1). That expression divides by r − 1, so when r = 1, and every term is simply A, the total is computed as A multiplied by the number of terms.

A worked example.

Example

Take Σ from k = 1 to 10 of (3k + 2). Split it into 3 × (1 + 2 + … + 10) plus 2 added ten times. The index sum is 10 × 11 ÷ 2 = 55, so the total is 3 × 55 + 2 × 10 = 165 + 20 = 185. There are ten terms, running from 3(1) + 2 = 5 to 3(10) + 2 = 32, and their average is 185 ÷ 10 = 18.5. Writing the terms out, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, shows why that average lands exactly halfway between the ends: 5 + 32, 8 + 29 and every pair working inward come to 37, and five such pairs make 185. Start the same sum at k = 0 and an extra term of 2 joins the front, giving 187 over eleven terms, an off-by-one that is easy to make when copying a sum from a textbook that indexes from zero.

upper Bound10
series Typelinear
coefficient B2
lower Bound1
coefficient A3
exponent2
ratio2

Frequently asked questions.

Why is the sum of the first n cubes always a perfect square?
Because N²(N + 1)²/4 is exactly the square of N(N + 1)/2, so 1³ + 2³ + … + n³ equals (1 + 2 + … + n)². For n = 10 the cubes total 3,025, which is 55², and 55 is the sum of 1 to 10. Note that this holds only when the index starts at 1; a sum of cubes from a later start is not generally a square.
Where do sums of squares come up outside a maths class?
In several familiar places. The number of squares of every size on a chessboard is 1² + 2² + … + 8² = 204. A square pyramid of stacked balls with n layers holds Σk² balls. Approximating the area under y = x² with rectangles leads to the same sum, which is how the formula appears in calculus, and squared deviations are summed whenever a variance is calculated.
How does linear mode relate to the arithmetic sequence calculator?
With a lower bound of 1, the term Ak + B produces an arithmetic sequence whose first term is A + B and whose common difference is A, so the total matches that calculator's sum of the first n terms. The sequence calculator also solves for the nth term or the difference; this one adds any stretch of terms, such as the 20th through the 40th, and handles powers, which are not arithmetic at all.
What happens with a negative ratio in geometric mode?
The terms alternate in sign, and the total can swing between values instead of growing steadily. Summing (−1)ᵏ from k = 0 gives 1 when the upper bound is even and 0 when it is odd; summing it from 0 to 10, eleven terms, returns 1. With a ratio like −0.5 the swings shrink and the partial sums settle down.
Can I sum a geometric series to infinity?
Not here; the upper bound is always a finite whole number. When the ratio lies between −1 and 1 you can watch the partial sums close in on the limit: Σ 0.5ᵏ from k = 1 to 10 is 1 − 2⁻¹⁰, exactly 0.9990234375, only 0.0009765625 short of the infinite total of 1. The geometric sequence calculator gives the infinite sum and says whether it converges.
Why was my geometric sum refused as too large?
Before computing any powers, the size of the largest term is estimated with logarithms, and anything beyond about 10³⁰⁰ is refused because it is close to the largest number ordinary computer arithmetic can hold. So 10ᵏ can be summed up to k = 300 but not 301, and 2ᵏ up to k = 996 but not 997. Lowering the upper bound or the ratio brings it back in range.
Why can't I choose k⁴ or 1/k as the term?
Fourth and higher powers have closed forms, but they come from Faulhaber's formula and grow messier with each power, so only the three classical ones are used. Reciprocals are a different matter: 1 + 1/2 + … + 1/n, the harmonic number, has no simple closed form at all and is handled by the harmonic number calculator.

How this page was produced

Published by
Quanta Calculator
Primary sources
4 cited below
Method
Σ (k = m → n) f(k) = F(n) − F(m − 1)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon