Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Series calculator

Add up an arithmetic or geometric series exactly, find the sum to infinity, or total any term a(n) you type. Where a standard test applies, you also get a clear converges or diverges, with the reason.

Fractions like 1/3 give exact answers.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Growing a balance by a fixed rate is a geometric series: see it in the compound interest calculator. Estimating an integral with sums? Use the Riemann sum calculator.

What this calculator does

A series is a sum of the terms of a sequence. This page handles three cases: arithmetic series (add the same amount each time), geometric series (multiply by the same ratio each time), and any formula a(n) you type, such as 1/n² or (−1)ⁿ⁺¹/n. Use it for homework, for loan and savings patterns, or to see whether an infinite sum settles down.

The formulas

Arithmetic: Sₙ = n(a₁ + aₙ) ÷ 2, with aₙ = a₁ + (n − 1)d
Geometric, first n terms: Sₙ = a(1 − rⁿ) ÷ (1 − r), for r ≠ 1
Geometric, infinitely many terms: S = a ÷ (1 − r), only when −1 < r < 1

When you type whole numbers, decimals or fractions, these are computed in exact fractions, so 3 ÷ (1 − (−1/3)) shows as 9/4, not 2.2499999.

When does an infinite series converge?

A partial sum, however long, can't prove convergence on its own. So the calculator only gives a verdict when a standard test settles it for certain:

TestSeriesResult
GeometricΣ a·rⁿConverges if |r| < 1, diverges if |r| ≥ 1
p-seriesΣ 1/nᵖConverges if p > 1, diverges if p ≤ 1
nth-term (divergence) testAny Σ aₙIf aₙ doesn't approach 0, the series diverges
Limit comparison with a p-seriesRatios of polynomials in nBehaves like 1/nᵏ, where k is the degree gap
Alternating series test(−1)ⁿ times a shrinking termConverges if the size falls steadily to 0

The calculator recognizes terms built from rⁿ, powers of n and ratios of polynomials in n, including a (−1)ⁿ sign. For anything else, such as sin(n)/n², it adds the terms but says plainly that no test was applied.

Worked examples

  • Arithmetic: 3 + 7 + 11 + … for 10 terms. The last term is 3 + 9 × 4 = 39, so S₁₀ = 10 × (3 + 39) ÷ 2 = 210.
  • Geometric: 1 + 1/2 + 1/4 + … forever. Here a = 1 and r = 1/2, so S = 1 ÷ (1 − 1/2) = 2.
  • p-series: Σ 1/n² from 1 to 100 is about 1.634984. Since p = 2 > 1 it converges, and the full sum is π²/6 ≈ 1.644934.
  • Harmonic series: Σ 1/n is a p-series with p = 1, so it diverges, even though its terms shrink to 0. After 100 terms it's only about 5.1874, and it keeps growing without limit.

Limitations

  • The partial sum adds up to 200,000 terms. For slowly converging series, the sum after N terms can still be far from the limit. For p-series with p > 1, the page shows bounds for the full sum from the integral test.
  • Series of functions (power series, Taylor series) and tests like the ratio test on factorials aren't covered.
  • Every term from the starting n onward must be defined. A term like 1/n starting at n = 0 is rejected.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 3 + 7 + 11 + … (10 terms) = 210 ✓
  • 1 + 1/2 + 1/4 + … = 2 ✓
  • 3 − 1 + 1/3 − … = 9/4 exactly ✓
  • 2 + 6 + 18 + 54 + 162 = 242 ✓
  • Geometric with r = 2 diverges ✓
  • Σ 1/n², n = 1 to 100 ≈ 1.63498390018 ✓
  • Σ 1/n² is a p-series with p = 2; sum π²/6 ≈ 1.6449340668 ✓
  • Alternating harmonic, 100 terms ≈ 0.688172179310, converges ✓
  • Harmonic series diverges (p = 1) ✓
  • n/(n + 1): terms approach 1, so it diverges ✓
  • Σ n^−1.5 to 1000 plus integral-test bounds bracket ζ(1.5) ≈ 2.612375 ✓
  • 1/n starting at n = 0 is rejected ✓
  • Factorials are rejected with a clear message ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What is the sum of an infinite geometric series?

a ÷ (1 − r), where a is the first term and r the common ratio, as long as −1 < r < 1. For 1 + 1/2 + 1/4 + …, that's 1 ÷ (1/2) = 2.

How do I know if a series converges?

First check that the terms approach 0. If they don't, it diverges. Then match it to a known type: geometric series converge when |r| < 1, and p-series Σ 1/nᵖ converge when p > 1.

Does the harmonic series converge?

No. Σ 1/n is a p-series with p = 1, so it diverges, even though each term gets smaller.

What is the sum of 1/n²?

π²/6 ≈ 1.644934. This is the Basel problem, and the value ζ(2) = π²/6 is listed in the NIST Digital Library of Mathematical Functions.

What's the difference between a sequence and a series?

A sequence is a list of numbers, a₁, a₂, a₃, …. A series is what you get when you add them: a₁ + a₂ + a₃ + ….

Related calculators