What this statistics calculator reports
Descriptive statistics condense a list of numbers into a handful of figures that describe its center, its spread and its shape. This calculator works out the most widely used ones at once, so you can check homework, summarize survey responses or sanity-check a spreadsheet column without writing a single formula.
- Count: how many values you entered.
- Sum: all values added together.
- Mean: the sum divided by the count, the familiar arithmetic average.
- Median: the middle value once the data is sorted, or the average of the two middle values when the count is even.
- Mode: the value or values that occur most often.
- Largest, smallest and range: the extremes and the distance between them.
- Geometric mean: the nth root of the product of n values.
- Standard deviation and variance: measures of spread, given for both a full population and a sample.
Measures of center
The mean uses every value, which makes it efficient but also sensitive to outliers. A single very large salary can pull the mean income of a small office far above what a typical employee earns. The median ignores how extreme the tails are, so it is usually the better summary for skewed data such as house prices or incomes. The mode is the only measure of center that also works for categories, and a data set can have one mode, several, or none if every value appears once.
Geometric mean
The geometric mean multiplies the values together and takes the nth root:
It is the right average for quantities that compound, such as growth rates, investment returns or ratios. If an investment grows 10% one year and 50% the next, the growth factors are 1.10 and 1.50, and the geometric mean is √(1.10 × 1.50) ≈ 1.2845, meaning an average of about 28.45% per year. The arithmetic mean of 30% would overstate the result. The geometric mean is always less than or equal to the arithmetic mean, and it is only defined for data with no negative values.
Measures of spread
Variance is the average squared distance of each value from the mean. Standard deviation is its square root, which puts it back into the units of the data.
Use the population figures when your list is the entire group of interest. Use the sample figures when the list is a subset and you want to estimate the spread of the larger group. Dividing by N − 1 corrects the tendency of a sample to understate variability.
Worked example
Take the data 10, 12, 23, 23, 16, 23, 21, 16.
| Statistic | Working | Result |
|---|---|---|
| Count | 8 values | 8 |
| Sum | 10 + 12 + 23 + 23 + 16 + 23 + 21 + 16 | 144 |
| Mean | 144 / 8 | 18 |
| Median | sorted: 10, 12, 16, 16, 21, 23, 23, 23; (16 + 21) / 2 | 18.5 |
| Mode | 23 appears three times | 23 |
| Range | 23 − 10 | 13 |
| Population variance | sum of squared deviations 192 / 8 | 24 |
| Population SD | √24 | 4.899 |
| Sample variance | 192 / 7 | 27.4286 |
| Sample SD | √27.4286 | 5.2372 |
Because the mean (18) sits slightly below the median (18.5), the data leans a little toward lower values, a mild left skew.
Tips for entering data
You can separate values with commas, spaces or line breaks, so a column copied from a spreadsheet works as is. Negative numbers and decimals are fine. If any value is negative, the geometric mean is not defined and is reported as such. With only one value, sample statistics cannot be estimated because there is no spread to measure.