Mean, Median, Mode Calculator
Enter a set of numbers to compute descriptive statistics and visualize data with a box-and-whisker plot
By Drew Budwin · Last updated July 2026 · Methodology
Recent Calculations (0)
Results
Count
--
Sum
--
Mean
--
Median
--
Mode
--
Range
--
Min
--
Max
--
Q1
--
Q2 (Median)
--
Q3
--
IQR (Q3 − Q1)
--
Outliers
--
Box-and-Whisker Plot
Embed this calculator
Add it to your website or blog
How We Calculate This
Picking the Right Average for the Data
Mean works best when data is symmetric with no outliers. Median is better for skewed data. One billionaire doesn't move the median household income the way it moves the mean. Mode matters for categorical data: the most common shoe size to stock isn't the average shoe size.
Worked Example: 2, 3, 3, 7, 10
Mean = 25 ÷ 5 = 5. Median = 3 (the 3rd value when sorted). Mode = 3 (appears twice). Add an outlier of 100 and the mean jumps to roughly 20.8, but the median moves only to (3 + 7) ÷ 2 = 5. Same data, very different story depending on which average you report.
Mean, Median, Mode Calculator Formula
The arithmetic mean is the sum of all values divided by the count:
where x₁ through xₙ are the data values and n is the count.
Quartiles use Tukey's hinges method. The IQR measures the spread of the middle 50% of the data:
where Q1 is the first quartile (25th percentile) and Q3 is the third quartile (75th percentile).
Outliers are identified using the 1.5 × IQR rule:
Values strictly outside these fences are flagged as outliers and shown as dots beyond the whiskers in the box plot.
How to Use This Calculator
- Enter your numbers in the Dataset field. Separate values with commas, spaces, or new lines. You can mix delimiters freely.
- You may enter up to 1,000 numbers. Negative numbers and decimals are fully supported.
- Click Calculate to compute all descriptive statistics.
- Review the results: count, sum, mean, median, mode, range, min, max, Q1, Q2, Q3, IQR, and outliers.
- Examine the box-and-whisker plot below the statistics cards. It shows the five-number summary and marks any outliers as individual dots.
- Share your results by copying the URL. The dataset is encoded in the link so anyone can reproduce the calculation.