Mean, Median, Mode & Range Calculator
Inspect the center and spread of a numeric list with mean, median, mode, range and quartiles. Check Count and sorted data to confirm that the observations match your records.
Sorted data: 9, 10, 12, 13, 13, 15, 18, 22
Check the observations
- Invalid tokens reject the entire list.
- Comma separates observations; enter 1000 instead of 1,000.
- Quartiles exclude the central observation for odd counts.
How to use the Mean, Median, Mode & Range Calculator
- Separate observations with spaces, newlines, commas or semicolons; use a dot for decimals and no thousands commas.
- Correct all malformed entries before reading the output. Check Count and sorted data; repeated entries remain separate observations.
- Mean is sum/count, median is the central sorted value or central pair’s mean, and range is maximum minus minimum.
- Quartiles use medians of halves, excluding the middle observation for odd counts.
Quartiles use a specific convention
The tool sorts the list and takes the medians of its lower and upper halves. For an odd count, the central observation is excluded from both halves. A single observation supplies both Q1 and Q3. IQR is Q3 minus Q1.
Other software may interpolate percentiles differently. A quartile difference does not automatically mean either calculation is wrong; compare definitions before comparing results.
Interpret center and spread together
Mean is sensitive to large extremes; median describes the center by position. Range uses only two endpoints, so it does not describe how the intervening observations cluster. None of these outputs establishes representativeness, causation or sampling uncertainty.
This is an unweighted list calculator. Duplicate entries receive repeated weight. Malformed or nonfinite values reject the list, while arithmetic may still overflow for extreme magnitudes. Displayed summaries use at most 10 decimal places and are not exact symbolic calculations.
Parsing and quartile definitions
Malformed or nonfinite tokens reject the list rather than disappearing. Commas separate values, so type 1000 for one thousand. Quartiles use medians of halves with the central observation excluded for odd counts; software using interpolation may differ.
Examples
Five observations
For 2, 4, 4, 6, 9, sum = 25 and count = 5, so mean = 5. Median = 4, mode = 4 and range = 9 − 2 = 7. Excluding the middle value from the halves gives Q1 = 3, Q3 = 7.5 and IQR = 4.5.
Every value repeats equally
For 1, 1, 2, 2, the tool reports both 1 and 2 as modes because the maximum frequency is 2. For 1, 2, 3, it reports No mode because the maximum frequency is only 1.
Check the result in context
Negative and zero values: for −2, 0, 0, 4, 8, sum = 10, mean = 2, median = mode = 0 and range = 10. Excluding the middle observation gives Q1 = −1, Q3 = 6 and IQR = 7.
Frequently asked questions
Why are all repeated values listed as modes?
The implementation lists every value tied at the highest frequency when that frequency exceeds one, including a list where all distinct values repeat equally often.
Can I enter measurements with units?
Use bare numbers in consistent units. A token such as 12kg rejects the list; the tool does not convert units.
Why is my quartile different in a spreadsheet?
Several quartile conventions are valid. This tool splits the sorted list and takes each half’s median, excluding an odd list’s middle value. Compare definitions before treating a discrepancy as an error.
More math tools
Average Calculator
Find the mean average of numbers.
Open tool →Standard Deviation Calculator
Calculate population or sample standard deviation, variance and mean.
Open tool →Z-Score Calculator
Calculate standard score and approximate normal percentile.
Open tool →Probability Calculator
Calculate simple and independent-event probabilities.
Open tool →Rounding Calculator
Round numbers and decimals using several rounding methods.
Open tool →Pythagorean Theorem Calculator
Solve a right triangle for a missing leg or hypotenuse.
Open tool →