Summation Calculator (Sigma Notation)

Evaluate Σ k, Σ k², Σ k³, Σ (ak + b) or Σ a·rᵏ from k = m to n with the closed-form formulas. Exact whole-number answers.

A whole number (negative and 0 are allowed).
A whole number, at least m, up to 1,000,000,000.

Results

Σ k² for k = 1 to 10
385
Number of terms
10
Closed form
F(n) = 1² + 2² + … + n² = n(n + 1)(2n + 1)/6
Working
F(10) = 10 × 11 × 21 ÷ 6 = 385
The terms
1 + 4 + 9 + 16 + … + 100

How it’s calculated

Sigma notation Σ means “add up”. Σ f(k) for k = m to n adds f(m) + f(m + 1) + … + f(n). Instead of adding term by term, closed-form formulas give the answer directly:

1 + 2 + … + n = n(n + 1)/2 1² + 2² + … + n² = n(n + 1)(2n + 1)/6 1³ + 2³ + … + n³ = [n(n + 1)/2]² Σ (ak + b) = (number of terms) × (first + last) ÷ 2 Σ a·rᵏ, k = m..n = a(rⁿ⁺¹ − rᵐ) ÷ (r − 1)

To start at k = m instead of 1, subtract the sum up to m − 1: Σ (k = m to n) = F(n) − F(m − 1).

Example: 1² + 2² + … + 10² = 10 × 11 × 21 ÷ 6 = 385. Starting at 3 and ending at 7: Σ k² = F(7) − F(2) = 140 − 5 = 135, which matches 9 + 16 + 25 + 36 + 49.

The power sums and arithmetic sums are exact, even for n up to a billion. Geometric sums with whole-number a and r (from k = 0 up) are exact up to 40 digits; other geometric sums are rounded to about 10 significant figures.

Frequently asked questions

What is the sum of the first 100 natural numbers?

100 × 101 ÷ 2 = 5,050. This is the formula Gauss is said to have used as a schoolboy: pair 1 with 100, 2 with 99 and so on, giving 50 pairs of 101.

What is the sum of the first n squares?

n(n + 1)(2n + 1)/6. For n = 10 that is 10 × 11 × 21 ÷ 6 = 385.

Why is the sum of cubes the square of the sum of integers?

It is a known identity: 1³ + 2³ + … + n³ = (1 + 2 + … + n)². For n = 4, 1 + 8 + 27 + 64 = 100 = 10².

How is this different from the sequence calculator?

The sequence calculator builds a sequence from its first term and finds the nth term. This one evaluates sums in sigma notation over any range of k, including powers of k, with exact answers.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator