Arithmetic Sequence Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free arithmetic sequence calculator. Find the nth term and the sum of n terms from the first term and common difference, or switch to a geometric sequence.
- Sum of n terms
- 0
- First terms
- 0
- Infinite sum
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the arithmetic sequence calculator
- Choose the type of sequence. Arithmetic sequences add the same amount each time; geometric sequences multiply by the same amount.
- Enter the first term (a₁), the number the sequence starts with.
- Enter the common difference (d), the amount added each time. For a geometric sequence, the label changes to the common ratio (r).
- Enter n, the term number you want.
- Read the nth term in large type, plus the sum of the first n terms and a list of the first terms. For geometric sequences, you also get the infinite sum when it exists.
The arithmetic sequence calculator works out everything in your browser, instantly.
What an arithmetic sequence is
An arithmetic sequence (also called an arithmetic progression) is a list of numbers where the gap between each term and the next is always the same. That gap is the common difference, d.
- 3, 7, 11, 15, 19, … has d = 4.
- 50, 55, 60, 65, … has d = 5.
- 20, 17, 14, 11, … has d = −3 (it's decreasing).
- 1, 2, 3, 4, … has d = 1.
To check whether a list is arithmetic, subtract each term from the next. If every difference is the same, it is.
The nth term formula
You don't need to list every term to find, say, the 100th one. The formula is:
aₙ = a₁ + (n − 1) × d
You start at the first term and add the difference (n − 1) times. For 3, 7, 11, …, the 10th term is 3 + 9 × 4 = 39.
The formula also works backwards. To find which term a value is, rearrange: n = (aₙ − a₁) ÷ d + 1. Is 99 in the sequence 3, 7, 11, …? n = (99 − 3) ÷ 4 + 1 = 25, a whole number, so yes, it's the 25th term.
The sum of an arithmetic sequence
The sum of the first n terms is:
Sₙ = n × (a₁ + aₙ) ÷ 2
In words: the number of terms times the average of the first and last terms. For the first 10 terms of 3, 7, 11, …: 10 × (3 + 39) ÷ 2 = 210.
An equivalent form, if you don't know the last term: Sₙ = n ÷ 2 × (2a₁ + (n − 1)d).
There's a famous story that the young mathematician Carl Friedrich Gauss added the numbers 1 to 100 in seconds by pairing them: 1 + 100, 2 + 99, 3 + 98, … gives 50 pairs of 101, so the sum is 5,050. That's exactly the formula above. Enter 1, 1 and 100 into the arithmetic sequence calculator to see it.
Geometric sequences
In a geometric sequence, each term is the previous one multiplied by a fixed common ratio, r:
- 2, 6, 18, 54, … has r = 3.
- 100, 50, 25, 12.5, … has r = 0.5.
The formulas are:
- nth term: aₙ = a₁ × r^(n − 1)
- Sum of n terms: Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r), for r ≠ 1
For 2, 6, 18, …, the 8th term is 2 × 3⁷ = 4,374, and the sum of the first 8 terms is 6,560.
Geometric sequences grow (or shrink) much faster than arithmetic ones, because they multiply rather than add. Compound interest, population growth, viral sharing and depreciation all follow geometric patterns. The compound interest calculator applies this to money, and the exponent calculator works out powers exactly.
Infinite geometric series
If the ratio is between −1 and 1, the terms shrink towards zero and the sum of infinitely many terms settles on a finite total:
S∞ = a₁ ÷ (1 − r)
For 100, 50, 25, 12.5, …, the infinite sum is 100 ÷ 0.5 = 200. The first six terms already add up to 196.875. If |r| is 1 or more, the sum grows without limit, and the arithmetic sequence calculator says it doesn't converge. Arithmetic sequences (with d ≠ 0) never have a finite infinite sum.
Arithmetic versus geometric
| Arithmetic | Geometric | |
|---|---|---|
| Rule | Add d | Multiply by r |
| Example | 5, 10, 15, 20 | 5, 10, 20, 40 |
| Growth | Steady, straight line | Accelerating (or decaying) curve |
| nth term | a₁ + (n − 1)d | a₁ × r^(n − 1) |
| Sum | n(a₁ + aₙ) ÷ 2 | a₁(1 − rⁿ) ÷ (1 − r) |
Real-life arithmetic sequences
- Savings plans: saving 50 in week 1, 55 in week 2, 60 in week 3, and so on. Over 52 weeks, that's an arithmetic sequence with a₁ = 50 and d = 5; the 52nd week's saving is 305 and the total is 9,230.
- Salaries with fixed raises: a starting salary plus the same raise each year.
- Seating and stacking: rows of seats that increase by two each row, or stacked logs and cans.
- Schedules: events every 14 days, bus times every 12 minutes, or payment dates.
- Simple interest and straight-line depreciation: the value changes by the same amount each period.
- Exercise plans: adding a fixed number of minutes or reps each week.
Common mistakes
- Using n instead of n − 1 in the nth term formula. The first term has had zero differences added.
- Confusing the nth term with the sum. The 10th term of 3, 7, 11, … is 39; the sum of 10 terms is 210.
- Using the arithmetic formula for a multiplying pattern, or vice versa. Check whether the gaps or the ratios are constant.
- Using the infinite sum when |r| ≥ 1, where it doesn't exist.
Finding the difference from two terms
If you know two terms but not the difference, you can work it out. Suppose the 3rd term is 11 and the 8th term is 31. They're 5 steps apart, and the values differ by 20, so d = 20 ÷ 5 = 4. Then a₁ = 11 − 2 × 4 = 3. Enter 3 and 4 into the arithmetic sequence calculator to see the whole sequence. For a geometric sequence, divide instead: if the 2nd term is 6 and the 5th is 162, then r³ = 162 ÷ 6 = 27, so r = 3.
Sequences in spreadsheets
To list a sequence in Excel or Google Sheets, type the first term in A1 and =A1+4 in A2 (or =A1*3 for geometric), then fill down. To get the sum, use =SUM(A1:A10). Google Sheets and newer versions of Excel can also generate a whole arithmetic sequence with =SEQUENCE(10, 1, 3, 4): 10 rows, starting at 3, stepping by 4. The arithmetic sequence calculator gives the nth term and the sum directly, without listing every term, which is quicker for large n.
Arithmetic means and series notation
The terms between two numbers in an arithmetic sequence are called arithmetic means: the arithmetic mean of 3 and 11 is 7, their average. The sum of a sequence is often written with sigma notation, Σ, as in Σ (from k = 1 to 10) of (4k − 1), which is the same 3 + 7 + 11 + … + 39 = 210.
Checking answers
To check an nth term, list the first few terms in the arithmetic sequence calculator and make sure they match the question. To check a sum, try a small n you can add by hand, such as n = 3, before trusting the formula for n = 100.
A worked example
A personal finance blogger is writing about a "52-week savings challenge" where you save 50 in the first week and 5 more each week after. She wants to check her figures.
In the arithmetic sequence calculator she chooses "Arithmetic", enters a first term of 50, a common difference of 5 and n = 52. The 52nd week's saving is 305, and the total saved over the year is 9,230. The first terms are 50, 55, 60, 65, 70, … as expected.
For comparison, she switches to "Geometric" with a first term of 2 and a ratio of 3 to show how fast multiplying grows: by the 8th term it's already 4,374, with a running total of 6,560.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Frequently asked questions
What is the formula for the nth term of an arithmetic sequence?
aₙ = a₁ + (n − 1)d. For 3, 7, 11, …, the 10th term is 3 + 9 × 4 = 39. The arithmetic sequence calculator does it for any n.
How do you find the sum of an arithmetic sequence?
Sₙ = n(a₁ + aₙ) ÷ 2: the number of terms times the average of the first and last. The first 10 terms of 3, 7, 11, … add to 210.
What is the sum of 1 to 100?
5,050. That's 100 × (1 + 100) ÷ 2.
What is the difference between arithmetic and geometric sequences?
Arithmetic sequences add the same number each time; geometric sequences multiply by the same number.
Can the common difference be negative?
Yes. A negative difference gives a decreasing sequence, such as 20, 17, 14, 11.
Is the arithmetic sequence calculator free?
Yes. It's free, works in your browser and needs no sign-up.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.