Skip to content
The Calculatorz
Algebra

Arithmetic and Geometric Sequence Calculator

Find the nth term, the sum of the first n terms and the first terms of an arithmetic or geometric sequence, including infinite geometric sums.

Sequence details

Sequence

How to use this calculator

Choose arithmetic if each term adds the same amount, or geometric if each term is multiplied by the same ratio. Enter the first term, the common difference or ratio and which term you want. The calculator gives that term, the sum up to it, the first terms of the sequence and, for a geometric sequence with |r| < 1, the sum to infinity.

Formula

Arithmetic: aₙ = a₁ + (n − 1)d and Sₙ = n(a₁ + aₙ) ÷ 2. Geometric: aₙ = a₁ × r^(n − 1) and Sₙ = a₁(1 − rⁿ) ÷ (1 − r) for r ≠ 1 (Sₙ = n × a₁ when r = 1). Infinite geometric sum S∞ = a₁ ÷ (1 − r) when |r| < 1.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewIfrahMSc Mathematics

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What is the difference between arithmetic and geometric sequences?

In an arithmetic sequence you add the same number each time (2, 5, 8, 11); in a geometric sequence you multiply by the same number (2, 6, 18, 54).

How do I find the common difference?

Subtract any term from the next one: in 10, 7, 4, the difference is −3.

How do I find the common ratio?

Divide any term by the previous one: in 81, 27, 9, the ratio is 1/3.

When does an infinite geometric series have a sum?

Only when the ratio is between −1 and 1. Then the terms shrink towards zero and the sum approaches a₁ ÷ (1 − r).

Can the ratio or difference be negative?

Yes. A negative difference makes the sequence decrease; a negative ratio makes the terms alternate in sign.

Where are sequences used?

Arithmetic sequences model regular savings or seat rows; geometric sequences model compound interest, population growth and depreciation.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Abramson, J. (2021). College algebra 2e. OpenStax. View source
  2. Abramson, J. (2021). Precalculus 2e. OpenStax. View source
  3. Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Intermediate algebra 2e. OpenStax. View source
  4. Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source