Number Sequence Calculator

nth term and sum of an arithmetic or geometric sequence.

Enter details

nth term

29

Sum of n terms
155
First terms
2, 5, 8, 11, 14, 17, …

How nth term changes with

First term: 1 → 283 → 30

The dot is your current value. The graph updates as you type.

Formula: Arithmetic aₙ = a₁ + (n−1)d; geometric aₙ = a₁·rⁿ⁻¹

Number Sequence Calculator: nth Term & Sum of Series

Short answer

A number sequence calculator determines the specific nth value and total sum of terms in an arithmetic or geometric progression. For example, an arithmetic sequence starting at 2 with a common difference of 3 yields an nth term of 29 and a sum of 155 across 10 terms. It eliminates manual term-by-term addition for study, physics modeling, and financial planning.

Formula

Arithmetic: aₙ = a₁ + (n − 1)d, Sₙ = n(a₁ + aₙ) / 2; Geometric: aₙ = a₁ · rⁿ⁻¹, Sₙ = a₁(1 − rⁿ) / (1 − r) [where r ≠ 1]

aₙ represents the nth term in the sequence; a₁ is the first term; n is the total number of terms (position); d is the common difference between consecutive arithmetic terms; r is the common ratio multiplied between consecutive geometric terms; Sₙ is the sum of the first n terms.

Worked example

Sequence type
a
First term
2
Common difference / ratio
3
Number of terms (n)
10
  • nth term: 29
  • Sum of n terms: 155
  • First terms: 2, 5, 8, 11, 14, 17, …

What the Number Sequence Calculator Calculates

A number sequence is an ordered list of numbers governed by a distinct mathematical rule. The Number Sequence Calculator evaluates the two most fundamental types of mathematical progressions: arithmetic sequences and geometric sequences.

By providing the initial term, the progression rate, and the target index, this tool computes:

  • The nth term (aₙ): The exact numerical value at position n without requiring step-by-step listing.
  • The sum of n terms (Sₙ): The cumulative sum of all values from the first term up to position n (also called the partial sum of the series).
  • First terms preview: A generated list displaying the opening sequence values for pattern verification.

This calculator serves students, educators, software engineers, data analysts, and financial planners modeling linear growth, fixed depreciation, or exponential interest accumulations.


Step-by-Step Worked Example

To see how the underlying math operates, consider the following standard arithmetic scenario evaluated by the calculator:

  • Sequence Type: Arithmetic (t = a)
  • First Term (a₁): 2
  • Common Difference (d): 3
  • Number of Terms (n): 10

Step 1: Calculate the nth Term (a₁₀)

The formula for any term in an arithmetic sequence is: $$ a_n = a_1 + (n - 1)d $$

Substitute the known values: $$ a_{10} = 2 + (10 - 1) \times 3 $$ $$ a_{10} = 2 + (9 \times 3) = 2 + 27 = 29 $$

The 10th term equals 29.

Step 2: Calculate the Sum of the First 10 Terms (S₁₀)

The formula for the sum of an arithmetic series is: $$ S_n = \frac{n(a_1 + a_n)}{2} $$

Insert the first term (2), the 10th term (29), and the count (10): $$ S_{10} = \frac{10 \times (2 + 29)}{2} $$ $$ S_{10} = \frac{10 \times 31}{2} = \frac{310}{2} = 155 $$

The sum of all 10 terms is 155.

Step 3: Inspect the Generated Terms

Generating the first six terms manually confirms the constant addition of 3:

  • Term 1: 2
  • Term 2: 2 + 3 = 5
  • Term 3: 5 + 3 = 8
  • Term 4: 8 + 3 = 11
  • Term 5: 11 + 3 = 14
  • Term 6: 14 + 3 = 17

Resulting list: 2, 5, 8, 11, 14, 17, …


Input Sensitivity & Benchmarks

Small adjustments to the starting parameters linearly or exponentially alter the final outputs depending on the sequence type.

| Scenario | First Term (a₁) | Difference (d) | Terms (n) | nth Term (aₙ) | Sum (Sₙ) | | :--- | :--- | :--- | :--- | :--- | :--- | | Lower input | 1.6 | 3 | 10 | 28.6 | 151.0 | | Base example | 2.0 | 3 | 10 | 29.0 | 155.0 | | Higher input | 2.4 | 3 | 10 | 29.4 | 159.0 |

In an arithmetic sequence, shifting the starting term by a fixed amount (±0.4) shifts the final term by that exact amount (±0.4) and shifts the cumulative sum by $n \times \Delta a_1$ ($10 \times 0.4 = 4.0$). In geometric progressions, however, altering the base or common ratio produces non-linear, exponential shifts.


