Skip to content
2xKit

Mean, Median, Mode & Range Calculator

Calculate the mean, median, mode and range of a data set.

Formula v1.0.0GlobalMethodologyReport an issuemean-median-mode-v1
How this is calculated
Mean = sum ÷ count. Median = middle value (average of two middles if even count). Mode = most frequent value(s).

Assumptions used in this calculation

  • Sorting: The data set is sorted numerically before computing the median and range, regardless of input order.

About this calculator

A single data set can be summarized several different ways, and the mean, median and mode don't always agree, especially once outliers or skew are involved, so eyeballing a list of numbers can give a misleading sense of what's "typical." This calculator takes any list of numbers and computes the mean (sum divided by count), the median (the middle value once sorted, or the average of the two middle values for an even-sized set), the mode (the most frequently occurring value or values), and the range (maximum minus minimum). It sorts the data internally so median and range are correct regardless of the order you type numbers in, and it reports every mode when a data set is multimodal rather than picking just one. That gives a fuller picture of a data set's center and spread than any single statistic alone, without manually sorting and tallying frequencies by hand.

Worked example

2, 4, 4, 6, 8

Result: Mean: 4.8, Median: 4, Mode: 4, Range: 6

Was this helpful?

Frequently asked questions