Arithmetic Series Calculator
- The last term adds the difference 9 times: 1 + (10 − 1) × 2 = 19.
- Gauss's pairing trick: first plus last is 20, there are 10 terms, and each pair is counted twice — sum = 10 × 20 ÷ 2 = 100.
- The average term is simply the midpoint of first and last, 10 — for an arithmetic series the mean and median coincide.
An arithmetic series adds terms that grow by a constant difference d, where the last term equals a + (n − 1)d. Our arithmetic series calculator takes your first term, common difference, and number of terms, then returns the total sum along with the last term. The sum is n × (first + last) ÷ 2, which relies on Gauss's pairing trick: first plus last equals second plus second-to-last, all the way through. The average term is the midpoint of first and last, so for an arithmetic series the mean and median coincide. This calculator has been verified against known results: the first 10 odd numbers (1, 3, …, 19) sum to exactly 100, and in general the first n odd numbers sum to n². Starting at 5 with difference 3 over 20 terms, the last term is 62 and the sum is 670. Starting at 100 with difference −5 over 15 terms, the last term is 30 and the sum is 975.
The pairing method behind this arithmetic series calculator is the accepted standard because it is both mathematically exact and computationally efficient, avoiding the need to add every term individually. By pairing terms from opposite ends, the formula reduces the entire series to a simple average multiplied by the count of terms. This page shows the formula, step-by-step workings, worked examples, and sources so you can follow each calculation from input to final answer with full confidence.
Worked examples
The first 10 odd numbers
1 + 3 + … + 19 sums to exactly 100 — the sum of the first n odd numbers is always n². (1 · 2 · 10)
| Sum of the series | 100 |
| Last term | 19 |
| Average term | 10 |
Start 5, difference 3, 20 terms
The last term is 62 and the series sums to 670. (5 · 3 · 20)
| Sum of the series | 670 |
| Last term | 62 |
| Average term | 33.5 |
Start 100, difference −5, 15 terms
A falling series: last term 30, sum 975. (100 · -5 · 15)
| Sum of the series | 975 |
| Last term | 30 |
| Average term | 65 |
Gauss's pairing trick
The story goes that a young Carl Friedrich Gauss was told to add up the numbers from 1 to 100. Instead of grinding through each addition one at a time, he noticed something that turned a tedious task into a single calculation. He paired the first number with the last, the second with the second-to-last, and kept going. Each pair added to the same total, which meant the entire sum could be found with one multiplication and one division. That insight is the real reason the arithmetic series formula works, and it is exactly what an arithmetic series calculator applies behind the scenes.
An arithmetic series adds terms that grow by a constant difference d. If the first term is a and there are n terms, the last term is a + (n − 1)d. Gauss's pairing trick shows that the first plus the last equals the second plus the second-to-last, all the way through. Every pair lands on the same value, so the total sum is n × (first + last) ÷ 2. You are not memorizing an arbitrary rule — you are counting how many identical pairs exist and multiplying by what each pair is worth.
The odd numbers give a clean confirmation. The first 10 odd numbers are 1, 3, 5, 7, 9, 11, 13, 15, 17, and 19. Pair them from the outside in: 1 + 19 = 20, 3 + 17 = 20, 5 + 15 = 20, and so on. Five pairs, each worth 20, give a total of exactly 100. The pattern holds at any size: the first n odd numbers always sum to n². Ten odd numbers give 10² = 100, no addition required.
Two more cases confirm the formula holds when the common difference is not 1. Start at 5 with a difference of 3 over 20 terms. The last term is 62, so the sum is 20 × (5 + 62) ÷ 2 = 670. Start at 100 with a difference of −5 over 15 terms. The last term is 30, so the sum is 15 × (100 + 30) ÷ 2 = 975. In both examples the pairing logic holds even when the numbers shrink.
The pairing trick also explains a useful property: the average term is the midpoint of the first and last. Because the terms are evenly spaced, the mean and the median coincide. Finding the sum is the same as finding that middle value and multiplying by the number of terms — which is just another way of stating Gauss's insight.
Worked examples
The arithmetic series calculator handles three patterns that come up again and again: a series that rises at a steady clip, one that climbs more steeply, and one that falls by a fixed amount each step. Each example below was verified term by term using the formula n × (first + last) ÷ 2, which is the pairing trick often attributed to Gauss. The idea is simple: the first term plus the last term equals the second term plus the second-to-last term, all the way through. Multiply that constant pair sum by the number of pairs, and you have the total.
The first row is the classic rising series. The first 10 odd numbers run 1, 3, 5, and so on up to 19. Pair them from the outside in and each pair sums to 20: 1 + 19, 3 + 17, 5 + 15, continuing through the middle. Five such pairs give 100. This result generalizes neatly, because the first n odd numbers always sum to n². The average term here is 10, which sits at the midpoint of 1 and 19 — and for any arithmetic series the mean and median coincide at that midpoint.
The second row climbs faster. Starting at 5 with a constant difference of 3 over 20 terms, the last term is 5 + (20 − 1) × 3 = 62. The sum is 20 × (5 + 62) ÷ 2 = 670. The third row goes the other direction. Starting at 100 with a difference of −5 over 15 terms, the last term is 100 + (15 − 1) × (−5) = 30, and the sum is 15 × (100 + 30) ÷ 2 = 975. In every case the average term equals the midpoint of the first and last values, which is why the pairing method works regardless of whether the series is rising or falling.
| Pattern | First term | Difference d | Terms n | Last term | Sum |
|---|---|---|---|---|---|
| Rising (first 10 odd numbers) | 1 | 2 | 10 | 19 | 100 |
| Faster-rising | 5 | 3 | 20 | 62 | 670 |
| Falling | 100 | −5 | 15 | 30 | 975 |
Finding the last term
Every arithmetic series adds terms that grow by a constant difference d. To find the last term, the formula is a + (n − 1)d, where a is the first term, n is the number of terms, and d is the common difference. This formula is the backbone of any arithmetic series calculator, because once you know the last term, you can plug it into the sum formula and get your answer in seconds.
The off-by-one error everyone makes comes down to a simple counting mistake. People see n terms and assume you multiply d by n to reach the last term. You do not — and here is why. The first term is already in place before any steps are taken. You add d zero times to get the first term, d one time to get the second term, d two times to get the third term, and so on. By the time you reach the nth term, you have added d exactly n − 1 times. That is why the formula uses n − 1, not n. If you used n, you would be calculating one step past the last term, overshooting by exactly d.
Let us verify this with a concrete example. Starting at 5 with difference 3 over 20 terms, the last term is 5 + (20 − 1) × 3 = 5 + 57 = 62. If you had wrongly used n instead of n − 1, you would get 5 + 60 = 65, which is three too high. The same logic holds when the difference is negative. Starting at 100 with difference −5 over 15 terms, the last term is 100 + (15 − 1) × (−5) = 100 − 70 = 30. The verified result is 30, not 25.
Once you have the correct last term, the sum follows from Gauss's pairing trick: the sum is n × (first + last) ÷ 2. The first term plus the last term equals the second term plus the second-to-last term, all the way through. This works because the average term is the midpoint of the first and last, so for an arithmetic series the mean and median coincide. For the example starting at 5, the sum is 20 × (5 + 62) ÷ 2 = 670, which matches the verified result. For the example starting at 100, the sum is 15 × (100 + 30) ÷ 2 = 975, also verified. Another classic check: the first 10 odd numbers (1, 3, …, 19) sum to exactly 100, and in general the first n odd numbers sum to n².
Series in everyday life
Arithmetic series show up in more everyday situations than most people realize. An arithmetic series adds terms that grow by a constant difference d, and the last term is a + (n − 1)d. The sum is n × (first + last) ÷ 2 — Gauss's pairing trick: first plus last equals second plus second-to-last, all the way through. That pairing insight is why an arithmetic series calculator can return a total instantly, even for hundreds of terms, instead of adding each value one at a time.
Stacked seating rows are a classic example. Picture an auditorium where each row adds the same number of seats as the one in front of it. If the front row has 5 seats and each row after that adds 3 more, you have a series starting at 5 with difference 3. Over 20 terms, the last term is 62 and the sum is 670 — meaning 670 seats in total. The same logic applies to odometer-style problems, where a vehicle logs a fixed extra distance each day, or to savings plans with fixed increments, where someone deposits a set amount more each week than the week before.
Declining series work the same way, just with a negative difference. Consider a countdown scenario starting at 100 with difference −5 over 15 terms. The last term is 30 and the sum is 975. Whether the difference is positive or negative, the math holds: multiply the number of terms by the average of the first and last values. The average term is the midpoint of first and last, so for an arithmetic series the mean and median coincide. That symmetry is what makes the pairing trick so reliable.
Odd numbers give a neat illustration of how tidy these sums can be. Verified: the first 10 odd numbers (1, 3, …, 19) sum to exactly 100; in general the first n odd numbers sum to n². So the first 20 odd numbers would sum to 400, and the first 50 would sum to 2,500 — no long addition required. This kind of pattern is what an arithmetic series calculator is built to handle quickly, whether the numbers are climbing, dropping, or following a rule as clean as the odd numbers.
Arithmetic vs geometric series
An arithmetic series adds terms that grow by a constant difference d. Each term is d more than the one before it, so the last term is a + (n − 1)d. A geometric series, by contrast, adds terms that grow by a constant ratio — each term is multiplied by a fixed value rather than having a fixed amount added. Recognizing which pattern a sequence follows is the first step: if you add the same number each time, it is arithmetic; if you multiply by the same number each time, it is geometric.
The constant difference gives arithmetic series a clean symmetry that geometric series lack. The sum is n × (first + last) ÷ 2 — Gauss's pairing trick: first plus last equals second plus second-to-last, all the way through. Because every pair totals the same amount, the average term is the midpoint of first and last, so for an arithmetic series the mean and median coincide. That is why an arithmetic series calculator only needs the first term, the difference, and the number of terms to return both the last term and the total.
The pattern holds even when the difference is negative. Starting at 100 with difference −5 over 15 terms, the last term is 30 and the sum is 975 — the terms shrink, but the pairing logic does not change. Starting at 5 with difference 3 over 20 terms, the last term is 62 and the sum is 670. A special case worth noting: the first 10 odd numbers (1, 3, …, 19) sum to exactly 100; in general the first n odd numbers sum to n², which is a quick check that the arithmetic logic is sound.
When a sequence does not have a constant difference, it is not arithmetic, and the formulas above will not apply. A geometric series needs its own ratio-based approach, and mixed or irregular sequences may need term-by-term addition. Identifying the pattern correctly up front saves time and prevents errors.
- Arithmetic: constant difference d added each time; last term a + (n − 1)d
- Geometric: constant ratio multiplied each time; different sum formula required
- Arithmetic sum: n × (first + last) ÷ 2, because paired terms all match
- Mean and median coincide in an arithmetic series
Working backwards
Sometimes you know the sum and want to find how many terms produced it. Because the sum formula is n × (first + last) ÷ 2, and the last term itself depends on n through a + (n − 1)d, substituting gives a quadratic equation in n. An arithmetic series calculator that supports reverse lookup handles this algebra for you, but it helps to understand what the equation looks like underneath.
After substituting the last term, the sum formula becomes n times (2a + (n − 1)d) divided by 2. Expanding produces a term with n squared, a term with n, and a constant — a standard quadratic. The quadratic formula then yields two roots, and here is the caution: one root is typically negative or zero, which cannot represent a count of terms. The valid answer is the positive root, and you should discard the other. Always check that the root you keep is a positive integer, because a fractional number of terms signals that the given sum does not correspond to a genuine arithmetic series with those parameters.
Consider a concrete example. Starting at 5 with difference 3, the first 20 terms reach a last term of 62 and sum to 670. If someone hands you those numbers — first term 5, difference 3, sum 670 — and asks for the term count, the quadratic solution returns two values, but only n = 20 makes sense. The other root is extraneous for this physical problem even if it satisfies the equation algebraically.
The same logic applies when the common difference is negative. Starting at 100 with difference −5 over 15 terms, the last term is 30 and the sum is 975. Working backwards from that sum still produces a quadratic, and you still select the positive root. The midpoint property — that the average term equals (first + last) ÷ 2, coinciding with both mean and median — offers a quick sanity check once you recover n: multiply that midpoint by your candidate n and confirm it reproduces the given sum.
FAQs
How do you find the sum of an arithmetic series?
Use the formula n × (first + last) ÷ 2, where n is the number of terms. For example, the first ten odd numbers (1, 3, 5, ... 19) give 10 × (1 + 19) ÷ 2 = 100. This formula works because pairs of terms from opposite ends always add to the same total.
How do you find the last term?
Use the formula: First term + (n − 1) × difference, where n is the term count and difference is the common step between terms. For example, with a first term of 5, 20 terms, and a difference of 3, the last term is 5 + 19 × 3 = 62. This gives you the value needed for the sum formula.
Why is it n − 1 and not n?
The first term needs no step because it is already your starting value. Each later term adds one difference, so the nth term has taken n − 1 steps from the first. For example, reaching the 20th term requires 19 steps. Using n instead of n − 1 would overcount by one full difference.
What is the sum of the first 100 whole numbers?
The sum is 100 × 101 ÷ 2 = 5,050 — the famous Gauss classroom answer. As a child, Carl Friedrich Gauss reportedly paired 1 with 100, 2 with 99, and so on, finding 50 pairs each totaling 101. This same pairing method underlies the general arithmetic series formula.
Can the common difference be negative?
Yes, the common difference can be negative, producing a falling series. For example, the verified falling series starting at 100 and decreasing by 5 sums to 975 over 15 terms. The formula n × (first + last) ÷ 2 still works exactly the same way, since the last term is simply smaller than the first.
What is the average of an arithmetic series?
The average equals the midpoint of the first and last terms: (first + last) ÷ 2. For example, a series starting at 5 with a difference of 3 has an average of 33.5. This midpoint property is why the total sum equals the average multiplied by the number of terms.