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.

Enter numbers separated by commas, spaces or new lines
Tip: use a dot for decimals and a minus sign for negative numbers.
Mean
–
Median
–
Mode
–
Range
–

Distribution

Hover over or tap the chart for values.

Five-number summary

Min–
Q1–
Q2–
Q3–
Max–

More statistics

Count (n)–
Sum–
Minimum–
Maximum–
Interquartile range–
Variance–
Standard deviation–
Distinct values–

Frequency table

ValueFrequencyRelative %Cumulative

Table of Contents

  1. How Mean, Median, Mode, Range Tool Works?
  2. Practical Use Cases
  3. Accuracy and Limitations
  4. Frequently Asked Questions (FAQs)
  5. Cite This tool

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:

x¯=∑i=1nxin

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.

Range=xmax−xmin

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.

s2=∑(xi−x¯)2n−1,s=s2

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.


ValuesMeanMedianModeRange
2, 4, 4, 6, 95447

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.

Frequently Asked Questions

The mean uses every observation in the arithmetic average, while the median is the middle value of sorted observations. Extreme values usually affect the mean more.

Yes. Two or more values can share the highest frequency, producing multiple modes.

A large range means the minimum and maximum are far apart. It does not show how observations are distributed between them.

Different conventions use interpolation or split the sorted data into halves. Both are established methods, but they can produce different Q1 and Q3 values.

Use sample standard deviation when observations are a sample intended to represent a wider population. Use population standard deviation when the observations comprise the entire population of interest.

Cite This tool