Divergence test
The first check for every series. The series diverges when the terms do not approach 0.
Calculate and analyze infinite series with step-by-step solutions, convergence tests, partial sums and interactive visualizations.
Enter the general term aₙ and set the range for summation.
| Terms (N) | Value |
|---|
| Terms (N) | Partial sums |
|---|
An infinite sum calculator adds the terms of a sequence without end and returns the total, called the sum to infinity, or reports that the series diverges. Type the expression, set the starting value and ending value, and the series calculator returns the exact sum, a decimal value, the convergence test and every step. Students check algebra and calculus homework with the tool, and engineers and analysts use the infinite series solver for finance, science and data analysis. The calculator has 4 main parts: the series term input, the summation algorithm, the convergence test and the result display.
An infinite sum is the total of infinitely many terms of a sequence, added in order. Mathematicians call the expression an infinite series and write the series with the Greek letter sigma (Σ):
A sequence is a list of numbers, such as 2, 4, 6, 8. A series is the sum of that list: 2 + 4 + 6 + 8 = 20. A finite series stops after a set number of terms, and an infinite series never stops.
The value of an infinite sum is the limit of the partial sums. The partial sum SN adds the first N terms. The series is a convergent series when SN approaches one finite number as N grows, and a divergent series when SN grows without bound or never settles.
The series 1/2 + 1/4 + 1/8 + ⋯ equals 1. A board 1 meter (100 cm, about 3.3 ft) long, cut in half again and again for construction or material cutting, never gives more than 1 meter of pieces in total. The series 1 + 2 + 3 + 4 + ⋯ diverges: in block stacking with each block 1 unit taller than the last, the total height grows without limit.
An infinite sum calculator works in 4 stages: the calculator reads the expression, classifies the series, tests convergence and computes the sum.
The parser reads the series term input, such as 3/2^n or (-1)^n/n, finds the index variable and builds a sigma notation preview.
The summation algorithm checks 6 known patterns: geometric, telescoping, p-series, alternating, power series and rational functions.
The convergence tester runs the divergence test first, then the ratio, root, integral, comparison, limit comparison or alternating series test.
The result display shows the exact closed form when one exists, or a numerical value accurate to 10 to 15 significant digits.
The calculator returns 3 kinds of answers. An exact sum comes from formulas, such as a/(1 − r) for a geometric series or partial fractions for a telescoping series sum. A numerical sum comes from series acceleration: the Levin u-transform (a sequence transform related to Padé approximants), Cohen–Villegas–Zagier (CVZ) acceleration for alternating series, and tail estimates with Euler–Maclaurin summation. A divergence report appears when the partial sums grow without bound or oscillate.
For a numerical sum, the calculator compares the decimal value with known constants, including π, π², ln 2, e and Apéry's constant ζ(3), and shows the matching closed form, such as π²/6.
The first check for every series. The series diverges when the terms do not approach 0.
Each term is a fixed multiple of the term before, the common ratio r.
The harmonic series (p = 1) diverges; p = 2 gives π²/6.
Converges when L < 1 and diverges when L > 1. Suited to factorials and exponentials.
Converges when L < 1 and diverges when L > 1. Suited to terms raised to the power n.
For positive, decreasing terms, the series and the integral converge or diverge together.
When the limit is a positive number, both series converge or both diverge.
Converges when bₙ decreases to 0, sometimes only conditionally.
There are 8 main types of infinite sum, including arithmetic, geometric, harmonic and power series. Each type has its own convergence rule and sum formula.
An arithmetic series adds terms that change by the same amount, the common difference d. The terms are a, a + d, a + 2d, and so on. A part-time job that pays USD 50 on day 1 and USD 10 more each day earns 50 + 60 + 70 + 80 + 90 = USD 350 in 5 days. An infinite arithmetic series always diverges, unless every term equals 0.
A geometric series multiplies each term by the same number, the common ratio r. The infinite geometric series converges to a/(1 − r) when |r| < 1 and diverges when |r| ≥ 1.
Temperature cooling follows a geometric pattern. Hot coffee at 90 °C (194 °F) in a 20 °C (68 °F) room starts 70 °C (126 °F) above room temperature. With the gap shrinking by 20% every minute (common ratio 0.8), the temperature drops 14 + 11.2 + 8.96 + ⋯ °C. The infinite sum of the drops is 14/(1 − 0.8) = 70 °C, so the coffee approaches room temperature.
The harmonic series is the sum of the reciprocals of the positive integers, 1 + 1/2 + 1/3 + 1/4 + ⋯, and the harmonic series diverges. The terms shrink to 0, but the partial sums grow without limit, at about the rate of ln N. The first 1,000,000 terms add up to only about 14.39. Nicole Oresme proved the divergence around 1350.
A p-series has the form Σ 1/nᵖ and converges only when p > 1. The p-series with p = 2 is the Basel problem: Leonhard Euler proved in 1734 that Σ 1/n² = π²/6 ≈ 1.6449. The sum of a convergent p-series equals ζ(p), a value of the Riemann zeta function. The p-series with p = 1 is the harmonic series, which diverges.
An alternating series switches sign from term to term, such as 1 − 1/2 + 1/3 − 1/4 + ⋯ = ln 2. The alternating series test states that Σ (−1)ⁿbₙ converges when bₙ decreases to 0. The Leibniz series 4 − 4/3 + 4/5 − 4/7 + ⋯ approaches the true value of π ≈ 3.14159. Madhava of Sangamagrama (around 1400) and Gottfried Leibniz (1670s) found this series for an irrational number.
A power series is an infinite sum of powers of a variable, Σ cₙ(x − a)ⁿ. A power series converges inside a radius of convergence R and diverges outside R. Type x^n/n! in the calculator, and the tool treats x as a parameter, finds R = ∞ and returns eˣ.
A Taylor series writes a function as a power series built from the derivatives of the function at one point a, and a Maclaurin series is a Taylor series with a = 0.
Three common Maclaurin series are eˣ = Σ xⁿ/n!, sin x = Σ (−1)ⁿx²ⁿ⁺¹/(2n+1)! and ln(1 + x) = Σ (−1)ⁿ⁺¹xⁿ/n. Phone calculator software and graphics code evaluate functions such as sin x with polynomial approximations closely related to these series, which keeps curved shapes drawn as a smooth line at any screen zoom.
A Fourier series writes a periodic function as an infinite sum of sines and cosines.
For −π < x < π, the sawtooth wave x/2 equals Σ (−1)ⁿ⁺¹ sin(nx)/n. Enter (-1)^(n+1) sin(n)/n to check the case x = 1: the calculator returns 0.5. Audio compression, signal processing and heat flow models use Fourier series.
The infinite sum formula for a geometric series is S = a/(1 − r), valid when |r| < 1. Here a is the first term and r is the common ratio. No single formula sums every infinite series, so the formula depends on the series type. There are 8 standard sum formulas:
Example: find the sum of the infinite geometric series 16 + 4 + 1 + 1/4 + ⋯. The first term is a = 16, and the common ratio is r = 4/16 = 1/4. The sum is 16/(1 − 1/4) = 64/3 ≈ 21.33.
The infinite sum calculator has 9 features for students, teachers and professionals:
Closed forms such as 1, 3/4, π²/6, ln 2 and e, next to the decimal value.
Series type, convergence test, sum formula and final value in order.
Ratio, root, integral, comparison, limit comparison, alternating series and divergence tests, plus Auto mode.
Any starting value and ending value, including ∞.
Radius of convergence and closed forms such as eˣ and 1/(1 − x).
The typed expression appears as a formatted formula while you type.
A chart and a terms table with the first terms and running totals.
Buttons for powers, fractions, roots, factorials, π and e.
The calculator runs in the browser, with no sign-up and no data sent to a server.
Sigma notation is a short way to write a sum, with the Greek letter Σ (sigma) standing for “sum.”
Sigma notation has 4 parts:
The letter below Σ, such as i, n, k or j, is the index variable. The index variable changes by 1 at each step, from the starting value to the ending value. Each value goes into the expression, and the results are added:
The choice of letter does not change the sum: Σ 2k and Σ 2j from 1 to 4 both equal 20.
Sigma notation turns a long sum into one line. Algebra, calculus, finance, science, economics, computer programming and data analysis use sigma notation for repeated addition. A savings plan that starts at USD 50 a month and adds USD 25 more each month saves 50 + 75 + 100 + 125 + 150 + 175 = USD 675 in 6 months:
Weekly savings of USD 10 for a year (52 weeks) give a total of USD 520. In computer programming, the same sum is a for loop that adds 10 to a total 52 times. In calculus, sigma notation defines Riemann sums, which estimate the area under a curve.
To solve a series manually, pick 1 of 3 methods based on the series: add term by term, use a formula, or use partial sums.
To add term by term, write each term and keep a running total. This method suits short finite series. Example: 4 + 8 + 12 + 16.
The total is 40. Steps tracking works the same way: fitness apps add 7 daily step counts, such as 3,500 + 4,200 + 4,000 + 3,900 + 4,500 + 4,700 + 5,000 = 29,800 steps in a week.
To use a formula, identify the series type first: a constant difference means an arithmetic series, and a constant ratio means a geometric series.
Here a is the first term, l is the last term and n is the number of terms. Example: 5 + 10 + 15 + ⋯ + 50. The common difference is d = 5, so n = (50 − 5)/5 + 1 = 10 terms. The sum is S₁₀ = 10/2 × (5 + 50) = 275. A worker who earns USD 5 in week 1 and USD 5 more each week earns USD 275 in 10 weeks.
Example: 3 + 6 + 12 + 24, with a = 3, r = 2 and n = 4. The sum is 3 × (1 − 2⁴)/(1 − 2) = 3 × 15 = 45. Compound interest follows the same formula: a deposit of USD 100 at the start of each year in a savings account that pays 10% interest grows to 100 × (1.1 + 1.1² + 1.1³) = USD 364.10 after 3 years.
To find an infinite sum with partial sums, compute S₁, S₂, S₃, … and find the limit. For a geometric series with |r| < 1, the limit has a formula:
The partial sums are 0.5, 0.75, 0.875, 0.9375, and S₁₀ = 0.9990234. The gap to 1 halves with each term. A bouncing ball dropped from 2 m (6.6 ft) that rebounds to 60% of each height travels 2 + 2 × 1.2/(1 − 0.6) = 8 m (26.2 ft) in total.
For series without a formula, partial sums show the trend but converge slowly: the Leibniz series for π needs about 500 terms for 3 correct digits. The infinite sum calculator uses series acceleration to reach 10 to 15 digits.
There are 7 common mistakes with series, including confusing a sequence with a series and using the infinite sum formula when |r| ≥ 1:
To use the series calculator, enter the expression, set the limits and press Calculate sum. The result appears in 3 tabs: Step-by-step, Partial sums and Terms table.
Type the general term in the Summand box, such as 1/n^2, (-1)^n/n or x^n/n!. Use ^ for powers, / for division, ! for factorials, sqrt() for roots, and pi and e for constants. Set the starting value and the ending value, and press ∞ for an infinite series. The Variable menu picks the index variable, or leaves the choice on Auto. Press Enter or Calculate sum.
The Step-by-step tab shows 4 items: the series type, the convergence test with its limit, the sum formula or method, and the final value with a decimal approximation. A badge row shows whether the series converges or diverges and which test decided.
The Partial sums tab draws SN against N: a convergent series levels off, and a divergent series keeps climbing. The Terms table tab lists n, aₙ and SN for the first terms. Copy copies the answer, and Share copies a link that reopens the same series.
These 10 infinite series examples cover the main series types. Press Try to open any example in the calculator.
| Series | Sum | Type | Calculator |
|---|---|---|---|
| Geometric | |||
| Geometric | |||
| Telescoping | |||
| p-series (Basel problem) | |||
| Alternating harmonic | |||
| Leibniz series | |||
| Exponential | |||
| Arithmetic–geometric | |||
| Power series | |||
| Harmonic (diverges) |
Press a problem to load it into the infinite sum calculator and see the full solution.
Evaluate the finite sum of 2n + 5 from n = 1 to 12
Find the sum of the series 1 + 1/3 + 1/9 + 1/27
Find the sum of the series 4 + (−12) + 36 + (−108)
Find the sum of the infinite geometric series 16 + 4 + 1 + 1/4 + ⋯
Find the sum of 3⁻ⁿ from n = 1 to ∞
Find the telescoping sum of 1/(n(n + 2)) from n = 1 to ∞
Find the sum of n/2ⁿ from n = 1 to ∞
Test the harmonic series 1/n for convergence
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
Yes, an infinite sum has a finite value when the series converges. The partial sums of a convergent series approach one number: 1/2 + 1/4 + 1/8 + ⋯ = 1, and 1 + 1/4 + 1/9 + 1/16 + ⋯ = π²/6 ≈ 1.645.
An infinite series is the expression a₁ + a₂ + a₃ + ⋯, and the infinite sum is the value of that expression, the limit of the partial sums. A divergent infinite series has no infinite sum in the usual sense. Many textbooks use the 2 terms interchangeably.
Sigma notation is a compact way to write a sum with the Greek letter Σ. The sum of n from n = 1 to 5 means 1 + 2 + 3 + 4 + 5 = 15, where n is the index variable, 1 is the starting value and 5 is the ending value.
An infinite series converges when the partial sums approach a finite limit, and 7 standard tests check this: the divergence, ratio, root, integral, comparison, limit comparison and alternating series tests. Start with the divergence test: a series diverges when the terms do not approach 0. Use the ratio test for factorials and exponentials, and the p-series rule (converges only for p > 1) for powers of n.
No, a TI-84 cannot compute an exact infinite sum, but a TI-84 approximates one with a large upper limit. Use sum(seq(1/X², X, 1, 999)) on any TI-84, or the Σ( summation template on TI-84 Plus models with OS 2.53MP or later. The result for 1/X² up to 999 is about 1.6439, close to π²/6 ≈ 1.6449. The infinite sum calculator gives the exact value and a convergence test.
Yes, this calculator solves infinite sums step by step. Each solution shows the series type, the convergence test and its limit, the sum formula or method, and the final exact or decimal value.
Yes, you can calculate the sum to infinity online with this free infinite sum calculator. Set the ending value to ∞, type the term and press Calculate sum. The tool works in any modern browser on phones, tablets and computers.
This calculator supports 9 types of infinite series: geometric, arithmetic, telescoping, p-series, harmonic, alternating, power, Taylor and Maclaurin, and Fourier-type series with sine and cosine terms. Rational functions, factorials, exponentials, roots and logarithms work in any combination.
No, not every infinite sum can be calculated: a standard infinite sum exists only for a convergent series. A divergent series has no sum in the usual sense. Advanced methods assign values to some divergent series: Cesàro means and Abel summation give 1 − 1 + 1 − 1 + ⋯ the value 1/2, Borel transforms sum some divergent asymptotic expansions, and zeta regularization, through Ramanujan summation and analytic continuation of the Riemann zeta function, assigns −1/12 to 1 + 2 + 3 + ⋯. The calculator reports divergence for these series and does not assign such values.
Yes, you can use this tool as a series calculator for any finite or infinite sum, including Riemann sums written in sigma notation. For a right Riemann sum of f(x) = x² on [0, 1] with 100 rectangles, enter (n/100)^2/100 with start 1 and end 100: the result is 0.33835, close to the exact integral 1/3.
An infinite sum calculator adds the terms of a sequence and returns the sum to infinity, or reports a divergent series. The series calculator covers arithmetic, geometric, harmonic, p-series, alternating, power, Taylor, Maclaurin and Fourier series, with the series term input, summation algorithm, convergence test and result display working together. Use the infinite sum calculator for algebra and calculus homework, compound interest and savings plans, science and data analysis, and check each answer with the step-by-step solution.