Skip to content
CalculatorBuddy

Statistics Calculator

Calculate count, sum, mean, median, mode, range, geometric mean, variance, and standard deviation for a data set.

ExampleSample values — edit any field to see your result.

Separate numbers with commas, spaces, or new lines.

Results update as you type.

Mean

22.25

Estimated result

Count
8
Sum
178
Median
23
Mode
23, appeared 3 times
Largest
38
Smallest
2
Range
36
Geometric Mean
17.119851726053
Population Standard Deviation
11.508149286484
Population Variance
132.4375
Sample Standard Deviation
12.302729081677
Sample Variance
151.35714285714
Sorted Data
2, 10, 21, 23, 23, 23, 38, 38

Enter a data set to calculate its central tendency, spread, and sorted order in one pass. The results mirror the descriptive-statistics summary on calculator.net, including both population and sample measurements.

Formula

For N values, the arithmetic mean is Σx / N. The median is the middle sorted value (or the average of the two middle values), and the range is maximum − minimum.

Population variance divides squared deviations by N, while sample variance uses N − 1:

σ² = Σ(x − μ)² / N
s² = Σ(x − x̄)² / (N − 1)

Standard deviation is the square root of variance. For positive values, the geometric mean is (x1 × x2 × … × xN)^(1/N).

Examples

Calculator.net default data

For 10, 2, 38, 23, 38, 23, 21, 23, the count is 8, sum is 178, mean is 22.25, median and mode are both 23, and the range is 36. The population standard deviation is 11.508149286484; the sample standard deviation is 12.302729081677.

Population versus sample

If those eight values are every member of the group, use population variance 132.4375. If they are a sample, use sample variance 151.35714285714.

Frequently asked questions

What does this statistics calculator find?
It finds count, sum, arithmetic mean, median, mode, minimum, maximum, range, geometric mean, and both population and sample variance and standard deviation.
Should I use sample or population standard deviation?
Use population statistics when the entered values are the complete group. Use sample statistics when they are observations taken from a larger population.
How can I enter my data?
Separate values with commas, spaces, semicolons, or new lines. At least two finite numbers are required.
What happens when the data includes zero or a negative value?
The ordinary real-valued geometric mean is not defined for such a data set, so it is reported as zero to match calculator.net; the other statistics are still calculated normally.

Related calculators