Mean, Median, Mode, Range Tool
Analyse numeric datasets or value-frequency pairs using mean, median, mode and range. Compare quartile methods and sample or population variability, inspect interactive charts and frequency tables, and export results in convenient formats directly from your browser.
Distribution
Five-number summary
More statistics
Frequency table
| Value | Frequency | Relative % | Cumulative |
|---|
Table of Contents
Highlights
- Accepts raw numbers or value-frequency pairs
- Mean, median, modes and range at a glance
- Interactive frequency chart and histogram
- Quartile box plot and detailed frequency table
- Adjustable precision with CSV, JSON, TXT and PNG exports
How Mean, Median, Mode, Range Tool Works?
Enter a list of numeric values separated by commas, spaces or new lines, or choose value-frequency pairs with one value and its positive whole-number frequency per line. Frequencies act as repeated observations. The results include count, sum, distinct-value count, central tendency and spread.
For n observations, the arithmetic mean is the total divided by the count:
The median is the middle value after sorting, or the average of the two middle values when the count is even. The mode contains the most frequent value or tied values; when all distinct values occur equally often, no mode is reported. The range is the maximum minus the minimum.
Variance averages squared differences from the mean, with a selectable denominator of n for a population or n − 1 for a sample; standard deviation is its square root.
Two quartile methods are available: inclusive linear interpolation at the 25th and 75th percentiles, or medians of the lower and upper halves (excluding the central value for odd counts). The interquartile range is Q3 − Q1. The five-number summary supports the box plot, while frequency bars and an equal-width histogram show distributions. The frequency table reports counts, relative percentages and cumulative counts.
| Values | Mean | Median | Mode | Range |
|---|---|---|---|---|
| 2, 4, 4, 6, 9 | 5 | 4 | 4 | 7 |
Practical Use Cases
Students: Check homework datasets, compare the mean and median, and see how repeated numbers affect the mode.
Teachers: Summarise assessment marks and use a histogram or frequency table to discuss score distributions.
Researchers: Review numerical survey responses, examine quartiles and variability, and compare sample with population standard deviation.
Business analysts: Examine transaction sizes or operational measurements, identify typical values and spot unusually wide spreads.
Sports coaches: Summarise athletes’ training results and inspect how consistent performances are across a series.
Accuracy and Limitations
Calculations use JavaScript floating-point arithmetic, so very large values or many decimal places may introduce rounding error; the display can be set to 0, 1, 2, 3, 4 or 6 decimal places. Inputs must be finite numbers. Raw input accepts up to 200,000 values; frequency mode accepts up to 20,000 rows and a total frequency of 200,000. Sample variance is unavailable for a single observation. Quartiles depend on the selected definition, and the histogram groups values into bins, which can conceal individual frequencies. Exports reflect the current analysis and chart selection.