Get every measure of central tendency and spread from any dataset — mean, median, mode, range, Q1, Q3, IQR, geometric and harmonic mean — instantly.
Paste numbers separated by commas, spaces, or new lines.
Mean (arithmetic average)
Median
7
middle value
Mode
7
appears 3×
Range
11
2 → 13
Sum
65
across 10 values
Geometric mean
5.62
nth root of product
Harmonic mean
4.66
n ÷ Σ(1/x)
Q1 / Q3
3.75 · 8.25
25th / 75th pct
IQR
4.5
Q3 − Q1
| Statistic | What it measures | Best for |
|---|---|---|
| Mean | Arithmetic average | Symmetric data |
| Median | Middle value | Skewed data, outliers |
| Mode | Most frequent value | Categorical, discrete |
| Range | Max − Min | Quick spread check |
| IQR | Q3 − Q1 | Robust spread |
| Geometric mean | nth root of product | Rates, ratios |
The Formulas
Mean, median, and mode are the three classical measures of central tendency — each capturing a different sense of "typical" value. Range and IQR measure spread. The geometric and harmonic means are specialised averages for ratios and rates respectively. All of these are computed from the dataset you provide, in one pass for the mean / sum / range / mode and a sort-based pass for median and quartiles.
Formulas
About This Tool
This is a free statistics calculator that returns every standard summary statistic from a single dataset in one click. Paste in any numbers — separated by commas, spaces, or new lines — and the calculator computes the mean (arithmetic average), median (middle value), mode (most frequent value), range (max − min), quartiles (Q1, Q3), the interquartile range (IQR), plus the geometric and harmonic means and the sum.
These are the foundation of descriptive statistics: they reduce a list of numbers to a small set of values that describe its centre and spread. The arithmetic mean is the everyday average, but it is sensitive to outliers — a single extreme value drags it noticeably. The median is robust to outliers because it just picks the middle value. The mode is the only summary that works for purely categorical data ("most common"), and the geometric mean is the correct average for rates, ratios, and compounding growth.
The histogram visualises the shape of your distribution at a glance — symmetric, skewed, or multimodal — and the bin that contains the mean is highlighted in green. The quartiles and IQR follow the same conventions as the standard linear-interpolation method (the default in R's quantile() type 6 and many textbooks). All computation runs entirely in your browser using IEEE 754 double-precision arithmetic.
Use this free statistics calculator for school and university statistics homework, exam revision, exploratory data analysis, or as a sanity check before plugging numbers into Excel, R, or Python. No sign-up, no tracking, no data sent to any server.
Every Summary Stat
Mean, median, mode, range, quartiles, IQR, geometric and harmonic means.
Live Histogram
Frequency distribution chart updates instantly, with the mean's bin highlighted.
Flexible Input
Paste numbers separated by commas, spaces, tabs, or new lines — all parsed.
Multiple Modes
If multiple values tie for highest frequency, all modes are returned.
100% Free & Private
No account, no tracking — every calculation runs locally in your browser.
Sample Presets
Load grades / incomes / default examples with one click to explore behaviour.
Paste your data, read the summary — that's it.
Type or paste any list of numbers into the data box. Separate them with commas, spaces, tabs, or new lines — the parser accepts any combination.
The mean headlines the summary card; the median, mode, range, and sum appear in the first stat row, with quartiles and IQR in the second.
The histogram shows the shape of your data. A symmetric bell suggests the mean is a good summary; a skewed shape means the median is usually more meaningful.
The Sorted row shows your data in ascending order — useful for quick visual inspection and for cross-checking by hand.
Geometric and harmonic means appear in the second stat row. Use the geometric mean for growth rates / ratios; the harmonic mean for averaged rates such as miles-per-hour over equal distances.
Use the Copy button to copy a clean summary to your clipboard, or Share to send the link to a friend or paste into a chat / report.
Everything you need to know about mean, median, mode, quartiles, and how to interpret your results.
All three measure central tendency but answer slightly different questions. The mean is the arithmetic average — sum divided by count. The median is the middle value of the sorted dataset. The mode is the most frequently occurring value. For perfectly symmetric data they coincide; for skewed data they spread apart, and the difference between them is often the most informative thing about the distribution.
Use the median whenever your data contains outliers or is heavily skewed. The classic examples are income (one billionaire skews the mean massively but barely moves the median), house prices, response times, and delay distributions. The mean is pulled toward extreme values; the median always sits at the 50th percentile and is unaffected. For symmetric, well-behaved data (heights, exam scores, measurement noise) the mean is fine and slightly more efficient.
Range is simply max − min — the full extent of the data. IQR (interquartile range) is Q3 − Q1, the spread of the middle 50%. IQR is robust to outliers (it only sees the middle of the distribution), while range is extremely sensitive — a single extreme value can dominate it. Box plots use the IQR; range is most useful for a quick rough sense of "how spread out are these numbers?"
Yes. If two or more values share the highest frequency the dataset is called bimodal, trimodal, or multimodal. If every value occurs exactly once there is no mode (no value is more frequent than any other). This calculator returns all modes when there is a tie, and reports "None" when the data has no repeated values.
The geometric mean is the nth root of the product of n values: (x₁ × x₂ × … × xₙ)^(1/n). It is the correct average for ratios, growth rates, and any multiplicative data — compound interest returns, population growth, performance ratios. For positive data the geometric mean is always less than or equal to the arithmetic mean (this is the AM-GM inequality), and equal only when all values are identical.
The harmonic mean is n ÷ Σ(1/xᵢ) — the reciprocal of the arithmetic mean of reciprocals. It is the correct average for rates over equal distances: average speed over multiple legs of a journey, average price-per-share when buying equal-dollar amounts of stock, etc. It is always less than or equal to both the arithmetic and geometric means and is pulled toward the smallest values.
Sort the data, then Q1 is the value at position (n+1) × 0.25, Q2 is the median, and Q3 is at (n+1) × 0.75 — interpolating between two ranks if the position falls between them. Different software packages use slightly different methods (R has nine!); this calculator uses the linear-interpolation method (R type 6, the most common textbook convention). Differences across methods are usually small (under 5% of IQR) for n > 20.
IQR (Interquartile Range) is Q3 − Q1 — the spread of the middle 50% of the data. It is the standard robust measure of spread and the basis of the 1.5 × IQR rule for identifying outliers (any point below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is flagged). IQR is what box plots visualise (the box itself spans Q1 to Q3, with the median as a line inside).
Any combination of commas, spaces, tabs, or new lines works. So 1, 2, 3, 4, 1 2 3 4, and one number per line all parse correctly. You can paste directly from Excel or Google Sheets (which produces tab-separated values). Non-numeric tokens are ignored. Negative numbers and decimals are supported.
A distribution is skewed when one tail is longer than the other. Right-skewed (positive skew): long tail to the right, mean > median (income, house prices). Left-skewed (negative skew): long tail to the left, mean < median (exam scores when most students do well, age at death). The relationship mean > median or mean < median is a quick visual diagnostic for skew. For heavily skewed data, prefer median + IQR over mean + standard deviation.
Not directly — this calculator expects a flat list of raw values. For grouped frequency data, expand each group out (e.g. "5 appears 3 times" → enter 5, 5, 5). For weighted means with arbitrary weights, use a dedicated weighted-mean calculator or compute Σ(wᵢ × xᵢ) ÷ Σwᵢ by hand. The "Weighted Mean" row in older versions of this tool was identical to the arithmetic mean since all weights were equal — we removed it to avoid confusion.
All calculations use IEEE 754 double-precision arithmetic, accurate to about 15 decimal digits. For school, university, and professional data analysis this is far more precision than your input data warrants. Geometric mean computation handles the product overflow risk by transforming into log-space internally for large datasets. Median, mode, and quartiles are exact (no floating-point rounding).