Randomly

Sum calculator

Paste a list of numbers and get the total right away. Count, mean, min and max are one click away, and decimals and negatives work.

Input

Sum

Empty

Paste a list of numbers to total them.

Count0
Mean—
Min—
Max—
Separators
Any
Stats
Sum · mean

Related tools

Paste a list of numbers into this sum calculator and the total appears straight away. One per line, comma-separated, space-separated or a messy mix all work. Open Show stats to see the count, mean, minimum and maximum. It takes negatives and decimals, and it skips anything that isn't a number, then tells you what it skipped.

How to use the sum calculator

  1. Paste or type your numbers. Commas, spaces, tabs and line breaks all count as separators.
  2. The sum updates as you type, and the badge shows how many values were read.
  3. Open Show stats for count, mean, min and max.
  4. Click the total, or press Copy sum, to copy it.

What the stats mean

Sum is every value added together. Count is how many values were read, and mean is the sum divided by that count. Min and max are the smallest and largest values. Anything that isn't a number, like a currency sign stuck to a value or a stray word, is skipped, and the stats panel lists up to six of the skipped bits so you can spot problems. The math is ordinary JavaScript floating point, so a long list of decimals can come out a hair off in the last place.

Frequently asked questions

What separators does the sum calculator accept?

Commas, spaces, tabs and new lines, in any combination. A column copied from a spreadsheet, a CSV row and a hand-typed list all work.

Why is my total wrong when I paste numbers like 1,250?

Commas count as separators, so 1,250 is read as two numbers, 1 and 250. Remove the thousands separators before you paste.

Can it add negative numbers and decimals?

Yes. Write negatives with a leading minus (-12.5), and use a period for the decimal point. A decimal comma like 3,14 gets split into 3 and 14.

Is there a limit on how many numbers I can add?

There's no fixed limit. It loops through every value instead of using tricks that break on huge lists, so pasting thousands of values is fine.

Built and maintained by Bipul Kumar. Found a wrong number or a broken result? Tell me and I'll fix it.