How it’s calculated
In an arithmetic sequence each term is the previous one plus a fixed amount, the common difference d (3, 7, 11, 15…). In a geometric sequence each term is the previous one times a fixed ratio r (2, 6, 18, 54…). The calculator gives the nth term, the sum of the first n terms (a series), and a list of the first terms (up to 20).
Example (arithmetic): a₁ = 3, d = 4, n = 10. a₁₀ = 3 + 9×4 = 39 and S₁₀ = 10 × (3 + 39) ÷ 2 = 210. Example (geometric): a₁ = 2, r = 3, n = 5 gives 2, 6, 18, 54, 162 so a₅ = 162 and S₅ = 2(1 − 3⁵) ÷ (1 − 3) = 242.
Frequently asked questions
How do I tell if a sequence is arithmetic or geometric?
Subtract neighbouring terms. If the difference is always the same it is arithmetic. If instead dividing each term by the one before gives the same ratio, it is geometric.
When does a geometric series have an infinite sum?
Only when the ratio is between −1 and 1 (not including them). The terms then shrink toward zero and the total approaches a₁ ÷ (1 − r). For example 8 + 4 + 2 + 1 + … = 16.
What happens when the ratio is 1?
Every term equals the first term, so the sum of n terms is simply n × a₁. The usual formula would divide by zero, so it is handled separately.
Can the common difference or ratio be negative or a fraction?
Yes. A negative difference gives a decreasing sequence, and a negative ratio makes the terms alternate in sign. Use decimals such as 0.5 for fractions.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Algebra and Trigonometry 2e, §13.2 Arithmetic Sequences — OpenStax
- Algebra and Trigonometry 2e, §13.3 Geometric Sequences — OpenStax
- Algebra and Trigonometry 2e, §13.4 Series and Their Notations — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator