What does this tool do
The Statistics Calculator computes descriptive statistics from a list of numbers. Enter numbers (comma or space separated), and it computes count, sum, min, max, range, mean, median, mode(s), standard deviation, variance, and common percentiles (P25, P50, P75, P90, P95, P99). When you have at least two numbers, a distribution histogram chart shows the frequency of values in each range. Ideal for data analysis, homework, and quick statistical summaries.
How to use it
- Enter numbers — Paste or type a list of numbers. Separate with commas, spaces, or newlines.
- View results — The tool instantly displays all statistics in a clear layout.
- Edit input — Change the list at any time; results update automatically.
- Copy — Use the copy button to copy results if needed.
How it works
The tool parses the input string into a number array (comma or whitespace separated). It delegates to the simple-statistics library for mean, median, standard deviation, variance, min, max, sum, and quantiles (percentiles). For mode, it finds all values that appear most frequently (multi-modal support). Percentiles P25, P50, P75, P90, P95, P99 use linear interpolation. The distribution chart bins values using Sturges' rule (5–25 bins) and displays a histogram. Invalid or empty input shows an error.
All computation runs entirely in your browser. No data is sent to any server.
Use cases & examples
- Homework — Compute mean, median, and standard deviation for a dataset.
- Survey data — Summarise responses (e.g. ages, scores).
- Quality control — Check range, variance, percentiles, and outliers; view distribution shape.
- Finance — Analyse returns or price series.
Example
Input: 10, 20, 20, 30, 40
- Count: 5
- Sum: 120
- Mean: 24
- Median: 20
- Mode: 20
- Standard deviation: 10
- Variance: 100
- Percentiles: P25=20, P50=20, P75=30, P90=40, P95=40, P99=40
Limitations & known constraints
- Single variable — One list only; no correlation or regression.
- Population statistics — Standard deviation and variance are population (n), not sample (n−1).
- Input format — Numbers must be valid; non-numeric tokens cause a parse error.
- Large lists — Maximum 10,000 numbers per request; very long lists may slow the UI.