Skip to content
TheCalcUniverse

Descriptive Statistics Calculator — Mean, Median, Mode, IQR & More

Compute key descriptive statistics for any dataset: mean, median, mode, range, variance, standard deviation, quartiles, and IQR.

✓ Tested formula & cited sources Formula verified 2026-01-15 Runs in your browser — inputs never sent anywhere

See it worked out

Example — Data Set 1, 2, 3, 4, 5, 6, 7:

Count (n) / Sum

7 / 28

Mean (Average)

4

Median

4

Mode

No mode (all values appear once)

Range

6

Variance (σ²) / Std Dev (σ)

4 / 2

Min / Max

1 / 7

Q1 / Q3 / IQR

2 / 6 / 4

The formula

x̄ = ∑x / n, Median = middle value (sorted), σ² = ∑(x − x̄)² / n

n
Sample Size
Sample Mean
σ²
Variance
σ
Standard Deviation
Q1, Q3
First and Third Quartiles

Worked example — Data Set 1, 2, 3, 4, 5, 6, 7

Mean (Average) = 4

Full explanation ↓

How Descriptive Stats Works

x̄ = ∑x / n, Median = middle value (sorted), σ² = ∑(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 SizeThe total number of observations in the dataset. Also called the count.
Sample MeanThe arithmetic average of all values, calculated by dividing the sum of all values by the count.
σ²
VarianceThe average of the squared differences from the mean. Measures the spread of the data distribution.
σ
Standard DeviationThe square root of the variance. Expressed in the same units as the original data for interpretability.
Q1, Q3
First and Third QuartilesQ1 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.
Box plot visualization of the five-number summary with formulas for key descriptive statistics

How to Use

  1. Enter your dataset in the text area, separating numbers by commas, spaces, semicolons, or line breaks.
  2. The calculator automatically computes all major descriptive statistics including mean, median, mode, range, variance, standard deviation, and quartiles.
  3. Review the highlighted results (mean, median, and standard deviation) for a quick summary of central tendency and spread.
  4. 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).
  5. Compare the mean and median values — a large difference between them indicates a skewed distribution.

Quick Reference

Mean > MedianRight-skewed distribution (positive skew)
Mean ≈ MedianApproximately symmetric distribution
Mean < MedianLeft-skewed distribution (negative skew)

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

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.

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. This calculator computes population variance, as specified for the task.
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.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "Descriptive Statistics Calculator — Mean, Median, Mode, IQR & More." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/descriptive-stats/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like