Number Sorter

Sort a list of numbers ascending or descending in seconds. Paste numbers separated by commas, spaces or line breaks, remove duplicates if you like, and see the count, sum, mean and median — free, in your browser.

Your numbers




Example loaded: 9 numbers. Press Sort numbers to see them in order.

Sorted result

Sorted list—
Count—
Smallest—
Largest—
Sum—
Mean—
Median—

Worked Example

Take the list 5, 3, 8, 1, 9, 2, 7, 4, 6. Sorted ascending it becomes 1, 2, 3, 4, 5, 6, 7, 8, 9. There are 9 numbers, the smallest is 1, the largest is 9, the sum is 45, the mean is 5, and the median — the middle value — is also 5. Sorted descending, the same list reads 9, 8, 7, 6, 5, 4, 3, 2, 1.

Common Mistakes

Mixing separators. A list like “1; 2 3,4” sorts fine here because commas, spaces, semicolons and line breaks are all accepted — but in a spreadsheet, a stray semicolon can turn a number into text and break the sort.

Sorting numbers as text. Sorted as text, 10 comes before 2, because “1” comes before “2”. Always sort numbers by their value, not by their first character — this tool does that.

Forgetting duplicates. A list with repeats has a different count and mean than the same list with duplicates removed. Tick “Remove duplicates” only when you mean to count each value once.

Confusing mean and median. The mean is the total divided by the count; the median is the middle value. One very large number moves the mean a lot but barely moves the median.

Related Tools

For deeper number stats try the Statistics Calculator, work out a share with the Percentage Calculator, or browse every tool in the Tools hub.

Frequently Asked Questions

How do I separate the numbers?

Use commas, spaces, semicolons or line breaks — any mix works. Paste a column straight from a spreadsheet and it will sort as-is.

Does it handle decimals and negative numbers?

Yes. Decimals like 2.5 and negatives like -3 sort by value, so -3 comes before -1, and 0.5 comes before 2.

What happens to words or symbols in my list?

Anything that is not a number is skipped, and the tool tells you how many values it skipped. The numbers that are left still sort normally.

What is the difference between mean and median?

The mean is the sum of all numbers divided by how many there are. The median is the middle number when the list is in order — or the average of the two middle numbers when the list has an even count.

Is my data sent anywhere?

No. The sorting runs entirely in your browser. Nothing is uploaded, stored or logged.