Skip to content
FiftyCalc Free calculators for all 50 states

Least to Greatest Decimals Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Paste or type decimal numbers (negative numbers allowed) to sort them from least to greatest and from greatest to least.

Result

Sample figures

Least to greatest—

Greatest to least —

  • Least value—
  • Greatest value—
  • Count—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Least to Greatest Decimals Calculator

Decimal numbers (separated by commas, spaces or new lines): type or paste your values. Prefilled example: 0.5, 0.05, 0.505, 0.55, 0.0505.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Decimal numbers (separated by commas, spaces or new lines): type or paste your values.
  2. Read the result: Least to greatest; the panel also shows Greatest to least, Least value, Greatest value and Count.

How this calculator works

Decimals are compared by value, not by the number of digits: line up the decimal points, pad with zeros to the same number of decimal places (0.5 = 0.500, 0.05 = 0.050) and compare digit by digit from the left.

The calculator reads each entry as a number and sorts the values in ascending order, then reverses the list for descending order. A negative number is always less than a positive one, and −0.7 is less than −0.2.

Worked example

Decimal numbers (separated by commas, spaces or new lines)0.5, 0.05, 0.505, 0.55, 0.0505
Least to greatest0.05, 0.0505, 0.5, 0.505, 0.55
Greatest to least0.55, 0.505, 0.5, 0.0505, 0.05
Least value0.05
Greatest value0.55
Count5

Frequently asked questions

Which is greater, 0.5 or 0.505?

0.505: written to three places, 0.500 is less than 0.505.

How do I order 0.5, 0.05, 0.505, 0.55 and 0.0505?

From least to greatest: 0.05, 0.0505, 0.5, 0.505, 0.55 (0.05 = 0.0500 is less than 0.0505).

Questions answered

Related calculators