Geometric Sequence Calculator
Find the nth term, the common ratio and the sum of the first n terms of a geometric sequence.
Terms and sums by ratio
Give the first term a1, the common ratio r and the number of terms n. The page evaluates a_n = a1 × r^(n−1) and adds the first n terms with S_n = a1 × (r^n − 1)/(r − 1), using S_n = n × a1 when the ratio is exactly 1 because that form divides by zero. With a1 = 2, r = 3 and n = 5 the fifth term is 162 and the sum of the five terms is 242.
The count of terms must be a whole number of at least one, and a fractional count is refused because half a term has no position. A negative ratio is accepted and produces alternating signs, which is the honest answer for that input. The page does not infer the ratio from a list of terms, and it does not sum an infinite series, so it will not print a limit the visitor did not ask for.
The arithmetic runs in this tab from the three values you type. Nothing is uploaded, nothing is stored, and reloading the page recomputes the same two figures.
The page evaluates a_n = a1 × r^(n−1) and adds the first n terms with S_n = a1 × (r^n − 1)/(r − 1), falling back to n × a1 when the ratio is exactly 1 so nothing divides by zero. With a1 = 2, r = 3 and n = 5 the fifth term is 162 and the sum of the five terms is 242. It does not infer the ratio from a list of terms and does not sum an infinite series.
Finite geometric runs only: nth term, running total and the ratio you supplied.
How to use it
Enter the first term, the common ratio and the number of terms, then press Run. The nth term and the sum of the first n terms are printed with the ratio and the first term beside them.
What it will not do
A fractional term count is refused, because half a term has no position. A ratio of zero is accepted and collapses every term after the first, which is the honest answer rather than an error; the page still refuses to print a limit for an infinite series because it only sums a finite run.
What to Expect
Best for
- Checking compound growth figures or sequence homework by hand.
What this tool keeps
- The powers and the sum are computed in this tab from your three figures, so nothing is uploaded and a reload reproduces the same numbers.
Sample input
a1 = 2, r = 3, n = 5
Sample output
nth term (n = 5) = 162 Sum of the first 5 terms = 242 Common ratio r = 3; a1 = 2
Frequently asked questions
How do I use the geometric sequence calculator?
Fill in the fields above and press Run. Enter the first term, the common ratio and the number of terms, then press Run. The nth term and the sum of the first n terms are printed with the ratio and the first term beside them.
Is my input uploaded?
No. Every figure is computed in this tab with JavaScript. Nothing is posted to a server, nothing is stored, and the page keeps working offline once it has loaded.
What are the limits?
The number of terms must be a whole number of 1 or more and each field must hold a number; a fraction or a blank is refused with the field named.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.