Complete guide
Mean, median, mode and range calculator with quartiles
Paste up to 1,000 numbers separated by commas, spaces or lines. Calculator24 sorts the data and returns mean, median, mode, range, quartiles, IQR, sum and frequencies.
Four descriptive statistics at once
Mean, median and mode describe different kinds of center. Range describes total spread. Reporting them together makes unusual values and repeated values easier to notice.
Mean and median formulas
The arithmetic mean divides the sum by the count. The median sorts values; it is the middle observation for an odd count and the average of the two middle observations for an even count.
mean=Σx÷nrange=max−minIQR=Q3−Q1Mode and multiple modes
The mode is the most frequent value and need not be unique. The result reports all tied highest-frequency values. If every value appears equally often, it reports no mode rather than labeling every value.
Worked seven-value example
Sorting 10, 2, 38, 23, 38, 23, 21 gives 2, 10, 21, 23, 23, 38, 38. The middle is 23 and the two repeated high-frequency values are 23 and 38.
Outliers affect measures differently
A very large observation pulls the mean and range upward. The median may remain stable because it depends on order rather than distance from the other values.
Quartile convention and data quality
This page computes Q1 and Q3 as medians of the lower and upper halves, excluding the overall median for odd-sized sets. Verify missing values, units and the required percentile convention before formal analysis.
Statistic definitions
| Measure | Uses | Sensitive to extremes |
|---|---|---|
| Mean | Every numeric value | Yes |
| Median | Sorted middle | Usually less |
| Mode | Highest frequency | No |
| Range | Minimum and maximum | Yes |
| IQR | Middle 50% | Usually less |
Frequently asked questions
Can a data set have two modes?
Yes. All values tied at the highest frequency are reported.
What if every value occurs once?
The result says there is no mode.
How is an even-count median found?
Average the two middle values after sorting.
Why can mean and median differ?
Skew and extreme values affect the mean more strongly.
How are quartiles calculated?
The tool uses medians of the lower and upper halves.
How many values can I enter?
Up to 1,000 finite numbers.
What to keep in mind
These are descriptive statistics for the entered values. Quartiles use the median-of-halves method and can differ from software that interpolates percentiles.
Results display up to 8 decimal places; exported numbers preserve calculation precision. This is a calculation summary, not an official certificate.