Mean, Median, Mode Calculator
Type or paste a list of numbers to find the mean, median, mode, midrange, and quartiles, with a step-by-step breakdown of each one.
Separate numbers with commas, spaces, or new lines.
Step-by-step proofCheck by hand
Mean, median, mode, midrange and quartiles
The mean adds every number and divides by the count. The median is the middle value once the list is sorted. The mode is whichever value repeats most often. Midrange averages just the smallest and largest value, ignoring everything in between. Quartiles go a step past the median: Q1 is the median of the lower half of the sorted list, and Q3 is the median of the upper half — together they, and the overall median, split the data into four equal-sized quarters.
The formulas
Worked example
For 4, 8, 15, 16, 23, 42: mean = 18, median = 15.5, no value repeats so there's no mode, midrange = (4 + 42) / 2 = 23, and splitting the sorted list into halves gives Q1 = 8, Q3 = 23, so the interquartile range is 15.
Frequently asked questions
What are quartiles?
What does the interquartile range (IQR) tell you?
What's the difference between midrange and median?
- Standard descriptive statistics (mean, median, mode, midrange, and quartiles via the exclusive/Tukey method) — general published mathematics.