Skip to content

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 type
Treat data as
Sample vs population ?
Values
Enter numbers (comma, space, or newline-separated) ?
Display (optional)
Decimal places 2
0246
Extras

Frequency histogram

Mean and median markers
Count Mean (x̄) Median

Sorted data

Click a chip to copy

Frequency table

Value Frequency Relative Distribution

Step-by-step

Click to expand
Show working

    Formula

    = Σ xᵢ N
    Arithmetic mean
    Σ xᵢ
    Sum of all values
    N
    Count of values
    Your numbers
    1. Sum Σxᵢ =
    2. Count N =
    3. Mean x̄ =
    4. Median (middle of sorted) =
    5. 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.