Geometric Series Sum Calculator screenshot

Geometric Series Sum Calculator

Compute a geometric series partial sum and its infinite sum, with the convergence condition checked from the ratio.

Privacy First
0 Runs
Updated 2026-11-22
No upload
Instant
No signup

Geometric Series Sum Calculator

Compute a geometric series partial sum and its infinite sum, with the convergence condition checked from the ratio.

How this page computes

The page reads the first term and ratio, computes the partial sum to n and, when the ratio is smaller than one in magnitude, the infinite sum a/(1-r). It states why the infinite sum exists or does not.

The calculation runs entirely in this browser tab; nothing is uploaded.

The page computes a geometric series partial sum and, when it exists, the infinite sum. Worked example: first term 2 and ratio 0.5 give a partial sum of 3.99609375 for ten terms and an infinite sum of 4.

The convergence check is the magnitude of the ratio: below 1 the infinite sum is a/(1-r), at or above 1 the series diverges. The page prints that condition instead of returning a finite number for a divergent series.

How to use the Geometric Series Sum Calculator

Enter the first term a and the ratio r separated by a space or comma, set the number of partial terms, then press Run.

The partial sum is printed for every ratio, including a divergent one. The infinite sum appears only when the ratio is inside the convergence interval, and the reason is printed beside it.

The geometric-sum formulas

The partial sum of n terms is a times (1 - r^n)/(1 - r), with the straight-line case a*n when r is exactly 1. The infinite sum is the limit a/(1-r), which exists only when |r| < 1.

The page evaluates the ratio directly and compares its magnitude with 1. A ratio of exactly 1 is the constant-term case, not a convergent geometric series, and the page does not claim otherwise.

What to Expect

Best for

  • Checking a geometric-series exercise
  • Seeing a partial sum approach its limit
  • Testing the |r| < 1 condition

Not ideal for

  • An arbitrary series, which has its own test page
  • A symbolic derivation of the formula
  • A ratio that varies from term to term

What this tool keeps

  • The first term, ratio, partial sum and, when it exists, the infinite sum

What may need cleanup

  • The partial sum is exact for the printed n; the infinite sum is the limit

Common errors

  • A non-numeric term or ratio is refused
  • A ratio of magnitude 1 or more is reported as divergent

Example use cases

  • Sum 2 + 1 + 0.5 + …
  • See a ratio of 1 diverge

Sample input

2 0.5

Sample output

geometric series with a = 2, r = 0.5 partial sum S_10 = 3.99609375 sum S = a/(1-r) = 4 converges because |r| = 0.5 < 1

Who this is for

  • Students learning geometric series
  • Readers checking a compounding sum

Frequently asked questions

When does the infinite sum exist?

Only when the absolute value of the ratio is less than 1. The page checks that condition and prints the comparison; a ratio outside the interval gets a divergence statement instead of a finite sum.

What is the partial sum for r = 1?

It is a times n, the sum of n copies of the first term. That is not a convergent geometric series, and the page separates the finite partial sum from the nonexistent infinite sum.

Can the ratio be negative?

Yes. A negative ratio alternates the signs, and the convergence condition is still |r| < 1. The page evaluates the magnitude rather than the signed ratio for that check.

Is anything uploaded?

Nothing is uploaded. The partial and infinite sums are computed in this browser tab with JavaScript, and reloading the page discards the inputs and the result.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.