Mean, Median, Mode Calculator
Compute mean, median, mode, range, variance, standard deviation, and percentiles for any dataset, with histogram and step-by-step explanations.
Dataset
Updates as you typeTreat data as
Sample vs population ?
Values
Enter numbers (comma, space, or newline-separated) ?
—
Display (optional)
Decimal places
2
Extras
Frequency histogram
Mean and median markersBin —
Count —
Count
Mean (x̄)
Median
Sorted data
Click a chip to copyFrequency table
| Value | Frequency | Relative | Distribution |
|---|
Step-by-step
Click to expandShow working
Formula
x̄
=
Σ xᵢ
N
- x̄
- Arithmetic mean
- Σ xᵢ
- Sum of all values
- N
- Count of values
Your numbers
- Sum Σxᵢ = —
- Count N = —
- Mean x̄ = —
- Median (middle of sorted) = —
- Mode = —
The median is the middle value of the sorted data (or the average of the two middle values when N is even). The mode is the value that appears most often; there can be more than one, and a dataset can have no mode. Geometric and harmonic means require every value to be positive.