Arithmetic Sequence Calculator - nth Term and Sum Finder
Use the arithmetic sequence calculator to find the nth term, the sum of the first n terms, and the full term list for any arithmetic progression.
Arithmetic Sequence Calculator
Results
What Is Arithmetic Sequence Calculator?
An arithmetic sequence calculator finds any value you need from a list of numbers that grows by a fixed step. Give it the first term a₁, the common difference d, and the number of terms n, and it returns the n-th term, the sum, the arithmetic mean, and a preview of the term list.
- • Find the n-th term of a progression: Type a₁, d, and n to read aₙ = a₁ + (n − 1) d without retyping the formula.
- • Sum a long arithmetic series: Add up the first n terms with Sₙ = n/2 (a₁ + aₙ) for bill totals or amortization.
- • Check homework or a textbook answer: Compare your work on 2, 5, 8, 11, ... at term 10 by reading the same aₙ and Sₙ the calculator prints.
- • Model a real-world linear plan: Use a positive d for a savings plan that adds the same deposit each month, or a negative d for a depreciation schedule.
An arithmetic sequence is a list of numbers where the difference between any two consecutive terms is the same constant d. That property is what makes the closed-form formulas work, and it is also what separates an arithmetic sequence from a geometric sequence, where each term is multiplied by a fixed ratio.
The calculator computes the n-th term, the sum, the mean, and the term list in one pass so you do not have to re-enter the same three numbers into separate tools.
For the same average computation on a set of numbers that are not equally spaced, the Average Calculator handles the general case without requiring a constant step.
How Arithmetic Sequence Calculator Works
Internally the calculator uses two closed-form formulas. The n-th term comes from aₙ = a₁ + (n − 1) d, and the sum of the first n terms comes from Sₙ = n/2 (a₁ + aₙ). The mean is just (a₁ + aₙ)/2, and the preview list loops the step d from a₁ to aₙ.
- a₁: First term. Any real number is allowed.
- d: Common difference. Positive d grows, negative d shrinks, d = 0 is constant.
- n: Number of terms. Must be a positive integer; preview list is capped at 50.
- aₙ: The n-th term, equal to a₁ + (n − 1) d. Used as the upper bound of the sum formula.
- Sₙ: Sum of the first n terms, equal to n/2 (a₁ + aₙ).
MathWorld publishes the n-th term and the sum formula as the two defining identities of an arithmetic progression, and Wikipedia repeats Sₙ = n/2 (a₁ + aₙ) because it falls out of pairing the first and n-th term. The calculator uses both formulas in closed form, so it never accumulates floating-point error for large n.
The mean row is the per-term average Sₙ/n.
Sequence 2, 5, 8, 11, ... at n = 10
a₁ = 2, d = 3, n = 10
a₁₀ = 2 + 9 × 3 = 29; S₁₀ = 5 × (2 + 29) = 155
a₁₀ = 29, S₁₀ = 155, mean = 15.5
The 10th term is 29 and the total is 155, the textbook answer for 2, 5, 8, 11, ... .
Decreasing sequence 100, 95, 90, 85, 80 at n = 5
a₁ = 100, d = −5, n = 5
a₅ = 100 + 4 × (−5) = 80; S₅ = 2.5 × (100 + 80) = 450
a₅ = 80, S₅ = 450, mean = 90
The same formulas handle a negative step without any special case.
According to Wolfram MathWorld, the n-th term of an arithmetic progression with first term a₁ and common difference d is aₙ = a₁ + (n − 1) d, and the sum of the first n terms equals n/2 (2 a₁ + (n − 1) d)
According to Wikipedia (Arithmetic progression), the sum of the first n terms of an arithmetic progression is Sₙ = n/2 (a₁ + aₙ), where aₙ is the n-th term of the sequence
When the values you have are real measurements rather than a closed-form step, Linear Regression Calculator fits a best-fit line through the same x and y pairs and returns a slope in the same units as aₙ.
Key Concepts Explained
These four ideas are enough to use the calculator correctly on any input.
Common difference
The constant amount added from one term to the next. Reading the difference between two consecutive terms in the preview list lets you check d matches the typed-in value.
n-th term closed form
aₙ = a₁ + (n − 1) d turns the recursive definition into a single formula, so you never have to walk through every term to find a late one like a₁₀ or a₁₀₀.
Sum of an arithmetic series
Sₙ = n/2 (a₁ + aₙ) pairs the first and the last term and multiplies by half the number of terms. Pairing works because the sequence is symmetric around its mean.
Arithmetic mean of first and last
(a₁ + aₙ)/2 is the average of the two endpoints, which equals the average of every term when the step is constant. It is the number that gets multiplied by n to give Sₙ.
The closed-form formulas are what separate an arithmetic sequence from a list of numbers. The moment d is constant, the two formulas above are exact, and the calculator can compute a₁₀₀ or S₁₀₀₀ in a single pass with no recursion.
The mean row is a sanity check: if the visible average of the preview list is not close to the printed mean, the typed-in d is wrong.
Because the common difference behaves like the slope of a linear function, Slope Percentage Calculator turns the same d into a percent rise so you can compare two progressions on a single scale.
How to Use This Calculator
Five short steps cover every workflow this calculator supports, from a homework problem to a long savings plan.
- 1 Type the first term: Enter a₁. Decimals, negatives, and fractions are all accepted.
- 2 Type the common difference: Enter d, the step between consecutive terms. Use a positive number to grow, a negative number to shrink, and 0 for a constant sequence.
- 3 Type the number of terms: Enter n as a positive integer. The preview list is capped at 50 terms but the exact nth term and sum are still computed for larger n.
- 4 Read the n-th term and the sum: The n-th term row is aₙ and the Sum row is Sₙ. The mean row is the per-term average that gets multiplied by n to give the sum.
- 5 Scan the term list: The first n terms row prints a comma-separated preview. Use it to confirm that d is the step you intended, and that the list is increasing, decreasing, or constant.
A driver logs 12,400 miles in January and then drives 200 fewer miles each subsequent month. Set a₁ = 12400, d = −200, and n = 6 to see that month 6 is 11,400 miles and the six-month total is 69,000.
Benefits of Using This Calculator
The calculator removes the most common arithmetic-sequence mistakes and saves the step of looking up the formulas in a textbook.
- • All four answers in one pass: n-th term, sum, mean, and the term list print at the same time, so the arithmetic sequence calculator removes the need to recompute the same a₁ and d in a second tool.
- • Closed-form formulas, not loops: The calculator uses aₙ = a₁ + (n − 1) d and Sₙ = n/2 (a₁ + aₙ) directly, so the result is exact and does not accumulate floating-point error for large n.
- • Decreasing sequences handled the same way: Negative d is just another number, so depreciation schedules, pay-down plans, and any other decreasing series use the same workflow as increasing ones.
- • Domain errors are explained: If n is not a positive integer, the calculator shows a clear error message instead of returning a NaN, which is what most spreadsheet formulas do when they hit a bad input.
- • Pairs with related math tools: The mean row is the same value an average calculator prints for two inputs, and the common difference behaves like the slope of a linear function, so the result feeds into the slope percentage or linear regression workflows.
If you are working through a problem set and bouncing between the n-th term and the sum, the calculator removes the chance of mixing up the formulas.
The calculator is just JavaScript in the browser, so it updates as you type and tolerates negative steps, non-integer steps, and long lists.
If the common difference is best described as a percent change rather than a flat step, Percentage Increase Calculator converts the same growth into a per-term percent that is easier to compare against another series.
Factors That Affect Your Results
Three things change the answer you should expect, plus two practical caveats about how arithmetic sequences behave in the real world.
Sign and size of d
A positive d grows the sequence, a negative d shrinks it, and a d close to zero produces a near-constant list. The magnitude of d controls how fast aₙ and Sₙ change as n grows.
Whether n is positive integer
The formulas require n to be a positive integer. A non-integer n (such as 3.5) or a non-positive n (such as 0) is not a valid term count and triggers a domain error.
Magnitude of a₁ and aₙ
When a₁ and aₙ are very large, Sₙ can be on the order of n × aₙ, which can overflow a small spreadsheet but stays exact in this calculator up to the limits of JavaScript numbers.
Step rounding when d is non-integer
A fractional d such as 0.5 produces non-integer terms, and the preview list rounds each term to 6 decimal places. The n-th term and sum rows keep full precision.
- • The formulas assume a constant step d. If your real-world series has a drifting step (such as a salary that grows by 3% one year and 4% the next), the arithmetic sequence model is only an approximation.
- • The calculator reports the closed-form n-th term, not the recursive definition. It cannot tell you the n-th term of a sequence where a non-constant rule kicks in at some index, such as arithmetic for the first 10 terms and geometric afterwards.
When you copy the sum into a spreadsheet or a budget tool, double-check the unit context. Sₙ is a pure count, not a currency, so if the original terms are dollars you still have to multiply the sum by the unit you started with.
If the sum looks correct but does not match the textbook, the textbook may use 1-based indexing with a different a₁. Walk the preview list against the problem statement to make sure n is the count the textbook uses.
According to Khan Academy, an arithmetic sequence is a list of numbers in which the difference between consecutive terms is constant, and that constant is called the common difference d
When you want the other summary statistics for the same term list, Mean Median Mode Range Calculator computes the median, mode, and range in one pass so you can decide whether the mean of a₁ and aₙ is the right center to report.
Frequently Asked Questions
Q: What is an arithmetic sequence?
A: An arithmetic sequence is a list of numbers where the difference between any two consecutive terms is the same constant, called the common difference d. A classic example is 2, 5, 8, 11, ... where d = 3. The arithmetic sequence calculator works on any such list.
Q: What is the formula for the nth term of an arithmetic sequence?
A: The n-th term of an arithmetic sequence is aₙ = a₁ + (n − 1) d, where a₁ is the first term, d is the common difference, and n is the term index. For example, with a₁ = 2 and d = 3, the 10th term is 2 + 9 × 3 = 29.
Q: How do I find the sum of an arithmetic sequence?
A: The sum of the first n terms of an arithmetic sequence is Sₙ = n/2 (a₁ + aₙ), which is the number of terms times the mean of the first and the n-th term. The equivalent expanded form is Sₙ = n/2 (2 a₁ + (n − 1) d).
Q: How do I find the common difference?
A: The common difference is d = (aₙ − a₁) / (n − 1), where a₁ and aₙ are any two terms and n is the distance between their indices. If a₁ = 2 and the 5th term is 14, then d = (14 − 2) / (5 − 1) = 3.
Q: Can an arithmetic sequence decrease?
A: Yes. An arithmetic sequence decreases whenever the common difference d is negative. The same aₙ and Sₙ formulas apply, and the calculator supports negative d as a normal input. A constant sequence is the special case d = 0.
Q: What is the difference between an arithmetic and a geometric sequence?
A: An arithmetic sequence adds a fixed step d to move from one term to the next, while a geometric sequence multiplies by a fixed ratio r. The arithmetic sequence uses aₙ = a₁ + (n − 1) d; the geometric version uses aₙ = a₁ r^(n − 1).