Descriptive Statistics Calculator

Paste a list of numbers to get the count, sum, mean, median, mode, minimum, maximum, range, variance, standard deviation, and quartiles (Q1, Q3, IQR).

Quick Facts

Method
Standard descriptive statistics: mean, median, mode, variance, SD, and quartiles
Reports both sample (n − 1) and population (n) variance and standard deviation.

Your Results

Calculated
Mean (average)
-
Sum ÷ count
Median
-
Middle value
Mode
-
Most frequent value(s)
Count (n)
-
Number of values
Sum
-
Total of all values
Range
-
Max − Min
Sample std. dev. (s)
-
Divides by n − 1
Population std. dev. (σ)
-
Divides by n
Sample variance (s²)
-
n − 1 denominator
Population variance (σ²)
-
n denominator
Minimum
-
Smallest value
Maximum
-
Largest value
Q1 (25th percentile)
-
Lower quartile
Q3 (75th percentile)
-
Upper quartile
IQR
-
Q3 − Q1

Ready

Paste your data above and press Calculate.

How the descriptive statistics are calculated

Descriptive statistics summarize a dataset with a handful of numbers that describe its center, spread, and extremes. This calculator takes a list of values (separated by commas, spaces, or new lines) and computes each measure directly from the data — no sampling assumptions or fitted models. Below is exactly what each output means and how it is derived.

Measures of center

  • Mean (average): add every value and divide by the count: mean = (Σx) / n. It uses all the data but is pulled toward outliers.
  • Median: sort the values and take the middle one. With an even count, average the two middle values. The median ignores how far away extreme values are, so it resists outliers — which is why it is preferred for skewed data like income or house prices.
  • Mode: the value (or values) that appear most often. A dataset can have one mode, several, or none if every value is unique. Mode is the only center measure that also works for non-numeric categories.

Measures of spread

  • Range: max − min. Simple, but determined entirely by the two most extreme points.
  • Variance: the average squared distance from the mean. This tool reports two versions. Population variance divides the sum of squared deviations by n: σ² = Σ(x − mean)² / n. Sample variance divides by n − 1 (Bessel's correction): s² = Σ(x − mean)² / (n − 1).
  • Standard deviation: the square root of the variance, expressed in the same units as the data. For an approximately normal distribution, about 68% of values fall within 1 SD of the mean and about 95% within 2 SD (the empirical or "68–95–99.7" rule).
  • IQR (interquartile range): Q3 − Q1, the span covering the middle 50% of the sorted data. Like the median, it is resistant to outliers and is the width of the box in a box-and-whisker plot.

Sample vs. population: which do I use?

If your numbers are the entire group you care about (every student in one class, every item produced in one batch), use the population figures. If they are a sample drawn from a larger group and you want to estimate that group's spread, use the sample figures (n − 1). Dividing by n − 1 corrects the tendency of a sample to underestimate the true spread. In practice, most real-world data is a sample, so the sample standard deviation is the usual default.

How quartiles are computed here

Quartiles are found by linear interpolation on the sorted data: Q1 sits at position 0.25 × (n − 1) and Q3 at 0.75 × (n − 1) using 0-based positions, interpolating between neighbours when the position is not a whole number. This is the same "inclusive" method used by spreadsheet functions like Excel's PERCENTILE.INC and NumPy's default percentile. Note that other conventions (for example Tukey's hinges) can give slightly different Q1/Q3 values on small datasets, so quartiles from two tools may differ by a little.

Identifying outliers

A common rule flags a value as an outlier when it lies more than 1.5 × IQR below Q1 or above Q3. For an approximately normal distribution you can instead use z-scores, where a value more than 3 standard deviations from the mean (|z| > 3) occurs in fewer than 0.3% of cases and is worth a second look.

Frequently Asked Questions

What is the difference between sample and population standard deviation?
Population standard deviation divides the sum of squared deviations by n; sample standard deviation divides by n − 1 (Bessel's correction). Use the sample version when your data is a subset of a larger group and you want to estimate that group's spread, and the population version only when your data covers every member. This calculator shows both so you can pick the right one.
How is the median found when there is an even number of values?
Sort the values from smallest to largest. With an odd count the median is the single middle value; with an even count it is the average of the two middle values. For example, the median of 2, 4, 6, 8 is (4 + 6) / 2 = 5.
Why does my dataset show "No mode"?
The mode is the most frequently occurring value. If every value in your list appears exactly once, there is no single most-common value, so the data has no mode. If several values tie for the highest frequency, the dataset is multimodal and all of them are reported.
Can I paste data separated by tabs or new lines?
Yes. Values can be separated by commas, spaces, semicolons, tabs, or line breaks in any combination, so you can paste a column straight from a spreadsheet. Negative numbers and decimals are supported.