Everyday tool

Arithmetic and Geometric Sequence Calculator

Enter the first term, common difference or ratio, and number of terms.

Runs in your browser. No upload.

Values are processed locally in this browser.

Result

—

About this tool

Arithmetic and Geometric Sequence Calculator made simple.

Geometric outputs are limited by JavaScript finite-number precision. Very large sequences are rejected rather than shown as infinity.

Guide

Using Arithmetic and Geometric Sequence Calculator

The Sequence Calculator works with two kinds of number patterns. In an arithmetic sequence you add the same amount each step. In a geometric sequence you multiply by the same amount each step. Type the first term, the step and how many terms you want. The tool gives you the last term and the sum of all the terms, plus the rule it used. It is handy for homework checks and quick planning. It does not list every term in the pattern.

How to use it

  1. Pick the sequence type. Choose Arithmetic if each term adds a fixed number, or Geometric if each term is multiplied by a fixed number.
  2. Type the first term. It can be negative or a decimal.
  3. Type the common difference for an arithmetic sequence, or the common ratio for a geometric one.
  4. Type the number of terms as a whole number from 1 to 100,000, then press Calculate.
  5. Read the last term (the nth term), the sum of the first n terms and the rule line. Press Copy result to keep the text.

Worked examples

Arithmetic: 2, 5, 8, 11

You enter
Mode
arithmetic
First
2
Step
3
Count
4
You get
Result
Term 4: 11 Sum of first 4 terms: 26 Rule: aₙ = a₁ + (n − 1)d

Start at 2 and add 3 each time to get 2, 5, 8, 11. The sum is 2 + 5 + 8 + 11 = 26.

Run through the tool’s own code.

Geometric: 2, 6, 18, 54

You enter
Mode
geometric
First
2
Step
3
Count
4
You get
Result
Term 4: 54 Sum of first 4 terms: 80 Rule: aₙ = a₁ × r⁽ⁿ⁻¹⁾

Multiply by 3 each time to get 2, 6, 18, 54. Adding them gives 80.

Run through the tool’s own code.

A shrinking arithmetic sequence

You enter
Mode
arithmetic
First
10
Step
-2
Count
5
You get
Result
Term 5: 2 Sum of first 5 terms: 30

A negative difference counts down: 10, 8, 6, 4, 2. Those five numbers add up to 30.

Run through the tool’s own code.

Geometric with a ratio below 1

You enter
Mode
geometric
First
100
Step
0.5
Count
6
You get
Result
Term 6: 3.125 Sum of first 6 terms: 196.875

Each term is half the one before: 100, 50, 25, 12.5, 6.25, 3.125. Their sum is 196.875.

Run through the tool’s own code.

When it helps

  • Check the answer to a school exercise about the nth term or the sum of a series.
  • Work out the total of a saving plan where you put away a bit more each week.
  • See how fast a quantity that halves or doubles every step grows or shrinks.
  • Find the last seat number or the total seats in rows that grow by a fixed amount.
  • Test a pattern idea before you build it in a spreadsheet.
  • Confirm a hand calculation of a long series with thousands of terms.

Limits to keep in mind

  • The number of terms must be a whole number from 1 to 100,000.
  • It shows only the last term and the sum. It does not print the list of terms in between.
  • Results above the range of normal browser numbers are refused with an error instead of showing infinity. For example, 2 times 10 repeated for 400 terms is rejected.
  • Numbers are shown rounded to at most 8 decimal places, and very large results can lose exact digits because browsers use floating-point numbers.
  • It does not handle the infinite sum of a geometric series, or sequences that follow other rules.

Tips

  • Count terms carefully. The first term is term 1, so 4 terms means the last one is term 4.
  • For a pattern that goes down, type a negative difference or a ratio between 0 and 1.
  • A ratio of exactly 1 is allowed. Every term then equals the first term and the sum is the first term times the count.
  • Run the tool on a tiny case such as 3 terms first, so you can check it by hand before you trust a large one.

Sources

Common questions

About Arithmetic and Geometric Sequence Calculator.

What is the difference between an arithmetic and a geometric sequence?

An arithmetic sequence changes by adding the same number each step, like 3, 7, 11, 15. A geometric sequence changes by multiplying by the same number each step, like 3, 6, 12, 24. The tool lets you pick either one at the top.

Which formulas does the calculator use?

For arithmetic, the nth term is the first term plus (n minus 1) times the difference. For geometric, it is the first term times the ratio to the power (n minus 1). The sums use the standard series formulas, and the rule line shows the term formula it applied.

How do I find the nth term of a sequence?

Enter the first term, the step and n as the number of terms. The line that says Term followed by your number is the nth term. For example, 2, step 3 and 4 terms gives a fourth term of 11.

Can the common difference or ratio be negative or a decimal?

Yes. A negative difference makes the sequence fall. A negative ratio flips the sign each step. A decimal ratio such as 0.5 makes it shrink. The tool only asks for a valid number in each box.

What happens if the numbers get too big?

Browsers can only store numbers up to a limit. If the last term or the sum goes past it, the tool shows an error saying the sequence is outside the finite range, rather than printing infinity or a wrong number.

Does it work if the common ratio is 1?

Yes. The tool handles that case on its own. Every term equals the first term, so the sum is the first term times the number of terms. Five terms starting at 5 give a sum of 25.

How is this different from a series or summation tool?

This tool is built for two simple patterns and gives the end term and the sum together. A general summation tool can handle any rule for each term. Use that if your pattern is not an add-or-multiply pattern.

Is my data sent to a server?

No. The sums are done in your browser and nothing you type is uploaded. Copy result only copies text to your own clipboard.

When should I not trust the result?

Be careful with huge counts and large ratios, because floating-point rounding can change the last digits. For exact whole-number work with very big values, check the result with a tool that uses exact integers.

How do I use Sequence calculator?

Enter the first term, common difference or ratio, and number of terms.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.