Least to Greatest Decimals Calculator

Enter a list of decimal numbers and sort them from least to greatest (ascending order), with negatives and place-value comparison handled correctly.

Quick Facts

Method
Ascending numeric sort (compare place value by place value)
More digits after the point does not mean a bigger number: 0.5 > 0.45.

Your Results

Sorted
Least to greatest
-
Ascending order
Count
-
Numbers sorted
Minimum (least)
-
Smallest value
Maximum (greatest)
-
Largest value

Ready

Enter your decimals and press Sort.

Ordering decimals from least to greatest

To order decimals from least to greatest means to arrange them in ascending order — smallest value first, largest value last. This calculator reads the list of decimals you enter, sorts them by numeric value, and returns the ordered list along with the minimum (least) and maximum (greatest) value. The tricky part for most people is not the sorting itself but comparing two decimals correctly, because a longer decimal is not automatically a larger one.

How to compare two decimals

Compare digit by digit, moving left to right, starting with the whole-number part and then each place after the decimal point (tenths, hundredths, thousandths, and so on). The first place where the digits differ decides which number is larger.

  • First compare the whole-number parts. 2.1 is greater than 1.9 because 2 > 1, regardless of the digits after the point.
  • If the whole parts are equal, compare the tenths, then the hundredths, and so on. For 0.5 vs 0.45, the tenths are 5 vs 4, so 0.5 is greater.
  • A helpful trick is to pad the numbers to the same number of decimal places by adding trailing zeros. 0.5 becomes 0.50, which is clearly greater than 0.45. Trailing zeros never change a decimal's value.

The most common mistake

Many people assume that more digits after the decimal point means a bigger number, so they wrongly rank 0.45 above 0.5. That reasoning works for whole numbers (a 4-digit number is bigger than a 2-digit one) but not for the fractional part of a decimal. 0.45 is forty-five hundredths, while 0.5 is fifty hundredths, and fifty is more than forty-five. Always compare place value, not digit count.

Ordering negative decimals

Every negative number is less than zero and less than every positive number, so negatives sit at the start of a least-to-greatest list. Among negatives, the rule flips relative to your intuition about size: the number with the larger absolute value is the smaller number. So -0.9 < -0.2, because -0.9 is further below zero. A correctly ordered mixed set looks like: -0.9, -0.2, 0.05, 0.5, 1.2.

Worked example

Take the set 0.5, 0.45, 0.05, -0.2, 1.2. Pull out the negatives first: only -0.2, which becomes the least value. Then order the positives by place value: 0.05 (five hundredths), 0.45 (forty-five hundredths), 0.5 (fifty hundredths), and finally 1.2 (which has a whole-number part of 1). The full least-to-greatest order is: -0.2, 0.05, 0.45, 0.5, 1.2.

Frequently Asked Questions

Why is 0.5 greater than 0.45?
Compare place by place from the left. Both have 0 as the whole part, so move to the tenths: 5 versus 4. Because 5 > 4, 0.5 is greater than 0.45. The extra digit in 0.45 does not make it larger — 0.5 equals 0.50, and fifty hundredths is more than forty-five hundredths.
How do negative decimals get ordered?
Negatives are always less than zero and less than any positive, so they come first. Among negatives, the one furthest from zero is the smallest: -0.9 is less than -0.2. For example, -0.9, -0.2, 0.1, 0.5 is already sorted from least to greatest.
Does the calculator remove duplicate values?
No. If you enter the same number twice it appears twice in the sorted output, which is the correct behavior when you are ordering a data set. Sorting arranges values; it does not deduplicate them.
What separators can I use between numbers?
You can separate values with commas, spaces, or new lines — or any mix of these. The calculator ignores blank gaps, so "0.5, 0.45 0.05" and a list with one number per line both work.