Skip to content
Statistics

Minimum and Maximum Calculator

Enter up to 50 numbers separated by commas, spaces, or line breaks. The calculator instantly finds the smallest (minimum) and largest (maximum) values, computes the range, count, sum, mean, and median, and displays a sorted breakdown with min-max normalization for every value.

Your details

Enter numbers separated by commas, spaces, or line breaks. Decimals and negatives are supported.
Number of decimal places used for mean, median, and normalization output.
Minimum
3

Smallest value in the dataset

Maximum44
Range41
Count7
Sum130
Mean18.571429
Median12
Minimum3
Mean18.571429
Median12
Maximum44

Min is 3, Max is 44, Range is 41.00.

  • The range spans 41.00 units from 3 to 44.
  • With 7 values, the distribution appears skewed toward higher values (mean > median).
  • The mean (18.57) and median (12.00) together describe the center of the data.
  • Min-max normalization maps every value to a 0-1 scale using (x - 3) / 41.00.

Next stepPair these results with a standard deviation or interquartile range to understand how spread out the middle of your data is.

Sorted values with min-max normalization

RankValueNormalized (0-1)
13.000.00
25.000.05
38.000.12
412.000.22
521.000.44
637.000.83
744.001.00

Normalized value = (x - minimum) / (maximum - minimum). Minimum normalizes to 0, maximum to 1.

How to find the minimum and maximum of a dataset

The minimum is simply the smallest number in your dataset. The maximum is the largest. To find them manually, sort all values from lowest to highest: the first number is the minimum and the last is the maximum. The range is the difference between the two, giving you a quick measure of how spread out your data is. For example, in the dataset {3, 5, 8, 12, 21, 37, 44}, the minimum is 3, the maximum is 44, and the range is 44 - 3 = 41.

Min-max normalization (feature scaling)

Min-max normalization rescales every value in a dataset to fit between 0 and 1, making datasets with different units directly comparable. The formula is: X_normalized = (X - X_min) / (X_max - X_min). The minimum value maps to 0, the maximum maps to 1, and everything else falls in between proportionally. This technique is widely used in machine learning to prevent features on large numeric scales from dominating those on small scales. The sorted breakdown table in this calculator shows the normalized value for each of your entries.

Range, mean, and median as companion statistics

The range tells you how wide your data is, but says nothing about where most values cluster. The mean (arithmetic average) and median (middle value) describe the center. When the mean and median are close, the dataset is roughly symmetric. When the mean is pulled higher than the median, a few large outliers are lifting the average upward. Comparing all three together gives a fast first look at the shape of your data before you run more detailed analyses like standard deviation or interquartile range.

Common uses for min and max

Finding the minimum and maximum is one of the most frequent tasks in data analysis. In quality control, you check whether any measurement falls outside acceptable limits. In finance, you scan historical prices for the low and high over a period. In sports, you record the slowest and fastest times in a session. In machine learning, you scale features before training a model. In everyday settings, you might find the cheapest and most expensive items in a list of prices, or the lowest and highest scores on a test.

Min-max normalization examples

DatasetMinimumMaximumRangeExample valueNormalized
Test scores (0-100)459853720.509
Prices ($1-$500)15004991500.299
Temperatures (-10 to 40 C)-104050220.640
Heights (150-200 cm)150200501750.500

Illustrates how four datasets with different scales normalize to the same 0-1 range.

Frequently asked questions

What is the difference between minimum, maximum, and range?

The minimum is the smallest value in a dataset. The maximum is the largest. The range is the gap between them: range = maximum - minimum. Range gives a quick sense of how spread out the data is, but it is sensitive to outliers because even a single extreme value changes it dramatically.

How many numbers can I enter?

You can enter up to 50 numbers, separated by commas, spaces, or line breaks. Decimals (e.g. 3.14) and negative numbers (e.g. -7) are fully supported. The calculator ignores any non-numeric tokens, so you can paste messy text and it will extract the valid numbers automatically.

What is min-max normalization and when should I use it?

Min-max normalization rescales your values to a 0-to-1 range using the formula (x - min) / (max - min). Use it when you want to compare values measured in different units, or before feeding data into a machine learning algorithm that is sensitive to the scale of its inputs (such as k-nearest neighbors or neural networks). The minimum becomes 0, the maximum becomes 1, and all other values sit proportionally in between.

Can the minimum and maximum be the same value?

Yes. If all numbers in your dataset are identical, the minimum equals the maximum and the range is 0. Normalization is undefined in this case because dividing by zero is not possible. The calculator handles this gracefully and reports a range of 0 with all normalized values set to 0.

Why is the median sometimes more useful than the mean?

The mean is pulled toward outliers. If your dataset is {1, 2, 3, 4, 100}, the mean is 22 but the median is 3. The median better represents what a typical value looks like when a few extreme values are present. For skewed distributions like incomes or house prices, the median is usually the more informative center measure.

How do I find the minimum and maximum without a calculator?

Sort your numbers from smallest to largest. The first value is the minimum and the last is the maximum. For a short list you can do this by eye. For a longer list, scan through once keeping track of the smallest and largest values seen so far, updating each time you encounter a new extreme. This linear scan takes at most n steps for n numbers.

Sources

Written by Dr. Hannah Brandt, PhD Statistician · Munich, Germany

Applied statistician translating rigorous probability theory into clear, accurate tools for researchers and practitioners.

Search 3,500+ calculators

Loading search…