Descriptive statistics

Each row is one observation. Quartiles use R type 7 interpolation. Sample variance divides by n − 1; population variance divides by n.

Choose the measure and its denominator

Enter one observation per row. Each row counts once. The mean is the sum divided by the row count n. Population variance divides the sum of squared distances from the mean by n; sample variance divides by n − 1 and needs at least two observations. Standard deviation is the square root of variance.

Quartiles use linear interpolation, R type 7. In ascending order, the position for probability p is h = 1 + (n − 1)p. An integer position selects an observation; a fractional position blends its two neighbors. The steps retain the original row numbers alongside the sorted positions.

The summary also reports geometric mean, harmonic mean and RMS where applicable. Here, geometric and harmonic means require nonnegative observations and use zero when any observation is zero. RMS averages the squared observations before taking a square root. Absolute temperatures support location and spread measures, but not sums or these three special means.

Worked example: 1, 2, 3, 4

The sum is 10 and the mean is 10/4 = 5/2. The squared distances from 5/2 are 9/4, 1/4, 1/4 and 9/4, totaling 5. Population variance is 5/4; sample variance is 5/3.

For Q1, p = 1/4 gives position h = 7/4, three quarters of the way from 1 to 2. Thus Q1 = 1/4 × 1 + 3/4 × 2 = 7/4. Similarly, the median is 5/2 and Q3 is 13/4.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.