Mathematics
Arithmetic and geometric sequences
Find the nth term and the sum of an arithmetic or geometric sequence from the first term, the difference or ratio and the number of terms. The first 50 terms are listed with partial sums.
Enter the first term, the difference d or ratio r and the number of terms n (1 to 1000), then choose the sequence type. You can change every value; the format of decimal results is under More options. Downloads keep your inputs and results, and nothing is saved or sent.
Result
Formula / calculation:
An arithmetic sequence adds the difference d each time: aₙ = a₁ + (n − 1) d. A geometric sequence multiplies by the ratio r: aₙ = a₁ × rⁿ⁻¹. The calculator shows term n and the sum of the first n terms.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
The formula and units appear with the result above. Decimal results are rounded for display; you can choose the format under More options.
About this calculation
The arithmetic and geometric sequences calculator finds a selected term and the sum of terms for a sequence you define. It suits students checking homework and anyone working with regular growth steps.
You enter the first term, the difference d or the ratio r, the term count n from 1 to 1000 and the sequence type, then choose the result format and 0 to 12 displayed decimal places. For an arithmetic sequence the tool uses aₙ = a₁ + (n−1)d and Sₙ = n(a₁+aₙ)/2, so a first term of 2 with difference 3 and five terms gives a fifth term of 14 and a sum of 40.
Additional workflows list the first 50 terms and partial sums. Magnitudes of the inputs are limited to 1 billion, outputs to 1e100, and geometric overflow is refused. Results are floating-point approximations.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- First term
- 2
- Difference d or ratio r
- 3
- Term count n (1–1000)
- 5
- Sequence type
- Arithmetic
Result
- Selected term
- 14
- Sum of terms
- 40
Frequently asked questions
How do I find the nth term of an arithmetic sequence?
The sequence calculator uses aₙ = a₁ + (n−1)d. With a first term of 2, a difference of 3 and n = 5, the selected term is 14.
How do I calculate the sum of an arithmetic sequence?
The sum follows Sₙ = n(a₁+aₙ)/2. For first term 2, difference 3 and five terms the sum is 40.
Can the sequence calculator handle geometric sequences?
Yes. You choose the sequence type and enter either a difference d for an arithmetic sequence or a ratio r for a geometric sequence. Geometric overflow is refused.
How many terms can the sequence calculator use?
The term count n ranges from 1 to 1000. The first 50 terms and partial sums are listed, while the nth term and the full sum use all n terms.
What limits apply to the first term and ratio?
The magnitude of the first term, difference or ratio must be at most 1 billion, and nonzero values at least 1e-9. Outputs are bounded to 1e100.
Are the sequence results exact?
Results use floating-point arithmetic and are approximate, except exact integer counts. You can display between 0 and 12 decimal places.