Least to Greatest Calculator

Enter any list of numbers and get them ordered from least to greatest, with the minimum, maximum, median, and range shown alongside.

Quick Facts

Method
Ascending sort by numerical value
Fractions and decimals are compared by their numeric value; duplicates are kept.

Your Results

Ordered
Least to greatest
-
Ascending order
Minimum (least)
-
Smallest value
Maximum (greatest)
-
Largest value
Median
-
Middle value
Range
-
Max − min

Ready

Enter your numbers and press Order.

Ordering numbers from least to greatest

Ordering a set of numbers from least to greatest means arranging them in ascending order: the smallest value first, then each next-largest value, ending with the largest. On a number line this is simply reading the values left to right. This calculator does exactly that — it reads your list, compares every value numerically, and rewrites the list in ascending order while keeping any repeated values (duplicates) in place.

The rule for comparing values

A number is "less than" another when it lies further to the left on the number line. That single rule handles every case:

  • Whole numbers and decimals: compare digit by digit. 3.5 is less than 3.51 because 3.500 < 3.510 once you line up the decimal places.
  • Negative numbers: the more negative a number, the smaller it is. So -8 < -2 < 0 < 5. A common mistake is to treat -8 as larger than -2 because 8 > 2 — but the minus sign reverses the order.
  • Fractions: convert to decimals (divide top by bottom) or rewrite over a common denominator, then compare. For example 2/3 ≈ 0.667 is less than 3/4 = 0.75.

Why ordering matters

Sorting is the first step behind many everyday statistics. Once a list is in ascending order, the minimum is the first entry, the maximum is the last, the median is the middle value (or the average of the two middle values when there is an even count), and the range is the maximum minus the minimum. This calculator reports all four so you get the ordered list and its key summary values in one step.

Worked example

Take the list 3/4, -2, 0.5, 12, -8, 7. Converting the fraction, 3/4 = 0.75. The values in numeric terms are 0.75, -2, 0.5, 12, -8, 7. Sorted from least to greatest they become -8, -2, 0.5, 3/4, 7, 12. Here the minimum is -8, the maximum is 12, the median is the average of the two middle values 0.5 and 0.75, which is 0.625, and the range is 12 − (−8) = 20.

Handling duplicates and mixed formats

Duplicate values are kept, so ordering 4, 1, 4, 2 gives 1, 2, 4, 4 — the count of numbers never changes. You can mix integers, decimals, negatives, and fractions in the same list; each entry is compared by its numeric value, and each is shown in the ordered list exactly as you typed it (so 3/4 stays written as 3/4, not 0.75).

Frequently Asked Questions

How do you order numbers from least to greatest?
Compare the numbers by value and list them in ascending order, from smallest to largest. Think of a number line: whichever value sits further to the left is the smaller one. For negatives, the more negative a number the smaller it is, so -8 comes before -2. For decimals and fractions, convert to a common decimal value before comparing. Equal values keep their place, so any duplicates simply appear as many times as they occur.
How do you compare fractions when ordering them?
Convert each fraction to a decimal (divide the numerator by the denominator) or rewrite every fraction over a common denominator and compare the numerators. For example, 3/4 = 0.75 and 2/3 ≈ 0.667, so 2/3 is less than 3/4. This calculator evaluates fractions such as 3/4 or -5/2 automatically, so you can mix them freely with whole numbers and decimals.
Are negative numbers ordered differently?
The rule is the same — smaller values first — but the sign matters. Among negatives, the one with the larger absolute value is actually the smaller number: -10 is less than -3. A full list like -10, -3, 0, 2, 7 is already in least-to-greatest order even though 10 > 3, because -10 sits furthest to the left on the number line.
What is the difference between ascending and descending order?
Ascending order (least to greatest) starts with the smallest value and increases. Descending order (greatest to least) is the exact reverse, starting with the largest value. This tool produces ascending order; to get descending order, simply read the result from right to left.