Least to Greatest Calculator
Enter a list of numbers separated by commas and this tool sorts them from least to greatest (ascending order) or greatest to least (descending order) instantly. It handles whole numbers, negative numbers, decimals, fractions such as 3/4, mixed numbers such as 2 3/4, and percentages such as 75%. Along with the sorted list you also get the count, minimum, maximum, range, mean, and median of your set.
What does least to greatest mean?
Arranging numbers from least to greatest means putting them in ascending order, starting with the smallest value and ending with the largest. This is one of the most fundamental operations in mathematics and data analysis. The opposite direction, greatest to least, is called descending order. You will often see "ascending" and "descending" used in textbooks, spreadsheets, and database queries instead of "least to greatest" and "greatest to least."
How to order numbers from least to greatest
For whole numbers and decimals, you compare digits from left to right. Negative numbers are always less than zero, and among negatives the one with the larger absolute value is actually smaller (so -10 < -3). For fractions, the standard method is to convert each fraction to a decimal by dividing the numerator by the denominator, then compare the resulting decimals. For percentages, divide by 100 to get the decimal equivalent (75% = 0.75) before comparing. Mixed numbers such as 2 3/4 become 2 + 3/4 = 2.75. Once every value is in decimal form, a simple left-to-right sort gives the ascending order. This calculator does all of those conversions automatically so you can mix number types freely in the same list.
Reading the statistics alongside the sorted list
This tool goes beyond sorting and also shows you six summary statistics about your set. The count is the number of valid values found in your input. The minimum is the smallest value and the maximum is the largest. The range is the difference between those two: max minus min, which tells you how spread out the values are. The mean (average) is the sum of all values divided by the count, and the median is the middle value when sorted (or the average of the two middle values for an even-sized list). Comparing mean to median gives a quick sense of skew: if the mean is higher than the median, a few large outliers are pulling the average up; if the mean is lower, a few small values are pulling it down.
Supported number formats
You can enter numbers in any of these formats, and you may mix them in the same list. Whole numbers: 3, -7, 0. Decimals: 2.5, -0.25, 3.14159. Fractions: 3/4, -1/3, 22/7. Mixed numbers (whole part then fraction, separated by a space): 2 3/4, -1 1/2. Percentages (a number followed immediately by the percent sign): 75%, 12.5%, -10%. Separate values with commas, semicolons, or new lines.
Ordering method by number type
| Number type | Example | Decimal equivalent | Method |
|---|---|---|---|
| Whole number | 7 | 7 | No conversion needed |
| Decimal | 3.14 | 3.14 | No conversion needed |
| Negative | -5 | -5 | No conversion needed |
| Fraction | 3/4 | 0.75 | Numerator divided by denominator |
| Mixed number | 2 3/4 | 2.75 | Whole + (numerator / denominator) |
| Percentage | 75% | 0.75 | Divide by 100 |
| Negative fraction | -1/3 | -0.333... | Numerator divided by denominator (negative) |
How this calculator converts each number type to a decimal for comparison.
Frequently asked questions
How do I sort fractions from least to greatest?
Convert each fraction to a decimal by dividing the top number (numerator) by the bottom number (denominator): 1/4 = 0.25, 1/2 = 0.5, 3/4 = 0.75. Then sort the decimals. Alternatively, rewrite all fractions with a common denominator and compare the numerators. This calculator does the decimal-conversion method automatically, so you can type your fractions separated by commas and get the sorted result instantly.
Can I mix fractions, decimals, and percentages in the same list?
Yes. Enter them in the same comma-separated list and this tool converts each to a decimal before sorting: fractions are divided (3/4 becomes 0.75), percentages are divided by 100 (75% also becomes 0.75), and decimals stay as-is. All values are then sorted together and displayed using your original notation.
How do negative numbers affect the ordering?
Negative numbers are always less than zero and always less than any positive number. Among negatives, a larger absolute value means a smaller number: -10 is less than -3 because -10 sits further to the left on the number line. This calculator handles negative integers, negative decimals, negative fractions, and negative percentages.
What is the difference between ascending and descending order?
Ascending order goes from the smallest value to the largest: least to greatest. Descending order goes from the largest value to the smallest: greatest to least. Use the "Sort order" dropdown to switch between the two. Both directions show the same set of summary statistics (count, min, max, range, mean, median).
What is the range and why does it matter?
The range is the largest value minus the smallest value. It tells you how spread out the numbers are. A range of 0 means every number is identical. A large range suggests the set has a lot of variation. The range is one of the simplest measures of spread, but it is sensitive to outliers because it only looks at the two extreme values.
What is the difference between mean and median?
The mean (average) sums all values and divides by the count. The median is the middle value when sorted. For a symmetric set they are close, but outliers pull the mean away from the center while leaving the median relatively stable. For example, the set 1, 2, 3, 4, 100 has a mean of 22 but a median of 3. When a set has extreme values, the median often gives a better sense of the "typical" value.