What the calculator does
The calculator sums real, unitless geometric series with a fixed common ratio. It works forward from three inputs: the first term, the ratio, and the number of terms. It does not parse arbitrary series or sigma expressions, and it does not solve backward for a missing ratio or term count. The sections below show how to turn a series from a textbook or homework problem into those inputs.
| Control | What to enter | Default |
|---|---|---|
| Series type | Finite adds a set number of terms. Infinite checks convergence and reports the sum if one exists. | Finite |
| First term, | The first addend. Any value from −100,000 to 100,000. | 3 |
| Common ratio, | The multiplier between consecutive terms. Any value from −10 to 10. | 0.5 |
| Number of terms, | Whole numbers from 1 to 250, counting the first term. Hidden and ignored for Infinite. | 4 |
The Examples selector offers Four halving terms and Alternating infinite series. Choosing Custom leaves the current inputs in place. Four halving terms sets , , and gives 5.625. These are also the values Reset restores. Alternating infinite series sets Infinite with and , giving 2 with the status Converges.
Entering values
Each numeric control has a typed field and a slider. Use the typed field for precise values or numbers beyond the slider's initial span. The first term and ratio accept signed decimals and scientific notation, such as -2.5 or 1e-3. Enter fractions in decimal form: type 0.5 for one half. Zero is allowed in either field, but any nonzero first term or ratio must have a magnitude of at least . Each entry is limited to 128 characters, and an empty field is invalid.
If an input is invalid, the field shows a message, the main output shows an em dash, and the chart is cleared.
Geometric series sum formula
A geometric series is the sum of terms in which each term is the previous one multiplied by the same number. With first term and common ratio :
The partial sum adds the first terms, and by convention :
Finite geometric series formula
The same expression is often called the geometric progression sum formula. For :
For every term equals , so:
The derivation takes two lines. Multiply by to get . Subtracting this from cancels every term except the first and last, leaving . Dividing by gives the formula above, which is valid whenever .
A finite sum exists for every ratio the calculator accepts. Some special cases are useful to recognize:
- With , the sum is just .
- With , the sum is for every positive term count, since all later terms are zero.
- With , the terms alternate between and . The sum is for odd and for even .
Infinite geometric series sum formula
An infinite geometric series is defined as the limit of its partial sums, . Look at what happens to in the finite formula as grows:
- If , then , and the sum settles at
- If and , the terms do not approach zero, so the partial sums never settle and the series diverges.
- If , every term is zero and the series converges to for every ratio.
Use when . Handle directly as a sum of , including at , where the quotient is undefined. For a nonzero first term and , the quotient gives even though the partial sums grow without bound in magnitude.
Two boundary cases are worth knowing. At the partial sums are , which grow without limit. At they alternate between and forever. Neither settles, so both diverge for nonzero .
How to check convergence
The geometric series convergence test is a single comparison of with 1.
| Condition | Result | Sum |
|---|---|---|
| Converges | ||
| and | Converges | |
| and | Diverges | No finite sum |
In Infinite mode, the Convergence card shows Converges or Diverges. For a divergent series the main output shows No finite sum, and the advisory The partial sums do not settle explains that the terms do not approach zero. It also suggests switching to Finite if you want the sum of a fixed number of terms. Divergence is a valid answer, not an input error.
When and , the partial sums alternate above and below the limit. With and , the partial sums are , , , , and so on, closing in on from both sides.
Worked examples
A finite sum
Add the first five terms of . Here , , :
Adding the terms directly confirms it: .
The default example
With , , , the terms are . The formula gives:
An infinite sum
For , the first term is and the ratio is . Since , the series converges:
A divergent series
For , the ratio is , and . The calculator reports Diverges and No finite sum. To add a limited number of these terms, switch to Finite.
Translating your series into calculator inputs
Finding the ratio. If you know two consecutive terms and the earlier one is nonzero, divide the later by the earlier. For terms and , . The calculator does not do this step for you, so work it out and type the decimal in.
Finding the first term. Use the value of the first addend you want to include. If a sum starts at index rather than , the first term is the value of the summand at .
Counting terms from index bounds. A finite sum with inclusive integer bounds and , where , has terms. For example, has terms. The first term is and the ratio is , so enter , , :
Starting an indexed series at or does not change the method. Evaluate the summand at the starting index to get , and count the terms with .
Reading the results
Main result. The output is labeled Finite sum or Infinite sum. Only Infinite mode shows the Convergence card.
Substituted formula. This card shows your values plugged into the sum formula. For the defaults it reads 3 × (1 − 0.5^4) ÷ (1 − 0.5). In Finite mode with it shows the first term multiplied by the number of terms. For an infinite series with it displays Every term is zero. For a divergent series it shows the convergence condition that failed. The card is a numeric substitution or a short explanation. The derivations above are what show why the formula works.
Precision and display. Results show up to 15 significant digits. A leading ≈ means the displayed number was rounded relative to the number the engine computed. Rounded nonzero magnitudes below or at least appear in scientific notation. The engine uses floating-point arithmetic, so a displayed value without ≈ can still carry floating-point rounding, and extremely small computed values can round to zero.
Behavior near . The calculator checks the entered decimal bounds and whole-number condition before converting values to floating point. Near it keeps the decimal distance of from 1 for the convergence decision and for stable evaluation. As a precision check, Infinite with and converges and displays 3e16, matching . The finite engine uses a numerically stable evaluation of the same sum, including grouping pairs of terms when the ratio is negative.
The partial sum chart
The chart plots the partial sum against the number of terms, starting at .
- Finite plots through .
- Infinite previews through , including for divergent series.
- For a convergent infinite series, a dashed horizontal line marks .
When is close to 1, the 12-term preview can still be far from the limit. For , the gap after terms is . For an all-zero series the gap is zero at every supported ratio. With a nonzero first term and , for example, reaches only about 72% of the limit, because .
The Inspect a partial sum slider selects points from through the last plotted sum. It starts at the last point when the chart is redrawn and can be moved with the keyboard arrow keys. Its readout shows the selected term count and the running total at that point.
Other tools
- Copy copies a summary of your inputs, the result, the convergence status (when applicable), and the substitution or explanation.
- Print opens your browser's print dialog, where you can also save the page as a PDF.
- Reset restores the initial four-term calculation and chart.
- Inline input tips and a Help panel are available in the calculator.
Verifying a result by hand
- Check the ratio by dividing a term by its preceding term when that preceding term is nonzero. For pairs that start with zero, check that multiplying by the ratio gives the next term.
- For a finite sum, compute and substitute into , or use if .
- For an infinite sum, handle first. Otherwise check before computing .
- Check against the chart. A finite sum should match the last plotted point. In Infinite mode, compare a plotted point with the partial sum for the same term count. The dashed line, when shown, marks the limit separately.
Frequently asked questions
What is the sum of a geometric series? For a finite series with first term , ratio , and terms, the sum is . If , it is .
When does an infinite geometric series have a sum? If , the sum is for every supported ratio. If , the sum exists exactly when and equals .
Can the ratio be negative? Yes. With a nonzero first term, a negative ratio makes the terms alternate in sign. If , the infinite series converges and its partial sums alternate around the limit. If the first term is zero, every partial sum is zero.
What if my ratio is a fraction such as 1/3?
Enter it in decimal form. Because has no exact finite decimal, type a long decimal such as 0.3333333333 and expect a very small difference from the exact fraction.
Does the number of terms matter for an infinite series? No. The term count is hidden and ignored in Infinite mode, since the infinite sum is the limit of the partial sums.
Can the calculator find the ratio or the number of terms for me? No. It calculates forward from the first term, ratio, and term count. Find the ratio from consecutive terms and the term count from the index bounds, as shown above, then enter them.
Why does one result start with ≈?
The ≈ means the displayed number was rounded to 15 significant digits relative to the computed value.
Is a geometric progression sum the same as a geometric series sum? Yes. A geometric progression is the list of terms, and a geometric series is their sum. The same formulas apply.
Reference
Read the formula definitions, supported input ranges, and limitations before using this estimate.