Statistics · Measures of Center
Mean, Median, Mode
& Range Calculator
Enter any set of numbers and get all four measures of central tendency with full step-by-step solutions, sorted number line, and visual frequency chart.
—
Mean x̄
—
Median
—
Mode
—
Range
Enter Your Data
Separate numbers with commas, spaces, or line breaks. Works with decimals and negatives.
Quick Examples
🔵
Mean (Average)
—
Arithmetic average
🟢
Median (Middle)
—
Middle value when sorted
🟠
Mode (Most Common)
—
Most frequent value
🟣
Range (Spread)
—
Max − Min
📏 Sorted Number Line — Mean, Median & Mode Positions
Mean
Median
Mode
Data point
🔢 Sorted Data — Median 🟢 Mode 🟠 Mean 🔵
📊 Frequency Chart
🎯 When to Use Each Measure
🔵
Mean
Use when: data is symmetric and has no major outliers. Best for: test averages, temperatures, heights, prices in a narrow range. Avoid when: data is skewed or has extreme values (the mean gets pulled toward outliers).
🟢
Median
Use when: data is skewed or has outliers. Best for: income, house prices, age distributions, any data with extremes. The median is robust — a billionaire in a room full of people barely changes the median income but drastically changes the mean.
🟠
Mode
Use when: you want the most common value. Best for: categorical data (most popular color, most common shoe size), survey responses, business inventory decisions. The only measure that works for non-numeric data.
🟣
Range
Use when: you need a quick sense of spread. Best for: temperature swings, test score spans, stock price variation. Limitation: affected by outliers and ignores all values except the two extremes. For better spread, use IQR or standard deviation.
Mean, Median, Mode & Range Explained
These four measures describe where data is centered and how spread out it is. Together they give a quick statistical portrait of any dataset — used in schools, science, business, and everyday data analysis.
Formulas at a Glance
Mean: x̄ = (x₁ + x₂ + ... + xₙ) / n = Σxᵢ / n
Median: Middle value (odd n) or average of two middle values (even n)
Sort the data first, then find the center position(s)
Mode: Value(s) with highest frequency. Can be: none, one, or many.
Range: Max − Min (measures total spread)
Why is the median often better than the mean for income?
Income distributions are right-skewed — most people earn moderate salaries, but a few earn millions or billions. The mean gets pulled toward these high earners, making it much higher than what a "typical" person earns. The median (middle income when everyone is ranked) represents the typical person more accurately. For example, if 9 people earn $40,000 and 1 person earns $1,000,000, the mean is $136,000 — far above most people's experience. The median is $40,000 — closer to reality.
Can a dataset have no mode?
Yes — if all values appear exactly once, there is no mode (every value has the same frequency of 1). A dataset can also have two modes (bimodal) or more (multimodal) if multiple values share the highest frequency. For example, 1, 2, 2, 3, 3, 4 has two modes: 2 and 3 (both appear twice). The mode is the only measure of central tendency that may not exist or may not be unique.
How do you find the median of an even-numbered dataset?
Sort the data, then find the two middle values. The median is their average. For example, for the dataset 3, 5, 7, 9 (n=4): the two middle values are 5 and 7 (positions 2 and 3). Median = (5+7)/2 = 6. Note that 6 doesn't appear in the dataset — the median can be a value not in the original data when n is even.
What is the relationship between mean, median, and skewness?
For a perfectly symmetric distribution, mean = median = mode. For a right-skewed distribution (long right tail), mean > median > mode — the mean is pulled right by high outliers. For a left-skewed distribution (long left tail), mean < median < mode — the mean is pulled left by low outliers. This relationship is the reason statisticians always compare mean and median when describing a dataset: if they're very different, the data is probably skewed.