Number Sequence Calculator

Choose a sequence type, enter the first term and the common difference or ratio, and get the nth term, the sum of the first n terms and a list of the terms.

How it works

An arithmetic sequence adds the same difference each step; a geometric sequence multiplies by the same ratio; a Fibonacci-type sequence adds the previous two terms. Closed formulas give the nth term and the sum directly.

Arithmetic: an = a1 + (n − 1)d, sum = n(a1 + an) ÷ 2
Geometric: an = a1rn−1, sum = a1(1 − rn) ÷ (1 − r)
Fibonacci type: an = an−1 + an−2

Worked example

Using the default values: Sequence type = Arithmetic; First term = 3; Common difference / ratio / second term = 4; Term number n = 10.

The calculator returns: Term 10: 39; Sum of the first 10 terms: 210; First terms: 3, 7, 11, 15, 19, 23, 27, 31, 35, 39.

Limits and assumptions

  • The list shows at most the first 30 terms; the nth term and sum are computed for any n up to 1,000,000.
  • Geometric sequences can grow very large; values above about 1e308 overflow to Infinity.
  • Use whole numbers for n.

Last reviewed: 2026-12-01. Found a mistake? Please use the Contact page and tell us the inputs you used.

Frequently asked questions about the Number Sequence Calculator

How do I tell arithmetic from geometric?

If you add the same number each time it is arithmetic; if you multiply by the same number it is geometric.

What is the sum of a geometric sequence with ratio 1?

The terms are all equal, so the sum is n times the first term. The calculator handles this case.

What is a Fibonacci-type sequence?

Each term is the sum of the two before it. Standard Fibonacci starts 1, 1; you can enter any two starting terms.

Advertisement