Sum of List Calculator

Enter your numbers separated by commas or spaces.

How it is calculated

The text is split wherever there is a comma, a space, a tab or a line break. Each piece is tested: if it is a valid number it is kept, otherwise it is silently dropped. That means words and currency symbols such as $4 are ignored, while negative numbers and scientific notation such as 1e2 (100) are accepted. Then sum = x₁ + x₂ + … + xₙ, count = n (only the accepted numbers) and average = sum ÷ n. Sum and average are rounded to two decimals. Commas, semicolons, spaces and line breaks all separate values, so 1,5 alone is the two numbers 1 and 5. A decimal comma works only in a list separated some other way: 1,5 2 is 1.5 and 2. A dot is always safe. If no valid number is found there is no result.

Worked example

Input: 12.5, 8, 19.75 4 abc 30. The pieces are 12.5, 8, 19.75, 4, abc and 30. The word abc is not a number, so it is skipped and the count is 5. Sum: 12.5 + 8 + 19.75 + 4 + 30 = 74.25. Average: 74.25 ÷ 5 = 14.85. Because the count shows 5 and not 6, you can tell one entry was ignored.

Try this example →

Common mistakes

  • Typing a decimal comma in a comma-only list (3,5). The comma splits the list, so the tool adds 3 and 5 as two numbers instead of reading 3.5.
  • Not checking the count. Words, symbols like $ or %, and anything stuck to a number are dropped without a warning, so a count smaller than expected means something was skipped.
  • Pasting thousands separators such as 1,250. This becomes 1 and 250 rather than 1250.
  • Expecting the average to ignore zeros. Zeros count as numbers and pull the average down.

About this calculator

Adding up a long list of numbers by hand is slow and error-prone, especially once the list runs to dozens of entries pasted from a spreadsheet, a receipt, or survey data. This tool parses any list separated by commas, spaces, or line breaks and instantly returns the total sum, the count of numbers found, and their average.

Students checking homework, analysts doing a quick sanity check on a data column, and anyone tallying receipts, scores, or measurements use a sum-of-list tool like this to skip manual addition entirely — paste the numbers in whatever format they’re already in, and read off the total, count, and average at once.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    Negative numbers are accepted, so a pasted ledger can include refunds or credits as minus values. For the list 100 250.50 -42.25 18 the tool returns a total of 326.25 over 4 entries, with an average of 81.56. The average then describes the net entries, not the gross ones, which matters if you quote it. What does your list usually come from: a bank export, receipts, or survey scores?

Popular calculators

All Calculators