Descriptive statistics
Mean, median, mode, spread and standard deviation for your numbers.
A clear answer. Here’s how.
Mean is the sum divided by count; the median is the middle sorted value. Population standard deviation divides squared deviations by n; sample standard deviation uses n−1. Modes show repeated values only. No missing-value imputation is performed.
How this is checked
3 reference checks passed These 3 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.
See the checks and where each expected answer comes from
Case 1
- Inputs
- Numbers separated by commas, spaces or new lines 2, 4, 4, 4, 5, 5, 7, 9
- Expected, and what Toolmoz gave
- Count expected 8, Toolmoz 8Sum expected 40, Toolmoz 40Mean expected 5, Toolmoz 5Median expected 4.5, Toolmoz 4.5Population standard deviation expected 2, Toolmoz 2Sample standard deviation expected 2.138089935299395, Toolmoz 2.138089935299395
- Where the expected answer comes from
- The worked example on the Wikipedia standard deviation page (mean 5, population SD 2); sample SD = √(32 ÷ 7)
- Allowed difference
- ±1e-12
Case 2
- Inputs
- Numbers separated by commas, spaces or new lines 1 2 3 4 5 6
- Expected, and what Toolmoz gave
- Count expected 6, Toolmoz 6Sum expected 21, Toolmoz 21Mean expected 3.5, Toolmoz 3.5Median expected 3.5, Toolmoz 3.5Minimum expected 1, Toolmoz 1Maximum expected 6, Toolmoz 6Range expected 5, Toolmoz 5Population standard deviation expected 1.707825127659933, Toolmoz 1.707825127659933Sample standard deviation expected 1.8708286933869707, Toolmoz 1.8708286933869707
- Where the expected answer comes from
- Closed forms for 1..n: population variance (n² − 1) ÷ 12 = 35 ÷ 12, sample variance n(n + 1) ÷ 12 = 3.5
- Allowed difference
- ±1e-12
Case 3
- Inputs
- Numbers separated by commas, spaces or new lines 7
- Expected, and what Toolmoz gave
- Count expected 1, Toolmoz 1Mean expected 7, Toolmoz 7Median expected 7, Toolmoz 7Population standard deviation expected 0, Toolmoz 0Sample standard deviation expected Needs at least 2 values, Toolmoz Needs at least 2 values
- Where the expected answer comes from
- One value has no spread, and the sample form divides by n − 1 = 0, so the tool declines to report it
- Allowed difference
- exact
What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Numbers separated by commas, spaces or new lines
- 2, 4, 4, 4, 5, 5, 7, 9
Example result
- Count
- 8
- Sum
- 40
- Mean
- 5
- Median
- 4.5
- Mode
- 4
- Minimum
- 2
- Maximum
- 9
- Range
- 7
- Population standard deviation
- 2
- Sample standard deviation
- 2.1380899353