Statistics Calculator: Mean, Median, SD
This statistics calculator gives the mean, median, mode, range, standard deviation, variance and quartiles for a data set in one step. Paste your numbers to see the summary statistics, a quick online option when you do not have a TI-84 or another graphing calculator at hand.
Statistics Calculator
-
-
-
-
This statistics calculator gives a full descriptive summary of a data set in one step: count, mean, median, mode, range, sample variance, standard deviation, quartiles and the interquartile range. A chart shows the five-number summary.
How to use the Statistics Calculator
- Type or paste your data in Data set, separated by commas, spaces, semicolons or new lines.
- Press Calculate Statistics.
- Read n / Mean / Median, Mode / Range, Variance (sample) / SD and Q1 / Q2 / Q3 / IQR, each to four decimals.
- Use the five-number summary chart (min, Q1, median, Q3, max) to see the spread and skew of your data.
Formula
Quartile q: value at position (n − 1) × q in the sorted list, interpolating between neighbors
IQR = Q3 − Q1
Variance and SD use the sample formula (n − 1). Quartiles use linear interpolation, the same method as Excel's QUARTILE.INC, so other textbook methods may give slightly different Q1 and Q3.
Example
Data: 2, 4, 4, 4, 5, 5, 7, 9 (n = 8). Mean = 40 ÷ 8 = 5; median = (4 + 5) ÷ 2 = 4.5; mode = 4; range = 7. Sample variance = 32 ÷ 7 ≈ 4.5714 and SD ≈ 2.1381. Q1 = 4 and Q3 = 5.5, so the IQR is 1.5.
Frequently asked questions
What is the interquartile range used for?
The IQR measures the spread of the middle 50% of the data and ignores extreme values. A common rule flags points more than 1.5 × IQR below Q1 or above Q3 as possible outliers.
Why does the calculator use n − 1 for variance?
Dividing by n − 1 corrects for the fact that a sample tends to underestimate the spread of its population. If your data is the entire population, divide the sum of squares by n instead.
Why are my quartiles different from my textbook?
There are several accepted ways to compute quartiles. This tool interpolates at position (n − 1) × q, like Excel's QUARTILE.INC. Methods that split the data into halves can give slightly different values.
What is a five-number summary?
The minimum, first quartile, median, third quartile and maximum. Together they show the center, spread and range of the data, and they are the values a box plot is drawn from.
For population SD as well as sample SD, use the Sample & Population SD Calculator.
Descriptive statistics in one step
How to use it
- Paste your data, separated by commas, spaces or new lines.
- Pick sample or population if the tool asks.
- Read the mean, median, standard deviation and quartiles.
- Use the five-number summary to sketch a box plot.
More questions
What is the difference between sample and population standard deviation?
Sample SD divides by n − 1 and population SD divides by n. Use sample when your data is part of a larger group.
What does standard deviation tell me?
How spread out the values are from the mean. A bigger number means more spread.
What is the median?
The middle value after sorting. With an even count, it is the average of the two middle values.
Related tools: Standard Deviation Calculator, Mean Median Mode Range Calculator, Percentile Calculator.
Summary stats for ten commute times
Paste your numbers, separated by commas, spaces or new lines, and read the count, mean, median, mode, range, variance, standard deviation and quartiles together. For the chance of single and multiple events, use the Probability Calculator.
Worked example: ten commute times in minutes are 12, 15, 11, 18, 20, 15, 14, 16, 19, 15. The mean is 15.5, the median and mode are both 15, the range is 9, the sample SD is 2.8771 and the IQR is 3.25 (Q1 = 14.25, Q3 = 17.5).
More answers
How do I check for outliers using the IQR?
Multiply the IQR by 1.5 and subtract it from Q1 and add it to Q3. Here 1.5 × 3.25 = 4.875, so the fences are 9.375 and 22.375, and no commute time falls outside them.
Why is the mean higher than the median here?
A few longer commutes, 18, 19 and 20 minutes, pull the mean up to 15.5 while the median stays at 15. A mean above the median often points to a slight right skew.