Mean Median Mode Range Calculator
Calculate mean, median, mode, and range from a data set with step-by-step work. Enter values for instant results with step-by-step formulas.
Calculator
Adjust values & calculateSeparate values with commas or spaces
Formula
Mean is the sum of all values divided by count. Median is the middle value in sorted data (average of two middle values for even counts). Mode is the value that appears most frequently. Range is the difference between maximum and minimum values.
Last reviewed: December 2025
Worked Examples
Example 1: Student Test Scores
Example 2: Daily Temperatures
Background & Theory
The Mean Median Mode Range Calculator applies the following established principles and formulas. Statistics and probability provide the mathematical framework for drawing conclusions from data under uncertainty. The measures of central tendency describe where data cluster. The mean is the arithmetic average, computed as the sum of all values divided by the count. The median is the middle value of an ordered dataset, robust to extreme outliers. The mode is the most frequent value. Spread is quantified by variance, the average squared deviation from the mean, and by its square root, the standard deviation. For a sample, variance uses n minus one in the denominator to correct for bias in estimation. The normal distribution, defined by its mean and standard deviation, is the cornerstone of parametric statistics. Its bell-shaped probability density follows the formula f(x) = (1 / (sigma * sqrt(2*pi))) * exp(-0.5 * ((x - mu) / sigma)^2). The empirical rule states that approximately 68 percent of observations fall within one standard deviation of the mean, 95 percent within two, and 99.7 percent within three. A z-score standardizes a data point by subtracting the mean and dividing by the standard deviation, expressing how many standard deviations an observation lies from the mean. In hypothesis testing, the p-value is the probability of observing a result at least as extreme as the one obtained, assuming the null hypothesis is true. Confidence intervals express the range within which the true population parameter falls with a specified probability, typically 95 percent. Correlation measures linear association between two variables, with Pearson's r ranging from negative one to positive one. Correlation does not imply causation. Linear regression fits a line of the form y = a + bx to minimize the sum of squared residuals. Bayes' theorem relates conditional probabilities: P(A|B) = P(B|A) * P(A) / P(B), allowing prior beliefs to be updated on new evidence. The law of large numbers guarantees that the sample mean converges to the population mean as sample size grows. The central limit theorem states that the distribution of sample means approaches normality regardless of the population distribution, provided the sample size is sufficiently large, typically 30 or more.
History
The history behind the Mean Median Mode Range Calculator traces back through the following developments. The mathematical study of probability emerged in the 17th century from correspondence between Blaise Pascal and Pierre de Fermat in 1654. Their exchange, prompted by a gambling problem posed by the Chevalier de Mere, established the foundations of probability theory by calculating expected outcomes through systematic enumeration of cases. Jacob Bernoulli formalized the law of large numbers in his posthumously published Ars Conjectandi of 1713, proving rigorously that empirical frequencies converge to theoretical probabilities with increasing observations. His work laid the groundwork for inferential statistics by connecting mathematical probability to observed data. Carl Friedrich Gauss developed the method of least squares around 1795 while adjusting astronomical observations, and he recognized the bell-shaped error distribution that now bears his name. Pierre-Simon Laplace independently worked on the normal distribution and proved an early version of the central limit theorem around 1810, demonstrating why errors in measurement tend toward normality. The late 19th century saw statistics emerge as a distinct scientific discipline. Francis Galton introduced regression and correlation in the 1880s while studying heredity. Karl Pearson formalized these concepts, developed the chi-squared test, and founded the journal Biometrika in 1901, establishing statistics as a rigorous academic field. Ronald Fisher transformed statistical practice in the early 20th century. His 1925 book Statistical Methods for Research Workers introduced significance testing, analysis of variance, and the concept of the p-value as a decision threshold, establishing the framework still used in scientific research. Fisher and Jerzy Neyman engaged in a prolonged methodological dispute over the interpretation of hypothesis tests. The Bayesian approach, rooted in the 18th century work of Thomas Bayes and Laplace, was largely eclipsed by frequentist methods through much of the 20th century but experienced a revival after World War II and accelerated with computational advances. The late 20th and early 21st centuries brought statistics into every domain through big data, machine learning, and the routine availability of software capable of processing millions of observations.
Frequently Asked Questions
Formula
Mean = Σx / n | Median = middle value | Mode = most frequent
Mean is the sum of all values divided by count. Median is the middle value in sorted data (average of two middle values for even counts). Mode is the value that appears most frequently. Range is the difference between maximum and minimum values.
Worked Examples
Example 1: Student Test Scores
Problem: Find the mean, median, mode, and range of these test scores: 85, 92, 78, 90, 85, 88, 76, 95, 85, 82
Solution: Sorted: 76, 78, 82, 85, 85, 85, 88, 90, 92, 95\nMean = 856 / 10 = 85.6\nMedian = (85 + 88) / 2 = 86.5\nMode = 85 (appears 3 times)\nRange = 95 - 76 = 19
Result: Mean: 85.6 | Median: 86.5 | Mode: 85 | Range: 19
Example 2: Daily Temperatures
Problem: Analyze these temperatures (°F): 72, 68, 75, 71, 69, 73, 70
Solution: Sorted: 68, 69, 70, 71, 72, 73, 75\nMean = 498 / 7 = 71.14\nMedian = 71 (middle value)\nMode = No mode (all unique)\nRange = 75 - 68 = 7\nStd Dev = 2.27
Result: Mean: 71.14 | Median: 71 | Mode: None | Range: 7
Frequently Asked Questions
What is the difference between mean, median, and mode?
The mean (average) is the sum of all values divided by the count. The median is the middle value when data is sorted — it splits the data into two equal halves. The mode is the most frequently occurring value. For symmetric distributions, mean ≈ median ≈ mode. For skewed distributions they differ: in right-skewed data, mean > median > mode; in left-skewed data, mean < median < mode. The median is more robust to outliers than the mean.
When should I use the median instead of the mean?
Use the median when your data has outliers or is skewed. For example, income data: if 9 people earn $50K and 1 earns $5M, the mean is $545K (misleading), but the median is $50K (representative). The median is also preferred for ordinal data, house prices, response times, and any dataset where extreme values could distort the average. Use the mean when data is roughly symmetric and you need to include all values in the measure.
Can a dataset have more than one mode?
Yes. A dataset is unimodal if it has one mode (e.g., 1,2,2,3 — mode is 2), bimodal if it has two modes (e.g., 1,2,2,3,3,4 — modes are 2 and 3), and multimodal if it has more than two. If all values occur with equal frequency, there is no mode. Mode is the only measure of central tendency that works for categorical (non-numeric) data, such as favorite colors or brands.
What does range tell us about data?
Range = Maximum - Minimum. It measures the total spread of the data. A larger range indicates more variability. However, range is very sensitive to outliers since it only uses the two most extreme values. For example, the data set {10, 12, 11, 13, 100} has a range of 90, driven entirely by the outlier 100. Standard deviation and interquartile range (IQR) are more robust measures of spread.
How do I get the most accurate result?
Enter values as precisely as possible using the correct units for each field. Check that you have selected the right unit (e.g. kilograms vs pounds, meters vs feet) before calculating. Rounding inputs early can reduce output precision.
Why might my result differ from another tool or reference?
Differences typically arise from rounding conventions, the specific version of a formula (for example, simple vs compound interest), or unit inconsistencies between inputs. Check that both tools are using the same formula variant and the same units. The References section links to the authoritative source behind the formula used here.
References
Reviewed by Manoj Kumar, Mathematics Educator · Editorial policy