Arithmetic and Geometric Sequence Calculator (general term · sum)
Enter the first term, the common difference (ratio) and the term number to get the general term and the sum.
🔒 Your input is never sent to a server.
First terms
How to use
Choose the sequence type and enter the first term a, the common difference d (or ratio r) and the term number n; the nth term and the sum of the first n terms appear immediately. For a geometric sequence with |r| < 1, the sum of the infinite series is also shown.
Formulas
- Arithmetic: aₙ = a + (n−1)d, Sₙ = n{2a + (n−1)d} / 2
- Geometric: aₙ = a·rⁿ⁻¹; if r ≠ 1, Sₙ = a(rⁿ − 1) / (r − 1); if r = 1, Sₙ = na
- Infinite geometric series: a / (1 − r) if |r| < 1, otherwise it diverges
You can also find the full formulas in the Math Formula Reference.
FAQ
What is the sum from 1 to 100?
Enter a = 1, d = 1, n = 100 and the sum is 5050.
The geometric sequence values get huge.
If the ratio is greater than 1 the values grow very fast. Very large values are shown in exponent form (e.g. 1.23e+30), and if they exceed the representable range you are told it cannot be calculated.
Results are for reference only and accuracy is not guaranteed. Terms & disclaimer