Descriptive Stats
Compute key descriptive statistics for any dataset: mean, median, mode, range, variance, standard deviation, quartiles, and IQR.
Enter your dataset numbers separated by commas, spaces, semicolons, or line breaks
Sample is the usual choice; use Population only if your data is the entire group.
Results
Mean (Average)
4
- Count (n) / Sum
- 7 / 28
- Median
- 4
- Mode
- No mode (all values appear once)
- Range
- 6
- Variance (s²) / Std Dev (s)
- 4.666666667 / 2.160246899
- Min / Max
- 1 / 7
- Q1 / Q3 / IQR
- 2 / 6 / 4
The formula
x̄ = ∑x / n, Median = middle value (sorted), s² = ∑(x − x̄)² / (n − 1) (population: σ² = ∑(x − x̄)² / n)
- n
- Sample Size
- x̄
- Sample Mean
- s² (σ²)
- Variance
- s (σ)
- Standard Deviation
- Q1, Q3
- First and Third Quartiles
Worked example — Data Set 1, 2, 3, 4, 5, 6, 7
Mean (Average) = 4
How Descriptive Stats Works
x̄ = ∑x / n, Median = middle value (sorted), s² = ∑(x − x̄)² / (n − 1) (population: σ² = ∑(x − x̄)² / n)
Descriptive statistics summarize a dataset using measures of central tendency (mean, median, mode) and measures of dispersion (range, variance, standard deviation, IQR). The mean is the arithmetic average, the median is the middle value when sorted, the mode is the most frequent value, the variance measures the average squared deviation from the mean, the standard deviation is its square root, and quartiles divide the sorted data into four equal parts.
- n
- Sample Size — The total number of observations in the dataset. Also called the count.
- x̄
- Sample Mean — The arithmetic average of all values, calculated by dividing the sum of all values by the count.
- s² (σ²)
- Variance — The sum of the squared differences from the mean divided by n − 1 (sample, s²) or by n (population, σ²). Measures the spread of the data distribution.
- s (σ)
- Standard Deviation — The square root of the variance. Expressed in the same units as the original data for interpretability.
- Q1, Q3
- First and Third Quartiles — Q1 is the median of the lower half of the data (25th percentile), and Q3 is the median of the upper half (75th percentile). Their difference is the IQR.
Understanding the Result
Descriptive statistics form the foundation of data analysis by providing concise summaries of large datasets. The mean (arithmetic average) is the most common measure of central tendency, but it is sensitive to outliers — a single extreme value can pull the mean significantly in one direction. The median provides a robust alternative that is unaffected by outliers, making it the preferred measure for skewed distributions such as income data or housing prices.
The mode is useful for categorical and discrete data, identifying the most common value(s). For dispersion, the range (max − min) gives a quick but crude measure of spread, while the interquartile range (IQR = Q3 − Q1) describes the spread of the middle 50% of the data, making it resistant to outliers. Variance and standard deviation quantify the average distance of data points from the mean: a small standard deviation means values cluster tightly around the mean, while a large one means they are spread out.
In a normal distribution, approximately 68% of data falls within ±1 standard deviation, 95% within ±2, and 99.7% within ±3 (the empirical rule). Quartiles divide the sorted data into four equal parts: Q1 (25th percentile), Q2 / median (50th percentile), and Q3 (75th percentile). The IQR is the standard measure used in box plots and for outlier detection via the 1.5×IQR rule.
How to Use
- Enter your dataset in the text area, separating numbers by commas, spaces, semicolons, or line breaks.
- The calculator automatically computes all major descriptive statistics including mean, median, mode, range, variance, standard deviation, and quartiles.
- Review the highlighted results (mean, median, and standard deviation) for a quick summary of central tendency and spread.
- Use the quartile values (Q1, Q3, IQR) to understand the data distribution and identify potential outliers (values below Q1 − 1.5×IQR or above Q3 + 1.5×IQR).
- Compare the mean and median values — a large difference between them indicates a skewed distribution.
Quick Reference
| Mean > Median | Right-skewed distribution (positive skew) |
| Mean ≈ Median | Approximately symmetric distribution |
| Mean < Median | Left-skewed distribution (negative skew) |
Frequently Asked Questions
- What is the difference between population and sample variance?
- Population variance divides by n (the total number of observations) and is used when you have data for the entire population. Sample variance divides by n − 1 (Bessel's correction) and is used when your data is a sample from a larger population. Choose which one to use with the Data Type menu; Sample (n − 1) is the default because most data sets are samples.
- When should I use the median instead of the mean?
- Use the median when your data is skewed or contains outliers. The median is resistant to extreme values, while the mean is not. For example, median household income is a more meaningful measure than mean household income because a few very wealthy individuals would inflate the mean. For symmetric distributions without outliers, the mean and median should be approximately equal.
- How do I interpret the standard deviation?
- The standard deviation is in the same units as the original data, making it directly interpretable. If the mean test score is 75 and the standard deviation is 10, most scores (about 68%) fall between 65 and 85. A small standard deviation relative to the mean indicates low variability; a large one indicates high variability.
- What does the IQR tell me about my data?
- The interquartile range (IQR) measures the spread of the middle 50% of your data. It is resistant to outliers, unlike the range. The IQR is also used for outlier detection: any data point below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is considered a mild outlier. The IQR is the length of the box in a box plot.
- What if my dataset has multiple modes?
- When multiple values appear with the same highest frequency, the dataset is multimodal. This calculator lists all modes when there are ties. A dataset with two modes is bimodal (common in mixture distributions), while three or more is multimodal. If no value repeats (all frequencies = 1), there is no mode.
Common Uses
- •Summarizing test scores and student performance data in educational assessment
- •Analyzing survey responses and customer satisfaction ratings in market research
- •Monitoring process quality metrics and manufacturing tolerances in quality control
- •Describing patient vital signs and lab results in clinical research and healthcare analytics
- •Evaluating financial returns, portfolio risk, and economic indicators in finance and economics
Cite this calculator
TheCalcUniverse. "Descriptive Statistics Calculator — Mean, Median, IQR." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/descriptive-stats/. Accessed October 25, 2026.
Embed this calculator on your site
You may also like
-
Mathematics
Statistics
Comprehensive descriptive statistics calculator with a dynamic box-and-whisker plot. Computes the five-number summary, quartiles, IQR, standard deviation.
Open calculator → -
Mathematics
Mean Median Mode
Calculate the mean, median, mode, sum, and range from any data set with step-by-step median breakdown for even-numbered datasets.
Open calculator → -
Mathematics
Standard Deviation
Compute standard deviation, variance, mean, median, range, and coefficient of variation from any dataset. Free online calculator with step-by-step results.
Open calculator → -
Mathematics
Z-Score Calculator
Calculate a Z-score from a raw score, mean and standard deviation, shown on a standard normal curve with the shaded probability region.
Open calculator → -
Mathematics
Correlation
Calculate the Pearson correlation coefficient between two variables. Shows r, r², strength, and direction with step-by-step work.
Open calculator →