Find Minimum and Maximum screenshot

Find Minimum and Maximum

Find the smallest, largest, count, range and sum of a list of numbers, with a non-numeric entry refused by name.

Privacy First
0 Runs
Updated 2026-11-22
No upload
Instant
No signup

Find Minimum and Maximum

Find the smallest, largest, count, range and sum of a list of numbers, with a non-numeric entry refused by name.

How this page computes

Values are read as JavaScript numbers, so very long decimals are rounded at the host's precision; the page is a list summary, not an exact-integer calculator. Non-finite results such as infinity are refused rather than printed.

The calculation runs entirely in this browser tab; nothing is uploaded.

The page reads a list of numbers and reports the smallest, the largest, how many there are, the range and the sum. The list may be separated by spaces, commas, semicolons or new lines.

Worked example: 3, 7, -2, 9 gives a minimum of -2, a maximum of 9, a count of 4 and a range of 11. A token that is not a number is refused with the token quoted, so a stray character does not become a zero.

How to use the Find Minimum and Maximum

Paste or type the numbers, separated by spaces, commas or new lines, then press Run. The output prints one labelled value per line.

The range is the maximum minus the minimum, and the sum is included as a check on the list rather than as a separate statistic. An empty list is refused before any arithmetic runs.

The rule this page applies

The minimum and maximum are found in one pass over the list, and the range is their difference. The count is the number of tokens that parsed as numbers.

Values are read as JavaScript numbers, so very long decimals are rounded at the host's precision; the page is a list summary, not an exact-integer calculator. Non-finite results such as infinity are refused rather than printed.

What to Expect

Best for

  • Summarising a short list quickly
  • Finding the spread of a set
  • Checking a sum against a list

Not ideal for

  • Exact arithmetic on very long decimals
  • Sorting the list
  • Statistical measures such as median

What this tool keeps

  • Every number in the list and the count

What may need cleanup

  • Nothing: the five labelled values are final

Common errors

  • A non-numeric token is refused with the token quoted
  • An empty list is refused before any arithmetic

Example use cases

  • Summarise 3, 7, -2, 9
  • Find the range of a price list

Sample input

3, 7, -2, 9

Sample output

min = -2 max = 9 count = 4 range = 11 sum = 17

Who this is for

  • Students checking a data set
  • Shoppers comparing prices

Frequently asked questions

Are duplicates counted?

Yes. Every parsed token counts, so 4 4 5 has a count of three even though it has two distinct values. The minimum and maximum are unaffected by duplicates.

Why is the sum only approximate for long decimals?

The page uses the browser's number type, which is a double. For ordinary prices and measurements that is exact enough, but a 20-digit decimal may be rounded, and the page does not pretend otherwise.

What separators are accepted?

Spaces, commas, semicolons and new lines, in any mixture. Empty tokens between separators are ignored, so a trailing comma does not create a phantom value.

Is anything uploaded?

Nothing is uploaded. The numbers are read and the arithmetic runs in this browser tab with JavaScript, and reloading the page discards both the input and the result.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.