Math
Statistics Calculator
Mean, median, mode, range and standard deviation for a set of numbers.
How is this calculated?
Worked examples
For the same finite dataset 2, 4, 6: mean = 4 and squared deviations sum to 8. Population variance = 8/3 ≈ 2.6667 and standard deviation ≈ 1.6330; sample variance = 8/2 = 4 and deviation = 2. The displayed variance row is population variance. Sample deviation requires at least two values; one value has no sample estimate. Equal values such as 5, 5, 5 have zero variance. Input must satisfy the tool’s finite-number limits; neither zero variance nor a small sample establishes certainty about a wider population.
Worked examples
These are the tool’s initial inputs for United States, using model version 2. The results below are calculated from those inputs; they are an illustration, not a personal recommendation.
Inputs
- Your numbers
- 12, 15, 15, 18, 21, 24, 30
Results
- Mean
- 19.29
- Median
- 18.00
- Mode
- 15
- Count
- 7
- Sum
- 135.00
- Minimum
- 12.00
- Maximum
- 30.00
- Range
- 18.00
- Standard deviation (sample)
- 6.2106 (Use this one when your numbers are a sample of a larger group.)
- Standard deviation (population)
- 5.7499
- Variance
- 33.0612
Change one input at a time and compare the result. Rounding can make displayed totals differ slightly; formulas use the underlying numbers.
The formula applies to the input domain shown by the tool. Undefined ratios, invalid dimensions and non-finite results should be corrected rather than interpreted as zero.
Frequently asked questions
Which standard deviation do I want?
Why is the mode sometimes empty?
Related calculators
- Ratio CalculatorSimplify a ratio, convert it to a decimal or a percentage, and scale it up.
- Exponent CalculatorPowers, roots and logarithms, with the inverse of each.
- Quadratic Equation CalculatorSolve ax² + bx + c = 0, with the discriminant and the turning point.
- Right Triangle CalculatorHypotenuse, area, perimeter and angles from the two shorter sides.
- Area CalculatorArea and perimeter for rectangles, triangles, circles and more.
- Volume CalculatorVolume and surface area for boxes, cylinders, spheres and cones.
Ready to start calculating?
Free tools with no sign-up. Calculations run on your device; shared links include your inputs.
