How to use this calculator
Paste a list of numbers from a spreadsheet or enter values separated by commas, semicolons, spaces or new lines. This descriptive statistics calculator summarizes the data without uploading or storing it. It reports both sample and population measures, so the denominator used for variance and standard deviation is clear.
What the statistics summary tells you
The calculator separates a data set into three useful views: a quick summary of its typical values, measures of how spread out the observations are, and quartiles that describe the middle half of the sorted data. It keeps every valid observation in the calculation, including repeated values and potential outliers.
Mean, median and mode
The mean is the sum divided by the number of observations. The median is the middle value after sorting; with an even number of observations it is the average of the two middle values. The mode is the most frequent value. A data set can have more than one mode, and a data set in which every value occurs once has no mode.
Sample or population?
Use population variance and standard deviation when your data includes the entire group you want to describe. Use sample measures when your observations are a sample of a larger group. Population variance divides the squared deviations by n. Sample variance divides by n − 1, which applies the usual Bessel correction. The corresponding standard deviation is the square root of the variance. With only one observation, sample variance and sample standard deviation are not defined.
Quartiles, IQR and potential outliers
Q1 and Q3 mark the 25th and 75th percentiles. This calculator uses Hyndman–Fan Type 7 linear interpolation, which is also the default quantile method in R. The interquartile range is Q3 − Q1. The lower and upper inner fences are Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. Values outside these fences are potential outliers: review them in context, but do not assume they are errors.
Paste data from a spreadsheet
Copy one or more columns and paste them into the input area. Commas, semicolons, spaces, tabs and line breaks separate values. Empty cells are skipped and disclosed. If an entry contains a heading, currency symbol or unsupported text, the calculator reports it and stops rather than silently calculating from only part of the list. Use a decimal point for fractional values.
Statistics calculator FAQs
What is the difference between sample and population standard deviation?
Population standard deviation describes all observations in the population and divides squared deviations by n. Sample standard deviation estimates spread in a larger population from a sample and divides by n − 1 before taking the square root.
Why is sample variance divided by n − 1?
The n − 1 denominator is Bessel's correction. It compensates for estimating the population mean from the sample and is the conventional unbiased estimator of population variance under the usual sampling assumptions.
What happens when a data set has more than one mode?
Every value tied for the highest frequency is reported. When every value occurs once, the data set has no mode.
How does the calculator find Q1 and Q3?
It sorts the observations and uses Type 7 linear interpolation at the 25th and 75th percentiles. The interpolation method matters because other quartile conventions can return different values for small data sets.
Does a potential outlier mean the value is wrong?
No. The 1.5 × IQR fences flag observations that are unusually far from the middle half of the data. Investigate the source and context; the calculator does not remove or change any value.
Can I paste numbers from Excel or Google Sheets?
Yes. Copy the cells and paste them into the data area. Tabs and line breaks separate values, and blank cells are skipped. Remove thousands separators and use a decimal point.
For related number work, try the fraction calculator or the ratio and proportion calculator.
The formula
Worked examples
Mean and median: 2, 4, 4, 4, 5, 5, 7, 9
The sum is 40 across 8 values, so the mean is 5. The two middle values are 4 and 5, so the median is 4.5.
Sample and population spread
For 2, 4, 4, 4, 5, 5, 7, 9, population variance is 4 and population standard deviation is 2. Sample variance is 4.571429 and sample standard deviation is 2.138090.
Multiple modes: 1, 1, 2, 2, 3
Both 1 and 2 occur twice, so the data set has two modes.
Quartiles and a potential outlier
For 2, 4, 4, 4, 5, 5, 7, 9, Type 7 gives Q1 = 4 and Q3 = 5.5. The upper 1.5 × IQR fence is 7.75, so 9 is flagged for review.
Special cases & input limits
Enter between 1 and 10,000 values. Each value can contain up to 30 significant digits, with a nonzero magnitude from 1e-20 to 1e30. Use a decimal point, not a decimal comma; commas separate values. A single observation has population variance 0, while sample variance and sample standard deviation are not defined. Quartiles use Type 7 interpolation. Potential outliers are flagged using the 1.5 × IQR fences but are never removed from the data.
Inputs support a decimal point and scientific notation, up to 30 significant digits and a magnitude of 10⁻²⁰ to 10³⁰, or zero. Select 0–12 display decimal places. Very small or large answers use scientific notation so a nonzero result is not displayed as zero.
A common mistake
Do not confuse sample and population standard deviation. The population formula divides squared deviations by n; the sample formula divides by n − 1. Choose the one that matches the data you are describing.
Content updated · Calculation methodology