# Descriptive Statistics & Outlier Detector

Calculate variance, standard deviation, quartiles, IQR, and detect statistical outliers with box plots using this free tool.

---

- **Canonical URL:** https://dothecalculation.com/calculators/descriptive-statistics-calculator
- **Category:** Math calculators
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Cost:** Free, no account or sign-up required
- **Privacy:** Runs entirely in the browser; inputs are never sent to a server
- **Methodology:** https://dothecalculation.com/methodology

---

## Descriptive Statistics & Outlier Detector

Compute sample and population variance, quartiles, median, range, and locate outliers using the Interquartile Range (IQR) rule.

- Mean, median, range & standard deviation
- Five-number summary (Quartiles)
- Outlier analysis (1.5 × IQR rule)

## Introduction to Descriptive Statistics and Summaries

Descriptive statistics consist of coefficients that summarize a given dataset, which can be either a representation of the entire population or a sample of a population. They are broken down into measures of central tendency (which describe the center of the data) and measures of variability (which describe the spread of the data). Descriptive statistics are the first step in data analysis, providing an overview of data before performing complex inferential hypothesis tests.

Central tendency metrics include the mean (the arithmetic average), the median (the middle value when data is sorted), and the mode (the most frequent value). Measures of variability include the range (difference between maximum and minimum), variance, and standard deviation (which measure how far numbers are spread out from the mean).

This calculator evaluates descriptive statistics for any comma-separated list of numbers. It computes the mean and median, sample and population variance and standard deviation, the five-number summary, the Interquartile Range (IQR), and automatically identifies any statistical outliers using the standard IQR rule. (Mode is not computed here — for datasets where the most frequent value matters, tally repeated entries manually alongside these results.)

## How to Use This Calculator

Enter your dataset as a comma-separated list of numbers. The calculator sorts the data and returns the mean, median, five-number summary (min, Q1, median, Q3, max), sample and population variance/standard deviation, the IQR, and any outliers flagged by the 1.5×IQR rule, alongside a box plot.

## Worked Example: 12, 15, 14, 18, 22, 45, 13, 16, 17, 21

Sorted: 12, 13, 14, 15, 16, 17, 18, 21, 22, 45 (\(N = 10\)).

$$\bar{x} = \frac{193}{10} = 19.3, \qquad \text{Median} = \frac{16 + 17}{2} = 16.5$$

$$Q_1 = 14, \quad Q_3 = 21, \quad \text{IQR} = 21 - 14 = 7$$

$$\text{Lower fence} = 14 - 1.5(7) = 3.5, \qquad \text{Upper fence} = 21 + 1.5(7) = 31.5$$

The value 45 falls above the upper fence of 31.5, so it is flagged as the sole outlier — consistent with the mean (19.3) sitting noticeably above the median (16.5), a classic sign that one large value is pulling the average upward.

## Related Calculators

For just the standard deviation and variance without the full five-number summary, use the [standard deviation calculator](/calculators/standard-deviation-calculator). To test whether two datasets' means differ significantly, see the [t-test calculator](/calculators/t-test-calculator).

## Measures of Variability: Variance and Standard Deviation

Standard deviation measures the average distance of data points from the mean. We distinguish between sample standard deviation \(s\) (used when data represents a subset of a population) and population standard deviation \(\sigma\) (used when data represents the entire group):

**Sample Variance** (\(s^2\)): Uses Bessel's correction (dividing by \(N-1\)):

$$s^2 = \frac{\sum (x_i - \bar{x})^2}{N - 1}$$

Where \(\bar{x}\) is the sample mean and \(N\) is the sample size.

**Population Variance** (\(\sigma^2\)): Divides by the total count \(N\):

$$\sigma^2 = \frac{\sum (x_i - \mu)^2}{N}$$

Standard deviation is the square root of the variance (\(s = \sqrt{s^2}\) or \(\sigma = \sqrt{\sigma^2}\)).

## Five-Number Summary, IQR, and Outlier Detection

The five-number summary provides a descriptive overview of sorted data:

1. **Minimum**: The smallest value. 2. **First Quartile (Q1)**: The median of the lower half of the data. 3. **Median (Q2)**: The middle value. 4. **Third Quartile (Q3)**: The median of the upper half of the data. 5. **Maximum**: The largest value.

The Interquartile Range is calculated as: \(\text{IQR} = Q3 - Q1\).

Under the Tukey outlier fence method, outliers are defined as any data points that fall outside the boundaries:

$$\text{Lower Bound} = Q1 - 1.5 \times \text{IQR}$$

$$\text{Upper Bound} = Q3 + 1.5 \times \text{IQR}$$

This calculator identifies outliers, lists them separately, and explains the boundary calculations.

## Frequently asked questions

### What are descriptive statistics?

Coefficients that summarize and describe the main characteristics of a dataset.

### What is the difference between mean and median?

The mean is the arithmetic average of all numbers. The median is the middle value when data is sorted in order.

### When is the median preferred over the mean?

The median is preferred when the dataset contains extreme outliers or skewness, as the mean is highly sensitive to outliers.

### What is the difference between sample and population standard deviation?

Sample standard deviation divides by N−1 (Bessel's correction) to correct for bias. Population standard deviation divides by N.

### What is the Interquartile Range (IQR)?

The difference between the third quartile (Q3) and the first quartile (Q1), representing the spread of the middle 50% of the data.

### How is Q1 and Q3 calculated?

Q1 is the median of the lower half of the sorted dataset. Q3 is the median of the upper half of the sorted dataset.

### How do you detect outliers using the IQR rule?

Any value below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is classified as an outlier.

### What is standard deviation?

Standard deviation is a measure of the amount of variation or dispersion of values in a dataset.

### What is the range?

The range is the difference between the largest (maximum) and smallest (minimum) values in the dataset.

### What is Bessel's correction?

The use of N−1 instead of N in the denominator when calculating sample variance, which corrects the bias in estimating population variance.

### Does this calculator compute the mode?

No — this tool computes mean, median, variance, standard deviation, quartiles, and outliers, but not the mode. For datasets where the most frequent value matters, tally repeated entries manually alongside these results.

### What does a standard deviation of 0 mean?

A standard deviation of 0 means that all values in the dataset are identical to the mean (no variation).

## Related concepts

- **Bessel's Correction** — The math adjustment dividing by N-1 for sample variances.
- **Tukey Fences** — The 1.5×IQR bounds used to identify outlier values.
- **Five-Number Summary** — The box plot values representing range and quartiles.

## Related guides

- [Standard Deviation Guide: Measure Data Spread Clearly](https://dothecalculation.com/blog/math/standard-deviation-explained) — Understand variance, population vs sample formulas, and data spread with worked examples tied to the live DTC standard deviation calculator.

## Related calculators

- [Standard Deviation Calculator](https://dothecalculation.com/calculators/standard-deviation-calculator) — Calculate mean, variance, and standard deviation for any dataset instantly with this free step-by-step statistics calculator.
- [Binomial Distribution Probability Calculator](https://dothecalculation.com/calculators/binomial-distribution-calculator) — Compute binomial probability mass function, cumulative distribution, mean, and variance instantly with this free statistics calculator.
- [Confidence Interval Calculator](https://dothecalculation.com/calculators/confidence-interval-calculator) — Calculate confidence intervals for population means and proportions, including margin of error, with this free statistics calculator.
- [Average Calculator](https://dothecalculation.com/calculators/average-calculator) — Use our free average calculator to find the mean, weighted average, and GPA. Shows step-by-step work for any set of numbers.
- [Chi-Square Test Calculator](https://dothecalculation.com/calculators/chi-square-test-calculator) — Run a Chi-Square goodness-of-fit test on observed vs. expected category counts and get the test statistic, degrees of freedom, and p-value.
- [Combination Calculator](https://dothecalculation.com/calculators/combination-calculator) — Calculate combinations (nCr) instantly with step-by-step work, with or without repetition. Perfect for lottery odds, poker hands, and team selection.

---

_This mathematical solver is designed for academic, engineering, and educational analysis. Rounding errors, numerical tolerances, or algorithm constraints might apply near poles, boundary conditions, or complex coordinate spaces. Always verify critical computations independently._

---

_Source: [Do The Calculation](https://dothecalculation.com/calculators/descriptive-statistics-calculator). Quote freely with attribution and a link to this page._
