Sequence Calculator

Generate arithmetic, geometric, Fibonacci, and custom number sequences, then find sums and nth terms instantly.

Calculate a number sequence
Choose a sequence type and enter its defining values.

About the sequence calculator

A mathematical sequence is an ordered list whose terms follow a rule. The position of a term matters: the first value is term one, the next value is term two, and so on. This sequence calculator generates the most common patterns used in school mathematics, finance, science, and computer programming. It also totals the displayed terms and evaluates a requested nth term, so you can check a pattern without writing every earlier value. An arithmetic sequence changes by a constant difference. Starting with 2 and adding 3 repeatedly gives 2, 5, 8, 11, and 14. Its nth term is found with a(n) = a(1) + (n - 1)d, where d is the common difference. Arithmetic patterns describe steady changes such as saving the same extra amount each month, regular salary increments, rows of seats, or distances measured at equal intervals. A negative difference produces a decreasing sequence just as easily. A geometric sequence changes by a constant ratio rather than a constant difference. Starting with 3 and multiplying by 2 gives 3, 6, 12, 24, and 48. The nth-term rule is a(n) = a(1) times r raised to the power n - 1. Geometric patterns model compound growth, depreciation, repeated scaling, radioactive decay, and many population models. Ratios between zero and one create decay, while negative ratios make signs alternate. The Fibonacci mode begins with zero and one, then creates each later term by adding the previous two. This famous recursive sequence appears in algorithms, counting problems, plant growth illustrations, and mathematical explorations. The custom mode accepts a list you already know. It is useful for totaling observations or locating a term without claiming that a unique formula has been inferred from limited data. Use the number-of-terms field to control the generated list. The calculator limits generated output to one hundred terms so results remain readable. The optional nth-term field can evaluate a position beyond the displayed list for arithmetic, geometric, and Fibonacci modes. Very large geometric or Fibonacci positions may exceed ordinary floating-point limits, so interpret unusually large scientific results carefully. For everyday exercises, the calculator provides a quick, transparent way to compare patterns, verify homework, and explore how changing a starting term, difference, or ratio changes an entire sequence.

Sequence examples

InputsResultExplanation
Arithmetic: first 2, difference 3, five terms2, 5, 8, 11, 14Add three after every term; the sum is 40.
Geometric: first 3, ratio 2, five terms3, 6, 12, 24, 48Multiply every term by two; the sum is 93.
Fibonacci: eight terms0, 1, 1, 2, 3, 5, 8, 13Each term after the first two is the sum of its predecessors.

How to use the sequence calculator

  1. Choose arithmetic, geometric, Fibonacci, or custom sequence mode.
  2. Enter the first term and common difference or ratio when those fields appear.
  3. Set the number of terms and optionally enter an nth-term position.
  4. Select Calculate Sequence to generate the values, sum, and requested term.

Sequence calculator FAQ

What is the difference between arithmetic and geometric sequences?

An arithmetic sequence adds the same difference each time. A geometric sequence multiplies by the same ratio each time, so its growth or decay is exponential.

How is an arithmetic nth term calculated?

Start with the first term and add the common difference n - 1 times. The direct rule is a(n) = a(1) + (n - 1)d.

Does the Fibonacci sequence start with zero or one?

Both conventions occur in published mathematics. This calculator uses zero and one, producing 0, 1, 1, 2, 3, 5, and so forth.

Can a sequence decrease?

Yes, an arithmetic sequence decreases when its common difference is negative. A geometric sequence can decay when the ratio has an absolute value below one.

What does the custom sequence mode do?

Custom mode displays and totals the numeric terms you provide. It does not guess a formula because a finite list can match many different rules.