statistics
A statistics calculator computes summary statistics from a list of numbers β mean (average), median (middle value), mode (most frequent), range (max β min), variance, standard deviation, quartiles (Q1, Q2, Q3), interquartile range, and selected percentiles. The ZTools Statistics Calculator accepts any list (one number per line, comma-separated, or space-separated), runs all computations in the browser, and shows results with a small distribution chart. No upload, no signup, no row limit.
Use casesβ
Quick descriptive stats for a surveyβ
A 200-row response column. Paste, get mean / median / SD / quartiles instantly β faster than opening Excel for one column.
Compare two datasetsβ
Stats side by side reveal which has higher central tendency, which is more spread out. Calculator runs both and tabulates.
Spot outliersβ
Values more than 1.5 Γ IQR beyond Q1 / Q3 are conventional outliers. Calculator flags them.
Verify a textbook problemβ
Homework gives a list; you computed mean = 14.5. Calculator confirms or contradicts. Useful for self-checking.
How it worksβ
- Paste numbers β One per line, comma-separated, or space-separated. Tool detects automatically.
- Pick population vs sample β Variance and SD differ for a population (divide by n) vs a sample (divide by nβ1, Bessel's correction). Default: sample.
- Configure precision β Decimals to display (default 4). Bigger numbers get scientific notation automatically.
- Read results β Table of statistics + a small histogram showing distribution shape.
Examplesβ
Input: [1, 2, 3, 4, 5]
Output: Mean: 3. Median: 3. Mode: none (all unique). Range: 4. Sample SD: 1.5811. Q1: 2. Q3: 4. IQR: 2.
Input: [10, 20, 20, 30, 40, 100]
Output: Mean: 36.67 (skewed by 100). Median: 25 (more representative). Mode: 20. SD: 31.85. The mean-vs-median gap signals skew.
Input: Outlier detection
Output: Q1 = 20, Q3 = 40, IQR = 20. Outlier threshold: > 70 or < β10. Value 100 flagged as outlier.
Frequently asked questionsβ
Sample SD vs population SD?
Sample SD divides by nβ1 (Bessel's correction) β gives an unbiased estimate of the population SD. Population SD divides by n β exact when you have all the data. Default is sample (more common in practice).
Mean vs median β which to report?
Mean is sensitive to outliers; median isn't. For income, house prices, response times β report median. For symmetric distributions, mean and median are similar; either works.
How is the median calculated for even count?
Average of the two middle values. For [1,2,3,4], median = (2+3)/2 = 2.5.
How is mode reported when multiple modes exist?
All values tied for highest frequency. If everything is unique, "no mode" is reported. Multimodal distributions get a list.
Privacy?
All computation in the browser. Numbers never uploaded.
Maximum list size?
Practical limit is browser memory β millions of values work fine. Quartile computation is O(n log n) (sort).
Tipsβ
- When mean and median diverge significantly, the data is skewed β investigate the tail.
- Always include sample size (n) when reporting any of these stats β without n, they're hard to interpret.
- For inference (significance tests, confidence intervals), use a dedicated tool β descriptive stats only describe; they don't test hypotheses.
- Outlier detection at 1.5 Γ IQR is a convention, not a rule. For strict outliers, use 3 Γ IQR or domain-specific thresholds.
Try it nowβ
The full statistics runs in your browser at https://ztools.zaions.com/statistics β no signup, no upload, no data leaves your device.
Last updated: 2026-05-06 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub