1. Home
  2. Calculators
  3. Arithmetic & Geometric Sequence Calculator

Arithmetic & Geometric Sequence Calculator

For students who need a term or a sum from the first term and the common difference or ratio.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Arithmetic & Geometric Sequence Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table.

Features

  • Arithmetic and geometric sequences
  • nth term and sum of n terms
  • First terms listed
  • Infinite sum when |r| < 1
  • Average of the terms and the closed formula

Supported formats

Input

  • Typed numbers

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Arithmetic & Geometric Sequence Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It covers arithmetic and geometric sequences only, not recursive or custom rules.
  • The infinite sum is shown only when the common ratio is between -1 and 1.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Arithmetic and geometric sequences: the nth term, the sum and when an infinite sum exists

A sequence is a list of numbers that follows a rule. Two rules are common enough to have their own formulas: adding the same amount each time, an arithmetic sequence, and multiplying by the same amount each time, a geometric sequence. This page takes the first term, the common difference or ratio and the number of terms, then gives the last term, the total, a list of terms and the closed formula.

Arithmetic sequences

Starting at a1 and adding d each time gives the term a1 + (n − 1) × d. The total of the first n terms is the number of terms times the average of the first and last term, n × (a1 + an) ÷ 2, which is the trick the young Gauss is said to have used for 1 to 100. The difference d can be negative for a falling sequence or zero for a constant one.

Geometric sequences

Starting at a1 and multiplying by r each time gives a1 × r^(n − 1). The sum of the first n terms is a1 × (1 − r^n) ÷ (1 − r) for r not equal to 1, and simply n × a1 when r is 1. If the ratio r lies strictly between −1 and 1, the terms shrink toward zero and the series has a finite sum to infinity, a1 ÷ (1 − r). For any other ratio the series does not converge, and the page says so instead of printing a number.

The results

The page shows the nth term, the sum of the first n terms, the first terms of the sequence, the average of the terms and the closed formula with your numbers filled in, so you can copy it into a worksheet. The formula and the sum always use the full n. Decimals and negative numbers work in every field.

Edge cases

The number of terms must be a whole number of at least 1. A negative ratio makes the terms alternate in sign, and a ratio of 1 or −1 does not converge. Geometric terms can become extremely large or small, and the page switches to scientific notation when it needs to. If the rule changes partway, such as a sequence of squares or the Fibonacci numbers, neither formula applies.

A worked example

For the arithmetic sequence 3, 7, 11 with a1 = 3 and d = 4, the 10th term is 3 + 9 × 4 = 39. The sum of the first 10 terms is 210, the average of the terms is 21, and the list is 3, 7, 11, 15, 19, 23, 27, 31, 35, 39. For the geometric sequence 2, 6, 18, the 5th term is 162 and the sum of the first 5 terms is 242, while the infinite sum does not exist since r = 3. For 8, 4, 2 with r = 0.5, the 10th term is 0.015625, the sum of ten terms is 15.984375 and the sum to infinity is 16.

Limits

The calculator cannot work out the rule from a list of numbers, and it does not handle sequences with a recurrence, such as the Fibonacci numbers, or polynomial rules. It gives a sum for a whole number of terms and an infinite sum only for convergent geometric series. For anything else, use a spreadsheet or write the rule as code.

Checked against the current version of the Arithmetic & Geometric Sequence Calculator on .

Frequently asked questions

How do I tell whether a list is arithmetic or geometric?

Subtract each term from the next. If the differences are all the same it is arithmetic. If instead the ratios of neighbouring terms are all the same it is geometric. The sequence 3, 7, 11 has a constant difference of 4, and 2, 6, 18 has a constant ratio of 3.

Why does 8 + 4 + 2 + 1 + … add up to 16 and not to infinity?

Each term is half the one before, so the terms shrink quickly enough for the total to settle. The formula first term divided by one minus the ratio gives 8 divided by 0.5, which is 16, and the sum of the first 10 terms is already 15.984375.

What is the 10th term of 3, 7, 11, …?

The difference is 4, so a₁₀ = 3 + 9 × 4 = 39, and the sum of the first 10 terms is 210.

When does a geometric series have a finite sum?

Only when the common ratio is between −1 and 1. Then the infinite sum is the first term divided by 1 − r, for example 8 + 4 + 2 + … = 16.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.