Use this free least to greatest calculator to paste numbers, fractions or negatives and get them ordered smallest to largest and back, with the median, least and greatest values.

Least To Greatest Calculator

Paste a jumbled list — fractions, decimals, negatives and all — and get it ordered both ways instantly.

Free to use Fractions & negatives handled Both directions shown Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for numbers to order (commas or spaces; fractions like 3/4 and negatives allowed).

Any mix of whole numbers, decimals, negatives and simple fractions.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Least To Greatest Calculator tinyexe.comFree online calculators

TinyExe · Least To Greatest Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Numbers to order (commas or spaces; fractions like 3/4 and negatives allowed)

—

Input 2

—

Result

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Least To Greatest Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      To put numbers from least to greatest, compare them on the number line and write the smallest first: negative numbers come before zero, and fractions are compared as decimals. For example, 5, 2, 8, 1 and 9 order as 1, 2, 5, 8, 9 from least to greatest, and 9, 8, 5, 2, 1 from greatest to least.

      • Least to greatest = ascending order, smallest first
      • Fractions compare by decimal value: 1/4 = 0.25 < 1/2 = 0.5
      • Negatives reverse intuition: -5 is less than -2

      Ordering tricky values correctly

      Reference values for this calculator.

      SetLeast to greatestWhy it is tricky
      -2, 3, -5, 0-5, -2, 0, 3Negatives: -5 is less than -2
      1/2, 1/4, 3/41/4, 1/2, 3/4Compare as decimals: 0.25, 0.5, 0.75
      0.9, 0.99, 0.9090.9, 0.909, 0.99Place value, not digit count
      -1.5, -1, -2-2, -1.5, -1Bigger absolute value = smaller negative

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Ordering rule: compare every value numerically (fractions converted to decimals) and arrange them so each is <= the next (least to greatest) or >= the next (greatest to least); the median is the middle value of the ordered list.

      Ideas enhancement over the old two-number arithmetic kernel, which could not order anything: this tool parses a whole list — including fractions, decimals and negatives, the exact mix that trips students up — and returns both orders plus the least, greatest, median and range.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      A jumbled set of whole numbers

      5, 2, 8, 1, 9

      CalculationSteps
      Read 5 values: 5, 2, 8, 1, 9. Sort ascending (least to greatest): 1, 2, 5, 8, 9. Sort descending (greatest to least): 9, 8, 5, 2, 1. The middle of the ordered list (its median) is 5; the least value is 1 and the greatest is 9.Least to greatest: 1, 2, 5, 8, 9 — The smallest value is 1 and the largest is 9, with median 5.

      Result

      Example 2

      Negatives and a decimal

      3, -1, 2.5

      CalculationSteps
      Read 3 values: 3, -1, 2.5. Sort ascending (least to greatest): -1, 2.5, 3. Sort descending (greatest to least): 3, 2.5, -1. The middle of the ordered list (its median) is 2.5; the least value is -1 and the greatest is 3.Least to greatest: -1, 2.5, 3 — The smallest value is -1 and the largest is 3, with median 2.5.

      Result

      Example 3

      Fractions with different denominators

      1/2, 1/4, 3/4

      CalculationSteps
      Read 3 values: 0.5, 0.25, 0.75. Sort ascending (least to greatest): 0.25, 0.5, 0.75. Sort descending (greatest to least): 0.75, 0.5, 0.25. The middle of the ordered list (its median) is 0.5; the least value is 0.25 and the greatest is 0.75.Least to greatest: 0.25, 0.5, 0.75 — The smallest value is 0.25 and the largest is 0.75, with median 0.5.

      Result

      How to use this calculator

      Step 1

      Type or paste your numbers separated by commas or spaces.

      Step 2

      Fractions can be typed as 3/4 and negatives with a minus sign.

      Step 3

      Press Calculate.

      Step 4

      Read the least-to-greatest order in the verdict and the greatest-to-least order in the details.

      Step 5

      Use the median and range details for a quick summary of the ordered set.

      In short: Ordering numbers least to greatest means arranging them in ascending numerical order; greatest to least is the reverse, descending order.

      Frequently asked questions

      How do you order negative numbers?

      On the number line, further left means smaller. -5 is less than -2 because it is further from zero in the negative direction. A common mistake is ordering by absolute value; this calculator compares the signed values, so -5, -2, 0, 3 is correct.

      How do I order fractions with different denominators?

      Convert each fraction to a decimal (numerator divided by denominator) or to a common denominator, then compare. 3/8 = 0.375 sits between 1/4 = 0.25 and 1/2 = 0.5. The calculator accepts fractions directly and does this conversion for you.

      What is the difference between least-to-greatest and ascending order?

      None — they are the same thing. Least to greatest, ascending order and increasing order all mean smallest first. Greatest to least is descending order, largest first. This tool shows both directions.

      Can it order decimals with different numbers of digits?

      Yes, and this is where students slip: 0.9 is less than 0.909, which is less than 0.99, even though 99 "looks" like the biggest ending. Compare place by place — tenths, then hundredths, then thousandths.

      What does ordering have to do with the median?

      The median is defined as the middle value once data is ordered, so ordering is always step one. This calculator reports the median of your ordered list as its headline summary, with the least and greatest values as details.

      About this calculator

      A least to greatest calculator takes a list of numbers in any order and arranges them in ascending order — smallest first — and, for checking, in descending order too. It accepts the awkward cases homework actually contains: fractions like 3/4, decimals with different digit counts, and negative numbers, and reports the least value, the greatest value, the median and the range.

      Ordering numbers sounds trivial until the numbers stop being friendly whole numbers. Three traps catch almost everyone. With negatives, the value with the larger absolute value is the smaller number: -5 comes before -2. With fractions, the numerator alone means nothing — 3/8 is smaller than 1/2 even though 3 is bigger than 1 — so you must compare decimal values or use a common denominator. With decimals, more digits does not mean bigger: 0.99 beats 0.909, but 0.9 loses to both.

      The reliable mental model is the number line: every number has a position, least to greatest is simply left to right. Zero separates the negatives (left) from the positives (right), and within each side the positions follow decimal value. This calculator effectively places each of your values on that line — converting fractions to decimals internally — and reads them off in order.

      Ordering is also the gateway skill to statistics. The median is defined on an ordered list, quartiles split an ordered list, and "range" just means greatest minus least. That is why this tool reports the median and range alongside the two orderings instead of stopping at the sort.

      Use it for maths homework on ordering rational numbers, for checking a hand-sorted list, for putting test scores, prices or measurements in rank order, and as the first step before finding a median.

      How to calculate it yourself

      Step 1

      Convert every value to a decimal: fractions divide numerator by denominator; keep the sign on negatives.

      Step 2

      Place the values on a mental number line: negatives first (most negative = least), then zero, then positives.

      Step 3

      Within decimals, compare tenths, then hundredths, then thousandths.

      Step 4

      Write the values in the order you meet them left to right for least to greatest.

      Step 5

      Reverse the list for greatest to least, and read the middle value as the median.

      Real-life examples

      Sorting January temperatures

      A student records morning temperatures for a school project: 3, -1, 2.5, -4 and 0 degrees. She needs them least to greatest for her chart and the median for her write-up.

      Read 5 values: 3, -1, 2.5, -4, 0. Sort ascending (least to greatest): -4, -1, 0, 2.5, 3. Sort descending (greatest to least): 3, 2.5, 0, -1, -4. The middle of the ordered list (its median) is 0; the least value is -4 and the greatest is 3.

      Least to greatest: -4, -1, 0, 2.5, 3 — The smallest value is -4 and the largest is 3, with median 0.

      Comparing recipe fractions

      A cook has measuring cups marked 1/4, 1/3, 1/2 and 2/3 and wants them hung in size order on a rail, smallest first, without guessing which of 1/3 and 1/4 is bigger.

      Read 4 values: 0.5, 0.25, 0.6667, 0.3333. Sort ascending (least to greatest): 0.25, 0.3333, 0.5, 0.6667. Sort descending (greatest to least): 0.6667, 0.5, 0.3333, 0.25. The middle of the ordered list (its median) is 0.4167; the least value is 0.25 and the greatest is 0.6667.

      Least to greatest: 0.25, 0.3333, 0.5, 0.6667 — The smallest value is 0.25 and the largest is 0.6667, with median 0.4167.

      Ideas & use cases

      • Check homework the smart way: order the list yourself first, then use the calculator to grade your attempt and study any value you misplaced.
      • Rank real data: paste a week of temperatures, a class set of test scores or a list of prices to see the ranking, median and spread at once.
      • Build intuition for fractions: enter pairs like 5/8 and 2/3 and see which is really bigger before reaching for a common denominator.
      • Spot outliers: order monthly bills for a year — the range and the gap at the ends show unusual months instantly.

      Limitations & sources

      • Handles numbers, decimals, negatives and simple a/b fractions. It does not order mixed units (for example 3 ft vs 1 m), percentages written with a % sign, or algebraic expressions — convert those to plain numbers first.

      Sources: Ordering rational numbers on the number line: OpenStax Prealgebra, "Ordering and comparing rational numbers"

      Least To Greatest Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results