Sum of a List of Numbers Calculator

Sum of a List of Numbers Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Sum=∑i=1nxi=x1+x2+⋯+xnfromNumbers\text{Sum} = \sum_{i=1}^{n} x_i = x_1 + x_2 + \cdots + x_n \quad\text{from}\quad \text{Numbers}
Usage stats

Advertisement

Results

Sum of the List
150
total of all values
Count of numbers 5
Mean (average) 30
Minimum 10
Maximum 50

Report an error on this page

What This Calculator Does

The Sum of a List of Numbers Calculator adds together every value you enter and returns the total. It also reports the count of numbers, the mean (average), the smallest value, and the largest value — giving you a quick statistical snapshot of any dataset. It works with whole numbers, decimals, and negative numbers.

A list of numbers with icons for sum, count, mean, minimum and maximum
The calculator returns the sum plus count, mean, minimum and maximum.

How to Use It

Type or paste your numbers into the box. You can separate them with commas, spaces, or new lines — mix and match freely. For example, 3, 5, 7 and 3 5 7 produce the same result. Click calculate and the sum appears at the top, with the count, mean, minimum, and maximum shown below.

The Formula Explained

The sum is defined as $$S = \sum_{i=1}^{n} x_i$$ meaning you add each number \(x_i\) from the first to the last. If your list is \(x_1, x_2, \ldots, x_n\), then $$S = x_1 + x_2 + \cdots + x_n$$ The mean is simply \(S\) divided by \(n\), the count of numbers.

Advertisement
List values combining via addition into a single sum S
Each value in the list is added together to produce the sum S.

Worked Example

Suppose your list is 10, 20, 30, 40, 50. Adding them gives $$10 + 20 + 30 + 40 + 50 = 150$$ so the sum \(S = 150\). There are 5 numbers, so the mean is \(150 \div 5 = 30\). The minimum is 10 and the maximum is 50.

More Worked Examples

Example 1: A mixed list with negative numbers

List: 12, -7, 4.5, -2

  1. Start with the first value: \(12\).
  2. Add the second: \(12 + (-7) = 5\).
  3. Add the third: \(5 + 4.5 = 9.5\).
  4. Add the fourth: \(9.5 + (-2) = 7.5\).

Sum = 7.5, and the count is \(n = 4\).

Mean: $$\bar{x} = \frac{7.5}{4} = 1.875$$

Minimum = -7, maximum = 12, so the range is \(12 - (-7) = 19\).

Example 2: A decimal list

List: 0.25, 0.5, 1.75

  1. Start with \(0.25\).
  2. Add the second: \(0.25 + 0.5 = 0.75\).
  3. Add the third: \(0.75 + 1.75 = 2.5\).

Sum = 2.5, and the count is \(n = 3\).

Mean: $$\bar{x} = \frac{2.5}{3} \approx 0.8333$$

Minimum = 0.25, maximum = 1.75, so the range is \(1.75 - 0.25 = 1.5\).

Advertisement

Interpreting the Sum, Mean, Minimum and Maximum

  • Sum: the total of all values added together, \(\sum x_i\). It tells you the overall amount the list contributes.
  • Count: how many values are in the list, \(n\).
  • Mean (average): the sum divided by the count, \(\bar{x} = \frac{\sum x_i}{n}\). It is the value each item would have if the total were shared equally.
  • Minimum and maximum: the smallest and largest values in the list. Their difference, max − min, is the range, a simple measure of spread.

The mean always lies between the minimum and the maximum (inclusive). If your computed mean falls outside that interval, there is an input or arithmetic error. The mean equals the minimum and maximum only when every value is identical.

A negative sum means the negative values outweigh the positive ones in total. A positive sum means the opposite.

The mean is sensitive to outliers. For example, 10, 11, 12, 13 has a sum of 46 and a mean of 11.5. Replace 13 with 100 and the sum becomes 133, so the mean jumps to \(133 / 4 = 33.25\), even though three of the values did not change.

Note: a sum of zero does not mean all values are zero. For example, -3, 1, 2 adds up to \(-3 + 1 + 2 = 0\), yet none of the values is zero. Positive and negative values can cancel each other out, so check the min, max and range as well.

FAQ

Can I include negative numbers? Yes. Negative values are subtracted from the running total automatically, for example \(5, -3, 2\) sums to 4.

Does it handle decimals? Yes, values like 2.5 or 0.75 are fully supported.

What if I leave extra spaces or blank lines? Empty entries are ignored, so trailing commas or blank lines will not affect the result.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators