Use this free number sequence calculator to find the nth term and sum of arithmetic or geometric sequences. Enter the first term, difference or ratio and n to get the answer fast.

Number Sequence Calculator

Find any term and the running total of an arithmetic or geometric sequence — no counting on your fingers.

Free to use Arithmetic & geometric Nth term + sum Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for sequence type.

Arithmetic adds a constant; geometric multiplies by a constant.

Enter a valid value for first term a1.

Enter a valid value for common difference / ratio.

Difference for arithmetic, ratio for geometric.

Enter a valid value for term number n.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Number Sequence Calculator tinyexe.comFree online calculators

TinyExe · Number Sequence Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Sequence type

—

First term a1

—

Common difference / ratio

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Number Sequence Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      For an arithmetic sequence the nth term is a1 plus n minus one times the common difference, and for a geometric sequence it is a1 times the ratio to the power n minus one. Enter the first term, the difference or ratio, and n to get that term plus the sum of the first n terms.

      • Arithmetic nth term: a1 + (n-1)d
      • Geometric nth term: a1 r^(n-1)
      • Infinite geometric sum converges only for |r| < 1

      Sequence landmarks

      Reference values for this calculator.

      Typenth termSum to n
      Arithmetica1+(n-1)dn/2 (first + last)
      Geometric r!=1a1 r^(n-1)a1 (r^n-1)/(r-1)
      Geometric r=1a1n x a1
      Geometric |r|<1, infinitetends to 0a1/(1-r)

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Arithmetic: a_n = a1 + (n-1)d, S_n = n/2 (2a1 + (n-1)d); Geometric: a_n = a1 r^(n-1), S_n = a1 (r^n - 1)/(r - 1)

      Returns both the nth term (headline) and the running sum, for arithmetic and geometric sequences. Enhancement: shows the previous term so growth per step is visible at a glance.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Arithmetic savings steps

      a1=2, d=3, n=10

      CalculationSteps
      a_10 = 2 + 9 x 3 = 29. Sum = 10/2 x (4 + 27) = 155.Term 10 is 29 and the first ten terms sum to 155.

      Result

      Example 2

      Doubling sequence

      geometric, a1=3, r=2, n=6

      CalculationSteps
      a_6 = 3 x 2^5 = 3 x 32 = 96. Sum = 3 x (64-1)/(1) = 189.Term 6 is 96 and the first six terms sum to 189.

      Result

      Example 3

      First term check

      arithmetic, a1=7, d=5, n=1

      CalculationSteps
      a_1 = 7 + 0 x 5 = 7.Term 1 is 7, exactly the starting value, as it must be.

      Result

      How to use this calculator

      Step 1

      Choose arithmetic (adding) or geometric (multiplying).

      Step 2

      Enter the first term a1.

      Step 3

      Enter the common difference d, or the common ratio r for geometric.

      Step 4

      Enter which term you want, n.

      Step 5

      Read the nth term as the headline and the sum of the first n terms in the details.

      In short: A sequence is an ordered list of numbers following a rule; arithmetic sequences add a constant and geometric sequences multiply by a constant.

      Frequently asked questions

      What is the difference between arithmetic and geometric?

      Arithmetic sequences change by adding the same amount each step, like 2, 5, 8, 11. Geometric sequences change by multiplying by the same ratio, like 3, 6, 12, 24.

      How do I find a common ratio?

      Divide any term by the term before it. If that quotient is the same everywhere, it is the common ratio r.

      Does a geometric series converge?

      The infinite sum converges only when |r| is less than 1, to a1/(1-r). For |r| of 1 or more the terms do not shrink and the infinite sum diverges; finite sums still work for any r.

      What if n is 1?

      The first term is just a1 itself and the sum of the first 1 terms is also a1, whatever the difference or ratio.

      Can the difference be negative?

      Yes. A negative difference gives a falling arithmetic sequence, and a negative ratio gives a geometric sequence whose signs alternate.

      About this calculator

      A number sequence calculator finds terms of an ordered list built by a fixed rule. This tool covers the two core families: arithmetic sequences, which add the same difference each step, and geometric sequences, which multiply by the same ratio each step. It returns the nth term and the sum of the first n terms.

      Arithmetic sequences model steady change: a salary rising by the same amount yearly, or a taxi fare adding the same per kilometre. Because each step adds d, term n is the start plus (n-1) copies of d — the minus one is the classic trap, since the first term needs zero additions.

      Geometric sequences model proportional change: compound growth, bacterial doubling and radioactive halving. Each step multiplies by r, so term n carries (n-1) multiplications. When |r| is below 1 the terms shrink towards zero and even the infinite sum is finite; when r is 2 the terms double and sums explode, which the sum formula a1(r^n - 1)/(r - 1) makes obvious.

      Use it for maths homework, savings that grow by a fixed amount or a fixed percentage, population and decay models, seating and stacking patterns, and checking a pattern you spotted in data before trusting it further.

      How to calculate it yourself

      Step 1

      Decide whether the steps add (arithmetic) or multiply (geometric).

      Step 2

      Note the first term a1 and the step size d or ratio r.

      Step 3

      Count which term you need, n, starting at 1 for a1.

      Step 4

      Arithmetic: a_n = a1 + (n-1)d. Geometric: a_n = a1 r^(n-1).

      Step 5

      Add the first n terms with the matching sum formula to check plausibility.

      Real-life examples

      Training plan build-up

      A runner starts at 2 km and adds 3 km to the long run each week, wanting the week-10 distance and the total planned over ten weeks.

      Week 10 = 2 + 9 x 3 = 29 km. Total = 5 x (2 x 2 + 9 x 3) = 155 km.

      The plan peaks at 29 km in week 10 with 155 km across the block — a big jump worth questioning before committing.

      Bacteria doubling

      A culture starts with 3 thousand cells and doubles each hour; a student needs the count after 5 doublings (term 6).

      a_6 = 3 x 2^5 = 96 thousand cells.

      After five hours the model predicts 96,000 cells, ignoring nutrient limits the real culture would hit.

      Ideas & use cases

      • Savings ladder: model adding a fixed extra amount each month as an arithmetic sequence and compare with percentage growth as a geometric one.
      • Pattern check: if data might be geometric, divide neighbours — a constant quotient confirms the family before you extrapolate.
      • Exam drill: hide a middle term, solve for it with the nth-term formula, then verify with this calculator.

      Limitations & sources

      • Handles arithmetic and geometric sequences only; Fibonacci-style, harmonic and recursively defined sequences are out of scope.

      Sources: Arithmetic and geometric sequences and series: OpenStax Algebra and Trigonometry / Precalculus, Sequences and Series chapters

      Number Sequence Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results