How the Statistics Calculator Computes Each Measure
AnyTool Statistics Calculator runs a pure, unit-tested engine entirely in the browser. It parses the input on commas, spaces, tabs, semicolons and new lines, keeping only finite numbers, then computes a full descriptive summary. The mean is the sum over the count; the median is the middle of the sorted data (or the average of the two middle values); the mode lists the most frequent value(s). Variance is the average squared deviation from the mean — divided by N for the population version and by n − 1 (Bessel’s correction) for the sample version — and the standard deviation is its square root. Quartiles and any custom percentile use linear interpolation on the sorted array (the Excel PERCENTILE.INC / NumPy default method), the interquartile range is Q3 − Q1, and skewness and excess kurtosis use the bias-corrected sample moment formulas. Everything is computed at full double precision and rounded only for display.
- Population variance ÷ N, sample variance ÷ (n − 1)
- Median and quartiles from the sorted data with linear interpolation
- Custom percentile via the Excel/NumPy inclusive method
- Bias-corrected sample skewness and excess kurtosis
- Pure, unit-testable engine — no DOM, no server
