Dataset

Separate with commas, spaces, semicolons, or new lines
Load example:
random values
Arithmetic Mean
Enter data above to begin
Median
Mode
Range
Count (n)
Min: Max: Sum:
Sorted Dataset (cyan = median)
Sorted values will appear here
x̄ = ∑x / n Range = max − min

Full Descriptive Statistics

Complete statistical profile of your dataset.

Sample Std Dev (s)
Population Std Dev (σ)
Sample Variance
Population Variance
IQR
Q1 (25th %ile)
Q3 (75th %ile)
Outliers (IQR)
Skewness
CV%
Min / Max
Sum
Box & Whisker Plot

Cyan box = IQR (Q1 to Q3) · Purple line = Median · Red dots = Outliers

Frequency Distribution

Histogram with adjustable bin count. Dashed lines mark the mean (purple) and median (cyan).

Frequency Table
Bin RangeCountRelative %Cumulative %
Calculate first
📋

How to Use This Calculator

1

Enter Your Data

Type or paste numeric values into the text area. The calculator accepts comma-separated, space-separated, semicolon-separated, or newline-separated numbers in any combination. Use the preset buttons to load ready-made examples instantly.

2

Read the Results

The Calculator tab shows the mean as the hero result, with median, mode, range, and count in the stat grid. The sorted dataset highlights the median value(s) in cyan so you can see exactly where the midpoint falls.

3

Explore Deeper

Switch to Full Descriptive Stats for standard deviation, IQR, variance, quartiles, outliers, and a box-and-whisker plot. Use Frequency Distribution to visualize the histogram with adjustable bins and see the full frequency table.

Formulas & Methodology

Mean (Arithmetic Average)
x̄ = (x₁ + x₂ + … + xₙ) / n = ∑x / n
Sum all values and divide by the count. The mean is sensitive to outliers.
Median (Middle Value)
Sort data ascending. For odd n: value at position (n+1)/2. For even n: average of positions n/2 and n/2+1.
The median is robust against outliers and is preferred for skewed distributions.
Mode
The value(s) appearing with the highest frequency. No mode if all values are unique.
Data can be unimodal (1 mode), bimodal (2), multimodal (3+), or have no mode.
Range & IQR
Range = max − min   |   IQR = Q3 − Q1
Range measures total spread; IQR measures the spread of the middle 50% and is resistant to outliers.
📖

Key Terms

Mean The arithmetic average; sum of all values divided by the count. Sensitive to outliers.
Median The middle value in a sorted dataset. Robust against outliers; preferred for skewed data.
Mode The most frequently occurring value. A dataset can have zero, one, or multiple modes.
Range The difference between the maximum and minimum values; the simplest measure of spread.
IQR (Interquartile Range) Q3 minus Q1; the spread of the middle 50% of data, unaffected by extreme values.
Variance The average of squared deviations from the mean. Always non-negative. The square of standard deviation.
Standard Deviation The square root of variance. Measures typical spread from the mean in the same units as the data.
Skewness Asymmetry of the distribution. Right-skewed: long right tail (mean > median). Left-skewed: long left tail.
Outlier A value more than 1.5 × IQR below Q1 or above Q3. Can strongly affect the mean but not the median.
👥

Real-World Examples

📊

Test Scores

Data: 72, 78, 79, 82, 84, 85, 88, 90, 91, 93, 95 (n = 11)

Results
Mean = 85.2, Median = 85, Mode = None, Range = 23

Mean and median are nearly identical (85.2 vs 85), indicating a roughly symmetric distribution. No mode means every score is unique. Range of 23 shows moderate spread across the class.

📄

Why the Mean Can Be Misleading

Mean vs. Median: Which Center Matters?

The mean and median both describe the "center" of a dataset, but they do so differently. The mean incorporates every data point with equal weight, making it mathematically elegant and useful for symmetric, normally distributed data. The median simply finds the middle value after sorting, making it impervious to extreme values.

This distinction has enormous real-world consequences. U.S. household income, for example, is always reported as the median — not the mean — because the distribution is heavily right-skewed. A small number of very high earners pull the mean far above the income of a typical household. In 2023, the median household income was around $74,000 while the mean was over $100,000. For policy purposes, the median is far more informative.

House Prices and Real Estate

The same pattern appears in real estate. A single luxury sale in a neighborhood can inflate the mean sale price dramatically, making the market look more expensive than it is for most buyers. Real estate professionals almost universally quote median home prices for this reason. The mode — the most common sale price — is less used in this context but can be useful for identifying which price point has the most market activity.

When Mode Matters Most

Mode is essential for categorical data — "what color do customers choose most?" or "what shoe size should we stock most of?" — where a numerical average is meaningless. For numerical data, mode becomes interesting when a distribution is multimodal. A bimodal dataset (two clear peaks) often signals two distinct subgroups: for example, a survey of ages at a university event might show peaks at 20 (students) and 50 (faculty). Spotting multimodality in a histogram is often more informative than any single summary statistic.

The Outlier Problem

Outliers — values far from the bulk of the data — distort the mean but not the median. They also inflate the range (max − min) but barely affect the IQR. When outliers are genuine data points (not errors), the right response is to report both mean and median, note the outliers explicitly, and consider whether the outliers represent a separate phenomenon worth investigating on its own.

Frequently Asked Questions

What is the difference between mean, median, and mode?+

The mean is the arithmetic average — add all values and divide by the count. The median is the middle value when data is sorted in order. The mode is the value that appears most frequently. Each captures a different aspect of the "center" of the data.

When should I use the median instead of the mean?+

Use the median when data is skewed or contains outliers. Income, house prices, and response times are classic examples where a few extreme values distort the mean. If the mean and median in this calculator differ significantly, the median is usually a better measure of the typical value.

What does it mean if there is no mode?+

If every value in the dataset appears exactly once, there is no mode. This is common with continuous measurements (heights, weights, temperatures) where values are rarely repeated. This calculator displays "None" in that case.

Can a dataset have more than one mode?+

Yes. A dataset with two modes is bimodal; one with three or more is multimodal. Bimodal data often signals two distinct subgroups — for example, a survey combining two age groups or two product lines. This calculator lists all modes when multiple values share the highest frequency.

How do outliers affect mean, median, and mode?+

Outliers strongly affect the mean because every value is included in the calculation. The median is barely affected — one extreme value doesn't change which value is in the middle. The mode is unaffected unless the outlier happens to repeat. This is why the median is called a "robust" statistic.

What does right-skewed vs. left-skewed mean?+

A right-skewed (positively skewed) distribution has a long tail on the right — most values cluster at the low end, with a few high outliers. The mean will be greater than the median. A left-skewed distribution is the mirror image, with the mean less than the median. Income distributions are typically right-skewed.