Statistics Calculator

Compute mean, median, mode, standard deviation, variance and more.

Statistics Calculator

Enter values using the keypad or paste comma-separated values below.

0
or Provide Values Separated by Comma Below
Result
Count8
Sum178
Mean (Average)22.25
Median23
Mode23, appeared 3 times
Largest38
Smallest2
Range36
Geometric Mean17.119851726053
Standard Deviation11.508149286484
Variance132.4375
Sample Standard Deviation12.302729081677
Sample Variance151.35714285714
Sorted data: 2, 10, 21, 23, 23, 23, 38, 38

Complete Statistics Guide & Information

1. Overview

This statistics calculator computes common descriptive statistics from a set of numerical values. It provides measures of central tendency, dispersion, and distribution shape. You can enter values one by one using the keypad, or paste a comma-separated list into the text box.

2. Keypad Buttons Reference

3. Measures of Central Tendency

Mean (Arithmetic Average)

The mean is the sum of all values divided by the count of values. It is the most common measure of central tendency but can be affected by extreme outliers.

x̄ = Σx / n

where Σx is the sum of all values and n is the number of values.

Median

The median is the middle value of a sorted data set. If there is an even number of values, it is the average of the two middle numbers. The median is robust to outliers.

Median = value at position (n+1)/2 (odd n)
Median = average of values at n/2 and n/2+1 (even n)

Mode

The mode is the value that appears most frequently in the data set. A data set may have multiple modes (bimodal, multimodal) or no mode at all if all values are unique.

Geometric Mean

The geometric mean is the n-th root of the product of n values. It is useful for growth rates, ratios, and percentages. It is always less than or equal to the arithmetic mean.

GM = (x₁ × x₂ × ... × xₙ)^(1/n)

Note: All values must be positive for geometric mean calculation.

4. Measures of Dispersion

Range

The difference between the largest and smallest values in the data set.

Range = Max − Min

Population Variance (σ²)

The average of the squared differences from the Mean. Used when the data set represents an entire population.

σ² = Σ(xᵢ − μ)² / N

Population Standard Deviation (σ)

The square root of the population variance. It is in the same units as the original data, making it more interpretable than variance.

σ = √σ²

Sample Variance (s²)

Used when data is a sample from a larger population. Divides by n−1 (Bessel's correction) to correct for bias.

s² = Σ(xᵢ − x̄)² / (n − 1)

Sample Standard Deviation (s)

Square root of the sample variance. Most commonly used in statistical practice.

s = √s²

5. Sum and Sum of Squares

Computational formula: Σ(xᵢ − x̄)² = Σxᵢ² − (Σxᵢ)² / n

6. How to Use This Calculator

  1. Keypad entry: Type a number using the keypad buttons, then click ADD to add it to the data set.
  2. Text entry: Type or paste values separated by commas, spaces, or newlines into the text box.
  3. Click the Calculate button to compute all statistics.
  4. View results in the result table and the chart visualization.
  5. Use Clear to reset all data and results.
  6. Use function buttons (x̄, σ, s, etc.) to insert computed values into the keypad display for further use.

7. Worked Example

Data set: 2, 10, 21, 23, 23, 23, 38, 38 (n = 8)

8. When to Use Population vs Sample

9. Data Visualization

The bar chart displays the distribution of values in your data set in ascending order. This helps you quickly identify:

10. Real-World Applications

11. Important Notes

12. Related Statistical Concepts

13. References

1. DeGroot, Morris H. and Schervish, Mark J. Probability and Statistics. Pearson Education. 2012.
2. Wackerly, Dennis D., Mendenhall, William, and Scheaffer, Richard L. Mathematical Statistics with Applications. Cengage Learning. 2014.
3. Moore, David S., McCabe, George P., and Craig, Bruce A. Introduction to the Practice of Statistics. W.H. Freeman. 2017.
4. Triola, Mario F. Elementary Statistics. Pearson Education. 2019.
5. Snedecor, George W. and Cochran, William G. Statistical Methods. Iowa State University Press. 1989.
6. NIST/SEMATECH. e-Handbook of Statistical Methods. National Institute of Standards and Technology. 2012.