Last updated:
Mean Median Mode Calculator
Compute mean, median, mode, range, variance, and standard deviation from comma-separated data sets.
Mean Median Mode Calculator
Free online mean, median, mode calculator — compute descriptive statistics instantly with AI-powered insights.
Enter values above to see results.
About This Calculator
Related Articles
📚 In-Depth Guide
This calculator is part of a comprehensive guide
Statistics & Data Analysis Guide 2026: Standard Deviation, Probability, Hypothesis Testing & More
Full GuideComprehensive 2026 statistics guide covering mean/median/mode, standard deviation, variance, normal distribution, z-scores, p-values, confidence intervals, correlation, regression, hypothesis testing, Bayes’ theorem, chi-square test, and data visualization — with free statistics calculators for students, researchers, and data professionals.
The 2026 Complete Percentage Guide: Every Formula, Trick & Real-World Application — From Basic to Advanced
Master every percentage calculation in 2026: the 4 core formulas, percentage increase/decrease, reverse percentage, CAGR, markup vs. margin, tip/tax/discount math, GPA percentages, statistics (percentile, z-score), and compounding — with 15 long-tail keyword examples and a free percentage calculator.
Geometry Guide: Area, Volume & Surface Area Formulas for Every Shape (2026)
Complete 2026 geometry reference covering 2D area formulas, 3D volume and surface area calculations, triangles, circles, coordinate geometry, and composite shapes. Includes free area calculator, volume calculator, surface area calculator, and right triangle solver. NIST-aligned, with 25+ shapes, 40+ formulas, and real-world applications for flooring, landscaping, construction, and engineering.
📈 Mean, Median & Mode — Complete Guide
Measures of Central Tendency
| Measure | Formula | Best Used When | Weakness |
|---|---|---|---|
| Mean (x̄) | Σx / n | Symmetric, no outliers | Pulled by extreme values |
| Median | Middle value (sorted) | Skewed data, outliers present | Ignores magnitude of values |
| Mode | Most frequent value | Categorical data, bimodal distributions | May not exist or may be multiple |
| Geometric Mean | (x₁×x₂×...×xₙ)^(1/n) | Percentages, ratios, growth rates | Undefined for zero/negative values |
| Harmonic Mean | n / Σ(1/xᵢ) | Rates (speed, price/earnings) | Distorted by small values |
Frequently Asked Questions
When should I use median instead of mean?›
Use median when data is skewed or contains outliers. Income data is a classic example: a few billionaires dramatically pull up the mean but leave the median unchanged. The median better represents "typical" income.
What if there is no mode?›
If all values appear once, there is no mode. If two values tie for most frequent, the dataset is bimodal. Three or more modes = multimodal. Some distributions (uniform) have no meaningful mode.
How do I find the median of an even dataset?›
Sort the data, then average the two middle values. E.g., [2, 5, 7, 9]: median = (5+7)/2 = 6. The median is not always an actual data point.
What is the relationship between mean, median, and skewness?›
In a right-skewed (positive skew) distribution: mean > median > mode. In left-skewed (negative skew): mean < median < mode. In a symmetric distribution: mean = median = mode.
What does range tell you about data?›
Range = maximum − minimum. It's a simple spread measure but extremely sensitive to outliers. A dataset of [1, 2, 3, 4, 100] has range 99, making most values look closely clustered when they're actually not.
What is a weighted mean?›
A weighted mean assigns different importance to different values: x̄ₓ = Σ(wᵢ × xᵢ) / Σwᵢ. Used in GPA calculation (each course has a different credit-hour weight) and portfolio returns.
Related Calculators
Explore All Math Calculators
Reviewed by CalculatorApp.me Math Team
Mean, Median & Mode Calculator — Complete Guide
Measures of central tendency — when to use each, outlier effects, and real-world interpretation.
x̄
Arithmetic Mean
M
Median (middle)
Mo
Mode (most frequent)
x̃
Trimmed Mean
What Is Central Tendency?
Central tendency identifies the center or typical value of a dataset. The three primary measures are mean (arithmetic average), median (middle value), and mode (most frequent value). Each captures a different aspect of "center."
The mean (x̄ = Σxᵢ/n) uses every data point and is the most common average, but is sensitive to outliers. The median is the middle value when data is sorted — it resists outliers and is preferred for skewed distributions like income or house prices. The mode is the only measure applicable to categorical data (e.g., most popular color).
For symmetric distributions (like normal), mean ≈ median ≈ mode. For skewed data, they diverge: in a right-skewed distribution (like income), mean > median > mode. Understanding which measure to use — and why — is fundamental to data literacy.
Formulas & Computation Methods
Sample Mean:
x̄ = (x₁ + x₂ + ... + xₙ) / n
x̄ = Σxᵢ / n
Population Mean:
μ = Σxᵢ / N
Example: {3, 7, 7, 19, 24}
x̄ = (3+7+7+19+24)/5
x̄ = 60/5 = 12
Weighted Mean:
x̄ᵤ = Σ(wᵢ × xᵢ) / Σwᵢ
GPA example:
A(4)×3cr + B(3)×4cr + A(4)×3cr
= (12+12+12)/10 = 3.6 GPA
Geometric Mean (growth rates):
GM = (x₁ × x₂ × ... × xₙ)^(1/n)
Returns: +10%, −5%, +20%
GM = (1.1×0.95×1.2)^(1/3) = 1.0772
→ 7.72% avg annual returnThe arithmetic mean is the 'balance point' of a dataset. It uses ALL values, which makes it sensitive to outliers. The geometric mean is better for percentages and growth rates.
Finding the Median:
1. Sort data ascending
2. If n is odd: median = middle value
position = (n+1)/2
3. If n is even: median = average of
two middle values
positions = n/2 and n/2+1
Example (odd n=5): {3, 7, 7, 19, 24}
Sorted: 3, 7, [7], 19, 24
Position: (5+1)/2 = 3rd value
Median = 7
Example (even n=6): {3, 7, 7, 19, 24, 30}
Sorted: 3, 7, [7, 19], 24, 30
Positions: 3rd and 4th
Median = (7+19)/2 = 13
With outlier: {3, 7, 7, 19, 24, 1000}
Mean = 176.7 (skewed by 1000!)
Median = 13 (barely changed)
→ Median is ROBUST to outliersThe median is the 50th percentile — exactly half the data falls below it. It's preferred for skewed data (income, house prices, reaction times) because outliers can't distort it.
Finding the Mode:
Count frequency of each value
Mode = value(s) with highest frequency
Unimodal: {1, 2, 2, 3, 4}
Mode = 2 (appears twice)
Bimodal: {1, 2, 2, 3, 3, 4}
Modes = 2 and 3 (both appear twice)
Multimodal: {1,1, 2,2, 3,3}
Three modes: 1, 2, 3
No mode: {1, 2, 3, 4, 5}
All values appear once
(some say 'no mode')
Categorical data (mode only option):
Colors: {red, blue, blue, green, red,
blue, green}
Mode = blue (3 occurrences)
Mean/median don't apply here
For grouped/continuous data:
Modal class = class with highest freq
Mode ≈ L + [(f₁−f₀)/(2f₁−f₀−f₂)] × hMode is the only central tendency measure for categorical (nominal) data. It's also used in fashion ('à la mode' = in style), reflecting 'what's most common.'
Trimmed Mean (robust): Remove top/bottom k% of data Calculate mean of remaining Olympic scoring: drop highest and lowest judge (trimmed mean) Harmonic Mean (rates): HM = n / Σ(1/xᵢ) Average speed: 60mph out, 40mph back HM = 2/(1/60 + 1/40) = 48 mph NOT simple mean of 50 mph! Geometric Mean (growth): GM = (∏xᵢ)^(1/n) Investment returns, population growth Always ≤ Arithmetic Mean Midrange: (max + min) / 2 Quick but not robust Relationship (for positive data): Harmonic ≤ Geometric ≤ Arithmetic Equal only when all values equal Called the AM-GM-HM inequality
Different averages suit different data types. Harmonic mean for rates, geometric mean for growth/compounding, trimmed mean for outlier-resistant averaging. Know which one to use for your context.
When to Use Each Measure
| Situation | Best Measure | Why | Example |
|---|---|---|---|
| Symmetric data, no outliers | Mean | Uses all values, most efficient | Test scores (bell curve) |
| Skewed data or outliers | Median | Not affected by extremes | Household income, home prices |
| Categorical data | Mode | Only option for non-numeric | Most popular product, favorite color |
| Growth rates / returns | Geometric Mean | Handles compounding correctly | Investment returns, GDP growth |
| Speed / rate averages | Harmonic Mean | Correct for rates | Average driving speed |
| Outlier-prone continuous | Trimmed Mean | Removes extreme values | Olympic judging, salary data |
| Highly discrete data | Mode | Shows most common | Shoe sizes, class sizes |
| Small sample, unknown dist. | Median | Robust with few data points | Pilot study results |
Skewness & Central Tendency Relationship
| Distribution Shape | Relationship | Real-World Example | Best Measure |
|---|---|---|---|
| Symmetric (normal) | Mean ≈ Median ≈ Mode | Heights, IQ scores, blood pressure | Mean (most efficient) |
| Right-skewed (positive) | Mean > Median > Mode | Income, wealth, house prices, city sizes | Median (resists high outliers) |
| Left-skewed (negative) | Mean < Median < Mode | Age at retirement, exam scores (easy test) | Median (resists low outliers) |
| Bimodal | Mean between peaks | Mixed populations (male+female heights) | Both modes (report bimodality) |
| Uniform | Mean = Median, no mode | Random number generator, die rolls | Mean or median (equivalent) |
History of Averages
Ancient Averaging — Babylonian Astronomy
Babylonian astronomers averaged multiple observations of celestial positions to reduce measurement error. This implicit use of the arithmetic mean predates formal mathematical definition by millennia. Egyptian and Chinese astronomers used similar practices.
Thomas Simpson — Mean as Error Reduction
Thomas Simpson demonstrated mathematically that the arithmetic mean of multiple measurements is more accurate than any single measurement. His 1755 paper in Philosophical Transactions proved averaging reduces random error — a cornerstone of experimental science.
Laplace — Median as Minimizing Absolute Error
Pierre-Simon Laplace showed that the median minimizes the sum of absolute deviations (Σ|xᵢ − m|), while the mean minimizes the sum of squared deviations (Σ(xᵢ − x̄)²). This gave each measure a distinct mathematical justification.
Karl Pearson — Mode & Skewness Definition
Karl Pearson formalized the mode as a central tendency measure and defined Pearson's skewness coefficient: Sk = 3(Mean − Median)/SD. He established the relationship between mean, median, and mode in skewed distributions that statisticians use today.
Rise of Robust Statistics
As datasets grew, statisticians discovered that the mean is highly sensitive to outliers and contaminated data. This led to development of robust estimators: trimmed means, Winsorized means, and eventually the whole field of robust statistics (Tukey, Huber).
Big Data & Choosing the Right Average
With big data, the choice of central tendency measure has massive real-world impact. Reporting mean vs. median income changes policy decisions. Amazon response times use percentiles (p50, p95, p99). Data literacy — knowing which average to use — became essential.
Key Research & Data
Pearson (1895) — Phil. Trans. Royal Society
Skewness and Mode Relationships
Karl Pearson established that for moderately skewed unimodal distributions: Mean − Mode ≈ 3(Mean − Median). This Pearson's rule of thumb lets you estimate the mode from the mean and median, and remains widely taught.
Tukey (1977) — Exploratory Data Analysis
EDA & Robust Central Measures
John Tukey introduced the five-number summary (min, Q1, median, Q3, max) and box plots, emphasizing the median over the mean for exploratory analysis. His work launched modern robust statistics and changed how scientists examine data.
Anscombe (1973) — American Statistician
Anscombe's Quartet: Same Mean, Wildly Different Data
Four datasets with identical means (7.50), standard deviations (4.12), and correlations (0.816) but completely different distributions. This demonstrated that summary statistics alone are dangerously misleading — always visualize your data.
U.S. Census Bureau — Income Data
Mean vs. Median Income (Real-World Impact)
U.S. mean household income (~$105K) is ~40% higher than median (~$75K), demonstrating severe right skew. A small number of very high earners pulls the mean up dramatically. Using mean income overstates typical household purchasing power.
Myths vs. Facts
The mean is always the best measure of central tendency.
The mean is optimal ONLY for symmetric data without outliers. For skewed data (income, house prices), the median is more representative. For categorical data (favorite color), only the mode applies. No single measure is universally best.
'Average' always means the arithmetic mean.
'Average' is ambiguous. It can refer to mean, median, or mode — all are types of averages. News headlines often exploit this: 'average income' (mean) sounds higher than 'typical income' (median). Always ask which average is being reported.
The median is just the middle number — it's less informative than the mean.
The median is a robust estimator that resists outliers and works for ordinal data. It minimizes sum of absolute deviations (vs. squared for mean). For skewed data, the median better represents the 'typical' value. It's not less informative — it's differently informative.
Every dataset has exactly one mode.
A dataset can have no mode (all values unique), one mode (unimodal), two modes (bimodal), or many modes (multimodal). Bimodal distributions often indicate two overlapping populations. The number of modes is itself informative about data structure.
Frequently Asked Questions
What is the difference between mean, median, and mode?▼
When should I use the median instead of the mean?▼
Can a dataset have more than one mode?▼
What is the weighted mean and when do I use it?▼
How do outliers affect mean vs. median?▼
What is the geometric mean and when should I use it?▼
What is the harmonic mean used for?▼
How do you find the median for grouped data?▼
What is Pearson's relationship between mean, median, and mode?▼
What is a trimmed mean?▼
How does sample size affect the choice of measure?▼
What is the interquartile mean?▼
References
- Pearson — Contributions to the Mathematical Theory of Evolution (1895)
- Tukey — Exploratory Data Analysis (1977)
- Anscombe — Graphs in Statistical Analysis (1973)
- U.S. Census Bureau — Income & Poverty Data
- Weisberg — Applied Linear Regression (Wiley)
- NIST — Engineering Statistics Handbook: Measures of Central Tendency
Related Calculators
Explore All Math Calculators
Precision math tools for students, data analysts, and professionals — CalculatorApp.me.
Browse Math Calculators →