What This Calculator Computes
Paste or type any list of numbers and the calculator returns four key descriptive statistics instantly: the mean (arithmetic average, sum of all values divided by count), the median (middle value when sorted, resistant to outliers), the mode (most frequent value, the only measure that works with categorical data), and the range (difference between highest and lowest values, a quick measure of spread).
Enter your data separated by commas, spaces, or line breaks. The calculator also returns supporting values: sum, count, minimum, maximum, and the sorted data set. Each result includes the formula used and the intermediate calculation so you can verify the answer by hand.
The key insight: The word "average" usually refers to the mean, but mean, median, and mode often give different answers. When they disagree, choosing the wrong one leads to misleading conclusions. This calculator computes all four so you can see which one best represents your data.
The Formulas
Mean: Mean = Σx / n, where Σx is the sum of all values and n is the count. Example: for {4, 8, 6, 5, 3, 2, 8, 9, 2, 5}, sum = 52, count = 10, mean = 52 / 10 = 5.2.
Median (odd count): Median = value at position (n + 1) / 2. Median (even count): Median = average of values at positions n/2 and (n/2) + 1. Example: sorted as {2, 2, 3, 4, 5, 5, 6, 8, 8, 9}, count = 10 (even), median = (5 + 5) / 2 = 5.0.
Mode: Count the frequency of each value. The value(s) with the highest frequency are the mode(s). Example: in {2, 2, 3, 4, 5, 5, 6, 8, 8, 9}, the values 2, 5, and 8 each appear twice, making this data set trimodal with modes 2, 5, and 8.
Range: Range = Maximum − Minimum. Example: 9 − 2 = 7.
Mean vs. Median vs. Mode — When to Use Each
Use the mean when the data is roughly symmetrical with no extreme outliers, you need a measure that accounts for every single value, or you are performing further statistical calculations (variance, standard deviation, regression) that depend on the mean. Classic use case: calculating a student's GPA, where every score matters and values are bounded between 0 and 100.
Use the median when the data is skewed, there are outliers that would distort the mean, or you want to describe what a "typical" value looks like. Classic use case: reporting household income. The mean household income is significantly higher than the median because a small number of extremely high earners pull the average upward. This is why government statistics almost always report median income, not mean income.
Use the mode when the data is categorical (non-numeric), you want to know the most popular or most common value, or you are making stocking, inventory, or production decisions. Classic use case: a shoe store analyzing which shoe size sells most frequently. The mean shoe size (say, 9.3) is meaningless — you cannot stock size 9.3. The mode (say, size 10) tells you which size to order the most of.
Quick reference: Symmetric data, no outliers = use mean. Skewed data or outliers present = use median. Categorical data or "most common" needed = use mode. Reporting salaries, home prices, or wealth = use median. Calculating GPA, batting average, or test scores = use mean. Inventory and production decisions = use mode.
How Outliers Change Everything
Consider two nearly identical data sets. Set A: {40, 42, 44, 45, 46, 48, 50} has a mean of 45.0 and median of 45. Set B: {40, 42, 44, 45, 46, 48, 250} has a mean of 73.6 and median of 45. One extreme value (250 replacing 50) pulled the mean from 45.0 to 73.6 — a 64% increase — while the median did not move at all.
This relationship is diagnostic. When mean ≈ median, the data is roughly symmetrical. When mean > median, the data is right-skewed (pulled by high values). When mean < median, the data is left-skewed (pulled by low values). The bigger the gap between mean and median, the more skewed the distribution and the less trustworthy the mean is as a description of what is "typical."
Worked Example: Analyzing Test Scores
A class of 15 students receives the following scores: {72, 85, 90, 88, 76, 95, 82, 91, 85, 79, 88, 85, 93, 68, 84}. Sorted: {68, 72, 76, 79, 82, 84, 85, 85, 85, 88, 88, 90, 91, 93, 95}. Mean: 1,261 / 15 = 84.07. Median: 8th value = 85. Mode: 85 (appears 3 times). Range: 95 − 68 = 27.
Mean (84.07), median (85), and mode (85) are all close together, telling us the distribution is roughly symmetrical with no strong outliers. Any of the three measures would fairly represent the typical student score.
Worked Example: Analyzing Home Prices
A real estate agent lists 8 home sale prices: {$285,000, $310,000, $295,000, $320,000, $305,000, $290,000, $315,000, $1,200,000}. Sorted: {285K, 290K, 295K, 305K, 310K, 315K, 320K, 1,200K}. Mean: 3,320,000 / 8 = $415,000. Median: (305K + 310K) / 2 = $307,500. Mode: no mode. Range: 1,200K − 285K = $915,000.
The mean ($415,000) is $107,500 higher than the median ($307,500). This 35% gap is entirely caused by the single luxury property at $1.2M. If a buyer asks what homes typically cost, the median ($307,500) is far more representative. The mean gives a wildly inflated picture. This is exactly why real estate listings report median prices.
Distribution Shapes and Their Relationships
In a perfectly symmetrical (normal) distribution, mean = median = mode — the classic bell curve. In a right-skewed distribution (income, home prices), mean > median > mode — a long tail stretches to the right. In a left-skewed distribution (easy exam scores, age at retirement), mean < median < mode — a long tail stretches to the left. In a uniform distribution, mean = median with no clear mode — all values are equally likely. In a bimodal distribution, the mean and median fall between two peaks, with two modes — think heights in a mixed class of adults and children.
This relationship is diagnostic. If you calculate the mean and median and find they are nearly equal, your data is likely symmetrical. If the mean is substantially higher, your data is right-skewed and the median is the better measure of "typical."
Beyond the Basics: What Range Does Not Tell You
The range is useful as a quick measure of spread, but it has a critical limitation: it uses only two data points (the minimum and maximum) and ignores everything in between. Two data sets can have identical ranges but very different distributions. Set A: {10, 50, 50, 50, 50, 50, 90} is heavily concentrated around 50. Set B: {10, 15, 20, 50, 80, 85, 90} is spread evenly. Both have a range of 80, but the distributions are completely different. For a more nuanced measure of spread, statisticians use the interquartile range (IQR), variance, or standard deviation — each of which accounts for how all the values, not just the extremes, are distributed.
Real-World Applications
Education: Teachers use the mean to calculate final grades, the median to understand how the typical student performed (especially when a few very low or very high scores skew the mean), and the mode to identify the most common score band.
Business and HR: Salary benchmarking almost always uses the median rather than the mean because executive compensation creates right-skewed distributions. The mode identifies the most common job title, department size, or tenure band.
Healthcare: Clinical researchers report the median survival time for treatments because patient outcomes are often right-skewed — a few long-surviving patients inflate the mean while the median reflects the more typical experience.
Real estate: Median home price is the industry standard metric because a single luxury sale can dramatically inflate the mean for an entire neighborhood or city.
Retail and inventory: The mode determines which product sizes, colors, or configurations to stock. The mean and median are less useful for categorical decisions.
Quality control: Manufacturing uses the mean to monitor process averages and the range (or standard deviation) to monitor process consistency. A process producing parts with a tight range is more predictable than one with a wide range, even if both have the same mean.
Special Cases the Calculator Handles
Empty data set returns an error — you need at least one value. Single value — mean, median, and mode all equal that value; range = 0. All values identical — mean, median, and mode all equal that value; range = 0. No mode (all values unique) — the calculator reports "no mode." Multiple modes (bimodal or multimodal) — the calculator lists all modes. Even count for median — the calculator averages the two center values and shows the working. Negative numbers and decimal values are fully supported.
Frequently Asked Questions
The mean is the sum of all values divided by the count — it is the arithmetic average. The median is the middle value when data is sorted in order — it splits the data set in half. The mode is the value that appears most frequently. All three are measures of central tendency, but each responds differently to outliers and data shape.
Use the median when your data contains outliers or is skewed in one direction. Salary data, home prices, and wealth distributions are classic examples where the median gives a more representative picture of the “typical” value because a small number of extreme values pulls the mean away from the center.
Yes. A data set with two modes is called bimodal. A data set with three or more modes is called multimodal. If every value appears only once, the data set has no mode. The calculator handles all of these cases automatically.
Sort the data from smallest to largest. Identify the two values in the middle (at positions n/2 and n/2 + 1). The median is the average of those two values. For example, in {3, 5, 7, 9}, the two middle values are 5 and 7, so the median is (5 + 7) / 2 = 6.
The range tells you the distance between the minimum and maximum values, which is a rough measure of spread. However, it uses only two data points and ignores everything in between. Two data sets with the same range can have very different distributions. For a more complete picture of spread, use standard deviation or interquartile range.
The mean shifts toward the outlier. If the outlier is much higher than the other values, the mean increases. If it is much lower, the mean decreases. The median is largely unaffected by individual outliers, which is why it is preferred for skewed data.
In everyday language, “average” usually refers to the arithmetic mean. However, in statistics, “average” can technically refer to any measure of central tendency — mean, median, or mode. To avoid confusion, it is better to use the specific term.
Try More SupaCalc Tools
Free calculators for finance, health, AI costs, and more.
Browse All Calculators