Basic statistics calculator
Enter a list of numbers separated by commas or spaces to calculate basic statistics.
Espacio publicitario
- Number of values
- 8
- Mean
- 5
- Median
- 4.5
- Mode
- 4
- Range
- 7
- Standard deviation (sample)
- 2.138
Espacio publicitario
How these statistics are calculated
The mean is the average of all values. The median is the middle value when data is sorted. The mode is the most frequently occurring value(s). The sample standard deviation measures how spread out the data is from the mean.
Mean = sum of values ÷ number of values
Worked example
For 2, 4, 4, 4, 5, 5, 7, 9: mean = 5, median = 4.5, mode = 4, range = 7, standard deviation ≈ 2.14.
Frequently asked questions
- When should I use the median instead of the mean?
- The median is more robust to outliers; if your data has very high or very low values, the median usually better represents the 'center' of the data.
- Can there be more than one mode?
- Yes. If two or more values repeat the same maximum number of times, all of them are modes (multimodal distribution).
- Why divide by n−1 in standard deviation?
- n−1 (Bessel's correction) is used when the data is a sample, not the whole population, to give a less biased estimate of the true spread.
- What format should I use to enter numbers?
- You can separate them with commas, spaces, or both, e.g.: 2, 4, 6 8 10.
Related calculators
- Percentage calculatorFind the % of an amount, what % one number is of another, or the percentage change between two values.
- Discount calculatorCalculate the final price and how much you save when applying a discount.
- Rule of Three CalculatorCalculate direct or inverse proportions between three known values and one unknown.
- Fraction CalculatorAdd, subtract, multiply or divide two fractions and get the simplified result.
- Weighted Average CalculatorCalculate the weighted average of up to four values with their respective weights.
- Successive Discounts CalculatorCalculate the final price when applying several successive discounts to the same price.
- GCF and LCM calculatorCalculate the greatest common factor (GCF) and least common multiple (LCM) of two numbers.