Descriptive Statistics Calculator
Descriptive statistics summarize a data set with a handful of numbers that describe its center, its spread, and its shape. It is the first step to take before any analysis: a test chosen without first getting to know the data is usually the wrong test.
From a single data entry, this calculator computes measures of central tendency (mean, median, mode), spread (variance, standard deviation, range, IQR, coefficient of variation), position (quartiles, percentiles), and shape (skewness, kurtosis) together. It also flags outliers with Tukey's rule and draws a histogram, a box plot, and a normal Q-Q plot.
Descriptive Statistics Formulas
Mean: x̄ = Σxᵢ / n
Variance (sample): s² = Σ(xᵢ − x̄)² / (n − 1)
Standard deviation: s = √s²
Standard error: SE = s / √n
Interquartile range: IQR = Q3 − Q1
Coefficient of var.: CV = s / |x̄|
Skewness: g₁ = [n / ((n−1)(n−2))] · Σ((xᵢ − x̄) / s)³
Excess kurtosis: g₂ = {[n(n+1)] / [(n−1)(n−2)(n−3)]} · Σ((xᵢ − x̄)/s)⁴ − 3(n−1)² / [(n−2)(n−3)]
Outlier fences: [Q1 − 1.5·IQR , Q3 + 1.5·IQR]Skewness and kurtosis are computed with the sample-corrected formulas, the same ones behind Excel's SKEW/KURT functions and the SPSS Descriptives output.
How to Calculate
- Paste your data values into the box; commas, spaces, and line breaks are all accepted.
- Choose whether the data is a sample or the entire population — this sets the denominator of the variance (n−1 or n).
- Optionally set the number of histogram classes by hand; if you leave it empty, Sturges' rule is applied.
- Read the measures of center, spread, and shape together: the gap between the mean and the median is the first clue about skewness.
- Check the outlier warning and the box plot; extreme observations noticeably affect both the mean and the standard deviation.
- Look at the Q-Q plot to decide whether the normality assumption is reasonable.
Worked Examples
A measurement series with an outlier
The mean of the 15 measurements is 27.73 and the median is 27. With Q1 = 25, Q3 = 28.5, and IQR = 3.5, Tukey's upper fence is 33.75; the value 45 lies above it and is flagged as an outlier. The mean exceeding the median shows that the distribution is right-skewed.
Örneklem büyüklüğü (n): 15 · Aritmetik ortalama (x̄): 27.73 · Standart sapma (s): 5.39
A small symmetric data set
The mean and the median both land on 14 and the skewness is 0. The sample standard deviation works out to √(40/4) ≈ 3.16; had the same data been treated as a population, the denominator would be 5 instead of 4 and the deviation would be a little smaller. In a symmetric distribution the mean can safely serve as the measure of center.
Örneklem büyüklüğü (n): 5 · Aritmetik ortalama (x̄): 14.00 · Standart sapma (s): 3.16
Treating the data as a population
Because all eight values were measured, the population formula is selected: the mean is 5.5, the population variance is 2.25, and the population standard deviation is 1.5. Had the same data been treated as a sample, the denominator would be 7 instead of 8 and the standard deviation would be a little larger.
Örneklem büyüklüğü (n): 8 · Aritmetik ortalama (x̄): 5.50 · Population standard deviation (σ): 1.50