Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Sorted Greatest to Least
21, 17, 8, 5, 3
descending order (a₁ ≥ a₂ ≥ … ≥ aₙ)
Count of numbers 5
Largest 21
Smallest 3

What is the Greatest to Least Calculator?

The Greatest to Least Calculator takes any list of numbers and arranges them in descending order — starting with the largest value and ending with the smallest. This is a common task in math homework, data organization, and statistics where ordering values matters. The tool handles whole numbers, decimals, and negative numbers alike.

Unsorted numbers being rearranged into descending order from largest to smallest
Numbers are reordered from greatest on the left to least on the right.

How to use it

Type your numbers into the box, separating them with commas or spaces (for example 3, 17, 5, 21, 8). Press calculate and the tool returns the same numbers reordered from greatest to least, plus the count, the largest value, and the smallest value.

The formula explained

Sorting from greatest to least means producing a sequence where every term is greater than or equal to the one that follows it:

$$\text{Sorted} = \operatorname{desc\,sort}\left(\text{Numbers}\right) \;\Rightarrow\; a_1 \geq a_2 \geq \cdots \geq a_n$$

The calculator compares each pair of values and places them so no number is smaller than the one before it. Equal values stay grouped together.

Advertisement
Descending staircase of bars decreasing in height from left to right
Descending order means each value is greater than or equal to the next.

Worked example

Suppose your list is 3, 17, 5, 21, 8. The largest is 21, then 17, then 8, then 5, then 3. The sorted result is:

$$3, 17, 5, 21, 8 \;\Rightarrow\; 21, 17, 8, 5, 3$$

Here the count is \(5\), the largest is \(21\), and the smallest is \(3\).

FAQ

Does it work with negative numbers? Yes. Negatives are ranked correctly — for example \(-2\) is greater than \(-9\), so \(-2\) appears first.

Can I use decimals? Absolutely. Decimal values like \(2.5\) and \(2.75\) are ordered by their true numeric size.

What is the difference between greatest to least and least to greatest? Greatest to least is descending order (largest first); least to greatest is ascending order (smallest first). This tool produces descending order.

Last updated: