Sum of Positive Integers Calculator

Calculate \(N_1 + (N_1+1) + (N_1+2) + \cdots + N_2\) for any positive integers \(N_1 \le N_2\).


Understanding the Sum of Consecutive Integers

For consecutive positive integers from \(N_1\) to \(N_2\), the sum is given by the arithmetic series formula:

\[ \sum_{k=N_1}^{N_2} k = \frac{(N_1 + N_2) \times (N_2 - N_1 + 1)}{2} \]

Where:

This formula works because the average of the first and last term equals the average of all terms.

Sum of Integers Calculator

Enter two positive integers with \(N_1 \le N_2\)
Enter positive integers with \(N_1 \le N_2\).
Sum from \(N_1\) to \(N_2\) =
--

Related Resources

analyzemath.com — Interactive tool for summing consecutive integers with step-by-step explanation.