Use this free number sequence calculator to find the nth term and sum of arithmetic or geometric sequences. Enter the first term, difference or ratio and n to get the answer fast.
Number Sequence Calculator
Find any term and the running total of an arithmetic or geometric sequence — no counting on your fingers.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Number Sequence Result
Calculated locally in your browser
—
Name
—
Sequence type
—
First term a1
—
Common difference / ratio
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
For an arithmetic sequence the nth term is a1 plus n minus one times the common difference, and for a geometric sequence it is a1 times the ratio to the power n minus one. Enter the first term, the difference or ratio, and n to get that term plus the sum of the first n terms.
- Arithmetic nth term: a1 + (n-1)d
- Geometric nth term: a1 r^(n-1)
- Infinite geometric sum converges only for |r| < 1
Sequence landmarks
Reference values for this calculator.
| Type | nth term | Sum to n |
|---|---|---|
| Arithmetic | a1+(n-1)d | n/2 (first + last) |
| Geometric r!=1 | a1 r^(n-1) | a1 (r^n-1)/(r-1) |
| Geometric r=1 | a1 | n x a1 |
| Geometric |r|<1, infinite | tends to 0 | a1/(1-r) |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Returns both the nth term (headline) and the running sum, for arithmetic and geometric sequences. Enhancement: shows the previous term so growth per step is visible at a glance.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Arithmetic savings steps
a1=2, d=3, n=10
| Calculation | Steps |
|---|---|
| a_10 = 2 + 9 x 3 = 29. Sum = 10/2 x (4 + 27) = 155. | Term 10 is 29 and the first ten terms sum to 155. |
Result
Example 2
Doubling sequence
geometric, a1=3, r=2, n=6
| Calculation | Steps |
|---|---|
| a_6 = 3 x 2^5 = 3 x 32 = 96. Sum = 3 x (64-1)/(1) = 189. | Term 6 is 96 and the first six terms sum to 189. |
Result
Example 3
First term check
arithmetic, a1=7, d=5, n=1
| Calculation | Steps |
|---|---|
| a_1 = 7 + 0 x 5 = 7. | Term 1 is 7, exactly the starting value, as it must be. |
Result
How to use this calculator
Step 1
Choose arithmetic (adding) or geometric (multiplying).
Step 2
Enter the first term a1.
Step 3
Enter the common difference d, or the common ratio r for geometric.
Step 4
Enter which term you want, n.
Step 5
Read the nth term as the headline and the sum of the first n terms in the details.
Frequently asked questions
What is the difference between arithmetic and geometric?
Arithmetic sequences change by adding the same amount each step, like 2, 5, 8, 11. Geometric sequences change by multiplying by the same ratio, like 3, 6, 12, 24.
How do I find a common ratio?
Divide any term by the term before it. If that quotient is the same everywhere, it is the common ratio r.
Does a geometric series converge?
The infinite sum converges only when |r| is less than 1, to a1/(1-r). For |r| of 1 or more the terms do not shrink and the infinite sum diverges; finite sums still work for any r.
What if n is 1?
The first term is just a1 itself and the sum of the first 1 terms is also a1, whatever the difference or ratio.
Can the difference be negative?
Yes. A negative difference gives a falling arithmetic sequence, and a negative ratio gives a geometric sequence whose signs alternate.
About this calculator
A number sequence calculator finds terms of an ordered list built by a fixed rule. This tool covers the two core families: arithmetic sequences, which add the same difference each step, and geometric sequences, which multiply by the same ratio each step. It returns the nth term and the sum of the first n terms.
Arithmetic sequences model steady change: a salary rising by the same amount yearly, or a taxi fare adding the same per kilometre. Because each step adds d, term n is the start plus (n-1) copies of d — the minus one is the classic trap, since the first term needs zero additions.
Geometric sequences model proportional change: compound growth, bacterial doubling and radioactive halving. Each step multiplies by r, so term n carries (n-1) multiplications. When |r| is below 1 the terms shrink towards zero and even the infinite sum is finite; when r is 2 the terms double and sums explode, which the sum formula a1(r^n - 1)/(r - 1) makes obvious.
Use it for maths homework, savings that grow by a fixed amount or a fixed percentage, population and decay models, seating and stacking patterns, and checking a pattern you spotted in data before trusting it further.
How to calculate it yourself
Step 1
Decide whether the steps add (arithmetic) or multiply (geometric).
Step 2
Note the first term a1 and the step size d or ratio r.
Step 3
Count which term you need, n, starting at 1 for a1.
Step 4
Arithmetic: a_n = a1 + (n-1)d. Geometric: a_n = a1 r^(n-1).
Step 5
Add the first n terms with the matching sum formula to check plausibility.
Real-life examples
Training plan build-up
A runner starts at 2 km and adds 3 km to the long run each week, wanting the week-10 distance and the total planned over ten weeks.
Week 10 = 2 + 9 x 3 = 29 km. Total = 5 x (2 x 2 + 9 x 3) = 155 km.
The plan peaks at 29 km in week 10 with 155 km across the block — a big jump worth questioning before committing.
Bacteria doubling
A culture starts with 3 thousand cells and doubles each hour; a student needs the count after 5 doublings (term 6).
a_6 = 3 x 2^5 = 96 thousand cells.
After five hours the model predicts 96,000 cells, ignoring nutrient limits the real culture would hit.
Ideas & use cases
- Savings ladder: model adding a fixed extra amount each month as an arithmetic sequence and compare with percentage growth as a geometric one.
- Pattern check: if data might be geometric, divide neighbours — a constant quotient confirms the family before you extrapolate.
- Exam drill: hide a middle term, solve for it with the nth-term formula, then verify with this calculator.
Limitations & sources
- Handles arithmetic and geometric sequences only; Fibonacci-style, harmonic and recursively defined sequences are out of scope.
Sources: Arithmetic and geometric sequences and series: OpenStax Algebra and Trigonometry / Precalculus, Sequences and Series chapters
