Enter your numbers below, separated by commas, spaces, or new lines. The calculator finds the mean, median, mode, range, geometric mean, largest, smallest, sum, and count, plus a sorted data set and a column chart of your values.
The mean, median, mode, range calculator on this page takes a list of numbers and instantly reports the four most common measures used to describe a data set - the mean (average), the median (middle value), the mode (most frequent value), and the range (the spread from smallest to largest) - along with several useful extras: the geometric mean, the largest and smallest values, the sum, the count, a fully sorted version of your data, and a column chart that lets you see the shape of the data at a glance. Just type your numbers into the box, separated by commas, spaces, or new lines, and click Calculate.
These statistics are the foundation of descriptive statistics. Together they tell you where the center of your data lies, how spread out it is, and which values show up most often. Whether you are a student checking homework, a teacher building examples, an analyst summarizing results, or simply curious about a set of numbers, this calculator does the arithmetic for you and shows the answers in clear, plain form.
Mean, median, and mode are the three classic measures of central tendency - different ways of answering the question "what is a typical value in this data?" The range is a simple measure of spread that describes how far apart the values are. Each measure captures something different, and looking at all four gives a much fuller picture than any single number could.
The mean, also called the arithmetic mean or average, is the most familiar measure of center. To find it, add up all the values in the data set and divide by the number of values. In symbols, the mean is the sum of the values Σx divided by the count n:
Mean = Σx ÷ n
For the default data set 10, 2, 38, 23, 38, 23, 21, the sum is 155 and there are 7 values, so the mean is 155 ÷ 7 = 22.142857... The mean uses every value in the data, which makes it sensitive to extreme values, or outliers. A single very large or very small number can pull the mean noticeably in its direction, which is why it is often reported alongside the median.
The median is the value that sits exactly in the middle of the data once it has been arranged from smallest to largest. To find it, first sort the numbers. If there is an odd number of values, the median is the single value in the center. If there is an even number of values, the median is the average of the two center values.
Using the sorted default set 2, 10, 21, 23, 23, 38, 38, there are seven numbers, so the median is the fourth value: 23. If instead we had six numbers - say 2, 10, 21, 23, 38, 38 - the median would be the average of the third and fourth values, (21 + 23) ÷ 2 = 22. The key advantage of the median is that it is resistant to outliers. Because it depends only on the middle position rather than the actual size of the extreme values, one unusually large or small number will not distort it the way it distorts the mean. This is why median income and median home price are reported far more often than their means.
The mode is the value that occurs most frequently in a data set. To find it, count how many times each value appears and pick the value with the highest count. A data set can have:
In the default set 10, 2, 38, 23, 38, 23, 21, both 38 and 23 appear twice while every other value appears once, so the data is bimodal and the mode is "38, 23, each appeared 2 times." The mode is the only one of the three averages that can be used with non-numeric, categorical data - for example, finding the most common eye color or the best-selling shoe size - because it simply counts frequencies rather than performing arithmetic.
The range measures how spread out a data set is. It is the simplest measure of dispersion, found by subtracting the smallest value from the largest:
Range = Largest − Smallest
For the default set, the largest value is 38 and the smallest is 2, so the range is 38 − 2 = 36. The range is quick to compute and easy to understand, but it has a major limitation: it relies entirely on the two most extreme values and ignores everything in between. A single outlier can make the range enormous even if the rest of the data is tightly clustered. For a more complete picture of spread, statisticians often turn to the variance and standard deviation, which take every value into account.
In addition to the ordinary (arithmetic) mean, this calculator reports the geometric mean. The geometric mean of n positive numbers is the n-th root of their product:
Geometric Mean = (x1 × x2 × ... × xn)1/n
While the arithmetic mean is appropriate for quantities that add together, the geometric mean is the right average for quantities that multiply, such as growth rates, investment returns, and ratios. Because it multiplies the values together, the geometric mean is only defined for positive numbers; a data set that contains a negative value has no real geometric mean, and a data set containing a zero has a geometric mean of zero. For the default data set, the geometric mean is approximately 16.41, which is lower than the arithmetic mean of about 22.14 - the geometric mean is always less than or equal to the arithmetic mean for the same set of positive numbers.
Alongside the four main measures, the calculator reports a few simple but handy figures:
The column chart at the bottom of the results plots each value in the order you entered it, with one bar per number. Visualizing the data this way makes it easy to spot the tallest and shortest bars (the largest and smallest values), notice repeated heights (which point to the mode), and get an intuitive feel for how the values are distributed. A glance at the chart often reveals patterns - such as clustering, gaps, or outliers - that raw numbers alone can hide.
No single average is best for every situation. The right choice depends on the shape of your data and what you want to communicate.
When a data set is perfectly symmetric, the mean and median are equal. When data is skewed to the right (a long tail of high values), the mean is pulled above the median. When it is skewed to the left, the mean falls below the median. Comparing the mean and median is therefore a quick way to detect skewness.
Suppose a small business records the number of orders received on seven days: 10, 2, 38, 23, 38, 23, 21. Let us compute each measure by hand.
From these figures the owner learns that a typical day brings a little over 20 orders, that order counts swing across a wide range of 36, and that two particular order levels (23 and 38) recurred during the week. Each statistic adds a different insight, and together they summarize the week far better than any single number.
Mean, median, mode, and range appear everywhere that numbers are summarized:
You can separate your numbers with commas, spaces, or line breaks - mix them freely and the calculator will still read your data correctly. Decimals and negative numbers are fully supported, so values like 3.14 or -7 work fine. You need at least two numbers for the calculator to produce a result. Remember that the geometric mean requires all values to be positive; if your data includes a negative number, the geometric mean is reported as undefined (NAN), and if it includes a zero, the geometric mean is zero.
In everyday language, "average" usually refers to the arithmetic mean - add the values and divide by how many there are. In statistics, "average" is a broader term that can refer to the mean, median, or mode, since all three describe a central or typical value. On this calculator, "Mean (Average)" is the arithmetic mean.
Yes. If two or more values tie for the highest frequency, the data set has multiple modes and is called bimodal (two) or multimodal (more than two). The calculator lists every value that ties for the most occurrences. If no value repeats, the set has no mode.
Sort the data and take the two values in the middle, then average them. For example, with the sorted set 4, 8, 15, 16, the two middle values are 8 and 15, so the median is (8 + 15) ÷ 2 = 11.5.
The geometric mean multiplies all the values together and then takes a root, so it is only defined for positive numbers. If any value is negative the product can be negative and the root is not a real number, so the result is shown as NAN. If any value is zero, the product is zero and so is the geometric mean.
The mean tells you where the center of the data is, while the range tells you how spread out the data is. Two data sets can share the same mean but have very different ranges - one tightly clustered and one widely scattered - so reporting both gives a far more complete picture.
No. All calculations run entirely in your browser. Nothing you type is uploaded or saved to any server, so your data stays private.
This Mean, Median, Mode, Range Calculator is provided for educational and general informational purposes. It uses the standard definitions of the mean, median, mode, range, and geometric mean and is suitable for coursework, research, and everyday analysis. For high-stakes statistical decisions, confirm your methodology and results with appropriate statistical software or a qualified statistician.