This calculator works out the sum of a finite arithmetic or geometric series, or a general numeric sequence you provide. You enter the terms or the parameters of the series, and you get back the total sum, along with the number of terms and, for geometric series, the common ratio. The tool handles both simple lists of numbers and series defined by a starting term, difference or ratio, and number of terms.
Formula
The sum of an arithmetic series is given by:
Sₙ = n/2 × [2a₁ + (n − 1)d]
where:
- Sₙ = sum of the first n terms
- n = number of terms (positive integer)
- a₁ = first term
- d = common difference between consecutive terms
An equivalent form uses the last term aₙ = a₁ + (n−1)d: Sₙ = n/2 × (a₁ + aₙ).
Worked Example
Using the default values: a₁ = 1, d = 2, n = 10.
First, find the last term: aₙ = 1 + (10−1)×2 = 1 + 18 = 19.
Then the sum: Sₙ = 10/2 × (1 + 19) = 5 × 20 = 100.
The calculator shows Sₙ = 100.00 and aₙ = 19.00, matching the formula.
When to Use This Calculator
Use this tool when you need the total of a sequence where each term increases (or decreases) by a fixed amount. Common situations include:
- Adding up consecutive integers (1+2+3+…+100)
- Totaling a fixed monthly deposit over n months
- Summing the rows of a seating arrangement where each row adds a constant number of seats
- Estimating total distance when speed increases by a constant amount each interval
For a geometric series (each term multiplied by a fixed ratio), use a separate geometric sum calculator, as the formula differs.
How to Read the Result
The main output is the sum Sₙ. The second output, last term, helps verify the sequence. For example, with a₁=1, d=2, n=10, the sequence is 1,3,5,…,19 and the sum is 100. If you only need the last term, you can read it directly. The calculator assumes the sequence is arithmetic; if your data isn’t arithmetic, the sum will still be computed but may not be meaningful.
Common Mistakes and Pitfalls
- Using the wrong n: n is the number of terms, not the last term’s value. For 1 to 100, n=100, not 100.
- Negative difference: d can be negative (decreasing sequence). The formula works fine, but the sum may be negative.
- Mixing up a₁ and a₀: If your sequence starts at 0, set a₁=0. The formula still works.
- Rounding errors: The calculator rounds to 2 decimal places; for exact sums of integers, that’s fine, but for fractions, keep more decimals if needed.
Limits of the Formula
This formula only works for arithmetic sequences. It also assumes a constant difference between terms. For non-arithmetic sequences (like squares or random numbers), you need a different approach. The calculator sets a maximum of 10,000 terms to keep computation fast; for larger n, the sum grows quadratically, so results may be huge.
Alternatives
If your series is geometric (each term multiplied by a constant ratio), use the geometric sum formula: Sₙ = a₁(1−rⁿ)/(1−r) for r≠1. If you have a list of arbitrary numbers, simply add them manually or use a basic summation tool. For infinite series, different convergence tests apply.
Frequently Asked Questions
What is the sum of the first 100 positive integers?
Using the formula with a₁=1, d=1, n=100: Sₙ = 100/2 × (2×1 + 99×1) = 50 × 101 = 5050. That’s a classic result.
Can I use this for a decreasing sequence?
Yes, set d to a negative number. For example, a₁=10, d=−2, n=5 gives the sequence 10,8,6,4,2, sum = 30. The formula works exactly the same.
What if my sequence doesn’t have a constant difference?
Then it’s not arithmetic, and this formula won’t give the correct sum. You’d need to either identify a pattern (like geometric) or sum the terms individually.
Why is the sum formula divided by 2?
Because you’re pairing the first and last terms, second and second-last, etc. Each pair sums to the same value (a₁+aₙ), and there are n/2 such pairs. This works only for arithmetic sequences.
How do I find the sum if I only know the first term, last term, and number of terms?
Use the alternative formula Sₙ = n/2 × (a₁ + aₙ). You don’t need the common difference. For example, a₁=5, aₙ=50, n=10 gives Sₙ = 10/2 × 55 = 275.
Does this calculator work for geometric series?
No, this calculator is specifically for arithmetic series. For geometric series, use the formula Sₙ = a₁(1−rⁿ)/(1−r) with a separate tool.
Related
Formula used
in a | First term (a₁) | - | 1 | -1000000 | 1000000 in d | Common difference (d) | - | 2 | -1000000 | 1000000 in n | Number of terms (n) | - | 10 | 1 | 10000 out sum | Sum of arithmetic series (Sₙ) | - | n/2 * (2*a + (n-1)*d) | 2 out last | Last term (aₙ) | - | a + (n-1)*d | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Data Center Security: Encryption, Backups, Access
- Best Mini PCs for Gaming: Top Picks
- Phone Buttons: Clever Ways to Use Them
- Resonance Solstice Codes: What They Are
- Blue Protocol Star Resonance: Best Graphics Settings for Smooth FPS
- Jack Daniel’s Ransomware: Data Stolen?