Practical Applications

  1. Financial Schedules: Simple interest calculations follow arithmetic progressions, where principal gains a fixed dollar amount each period. Compound interest models geometric progressions, where values scale by a constant percentage multiplier $(1 + r)$.
  2. Physics & Engineering: Uniform acceleration problems (e.g., objects falling under gravity in discrete time intervals) map directly to arithmetic sequences.
  3. Resource Scaling: Computing server capacity requirements or algorithm loop iterations over expanding data blocks often relies on series summation formulas.

When Not to Rely on This Calculator

While this tool accurately solves standard progressions, it is not designed for all sequence categories:

  • Recursive Sequences: Sequences such as the Fibonacci progression $(F_n = F_{n-1} + F_{n-2})$ do not maintain a constant difference or ratio.
  • Polynomial & Quadratic Sequences: Series where the difference between terms changes at a constant rate (second-order differences) require polynomial regression, not linear arithmetic formulas.
  • Infinite Convergent Series: This calculator evaluates finite partial sums ($S_n$). To evaluate infinite geometric series where $|r| < 1$ as $n \to \infty$, use the convergent limit formula $S_\infty = \frac{a_1}{1 - r}$.

Comparison

ScenarioInputResult
Lower inputFirst term: 1.6nth term: 28.6
Base exampleFirst term: 2nth term: 29
Higher inputFirst term: 2.4nth term: 29.4

Common mistakes

  • Confusing the common difference (d) of an arithmetic sequence with the common ratio (r) of a geometric sequence.
  • Off-by-one index error: using n instead of (n − 1) when calculating the nth term.
  • Applying the standard geometric sum formula when the common ratio r = 1, where the true sum is simply n · a₁.
  • Miscalculating alternating series by omitting parentheses around negative bases during exponentiation.
  • Treating sequences with non-constant differences (like Fibonacci or quadratic sequences) as standard arithmetic progressions.

Checklist

  • Identify whether the progression has a common difference (arithmetic) or common ratio (geometric).
  • Confirm the exact initial value of the sequence (first term, a₁).
  • Determine the step value: constant addition/subtraction (d) or constant multiplier (r).
  • Verify that the term index (n) is an integer greater than or equal to 1.
  • Use standard algebraic formulas rather than manual iteration for large values of n.
  • Double-check signs when dealing with negative differences or negative common ratios.

Calculators Percentage Editorial Team

Calculator guides from the Calculators Percentage team. These introductory examples are educational, not professional advice.

Last reviewed:

This calculator computes mathematical values based on standard arithmetic and geometric series formulas. It is designed for educational, analytical, and technical reference.

Frequently Asked Questions

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

An arithmetic sequence advances by adding or subtracting a constant value called the common difference (d) between consecutive terms. A geometric sequence advances by multiplying each term by a fixed, nonzero factor called the common ratio (r). For instance, 2, 5, 8 is arithmetic (add 3), whereas 2, 6, 18 is geometric (multiply by 3).

How is the nth term of an arithmetic sequence calculated?

The nth term is calculated using the formula aₙ = a₁ + (n − 1)d, where a₁ is the first term, n is the term number, and d is the common difference. Because the first term requires zero additions of d, the difference is added exactly n − 1 times to reach the nth position.

What happens to a geometric series when the common ratio is 1?

When r = 1, every term in the sequence is identical to the first term (a₁). In this specific scenario, the denominator (1 − r) of the standard geometric sum formula becomes zero, which is undefined. The sum is simply calculated by multiplying the first term by the number of terms: Sₙ = n · a₁.

Can common differences or ratios be negative or fractional?

Yes. A negative common difference produces a strictly decreasing arithmetic sequence, while a fractional difference yields fractional increments. A negative common ratio creates an alternating geometric sequence whose terms alternate between positive and negative values.

How do you find the sum of an arithmetic sequence without the last term?

You can substitute the nth term formula directly into the sum formula. This yields Sₙ = (n / 2) · [2a₁ + (n − 1)d]. This variation lets you calculate the total sum using only the first term, the common difference, and the number of terms.

Is the Fibonacci sequence an arithmetic or geometric sequence?

Neither. The Fibonacci sequence is a recursive sequence where each term is the sum of the two preceding terms (1, 1, 2, 3, 5, 8, ...). It does not maintain a constant common difference or a constant common ratio, so standard arithmetic and geometric formulas do not apply.

Sources & references

Formulas are tested against hand-checked answers. How we check our calculators.

Estimates only. Confirm final figures, terms and fees with your bank, provider or a qualified professional.

Last updated: January 15, 2026