# Statistics calculator

> Mean, median, mode, standard deviation, variance, quartiles and range for any list of numbers.

Category: Math · Web page: https://plumcalc.com/statistics/ · Last reviewed: November 19, 2026

## How to use

1. Enter your numbers: Numbers, The numbers are. Example figures are filled in to start.
2. Read your result instantly: the mean (average) appears in the results panel, with a full breakdown underneath.
3. Explore the sorted values below the result.
4. Save as PDF, copy the results, or save a scenario to compare different inputs side by side.

## Inputs

| Key | Field | Type | Default | Notes |
|---|---|---|---|---|
| `data` | Numbers | text | 4, 8, 15, 16, 23, 42 | Separate with commas or spaces |
| `kind` | The numbers are | choice | sample | options: `sample` (A sample (divide by n − 1)), `pop` (The whole population (divide by n)) |

## Worked example (default inputs)

- Numbers: 4, 8, 15, 16, 23, 42
- The numbers are: A sample (divide by n − 1)

**Mean (average): 18** (6 values)

- Count: 6
- Sum: 108
- Median: 15.5
- Mode: None (no value repeats)
- Standard deviation: 13.490738
- Variance: 182
- Minimum: 4
- Maximum: 42
- Range: 38
- Q1 / Q3: 8 / 23
- Interquartile range: 15
- Standard error of the mean: 5.507571

## How it's calculated

Mean = sum ÷ count. The median is the middle value of the sorted list. Variance is the average squared distance from the mean, dividing by n − 1 for a sample or by n for a whole population; the standard deviation is its square root. Quartiles use the median of each half (Tukey’s method).

## Frequently asked questions

### What is the difference between sample and population standard deviation?

Population standard deviation divides by n and is used when you have every value. Sample standard deviation divides by n − 1, which corrects for estimating from a subset.

### How is the median found?

Sort the numbers and take the middle value. With an even count, the median is the average of the two middle values.

### What are quartiles and the interquartile range?

Q1 and Q3 are the medians of the lower and upper halves of the sorted data. The interquartile range (Q3 − Q1) measures the spread of the middle 50% and is not affected by outliers.

## Related calculators

- [Quadratic equation solver](https://plumcalc.com/quadratic/): Solve ax² + bx + c = 0 for real or complex roots, with the discriminant, vertex and axis of symmetry.
- [Fraction calculator](https://plumcalc.com/fraction/): Add, subtract, multiply and divide fractions, with the simplified answer, mixed number and decimal.
- [Binary, hex & decimal converter](https://plumcalc.com/base-converter/): Convert whole numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36.
- [Scientific calculator](https://plumcalc.com/scientific/): A full calculator with trig and inverse trig, logs, powers, factorials, memory and history. Works with your keyboard.
---

PlumCalc (https://plumcalc.com) · Free, private online calculators. All calculations run in the user's browser; inputs are never sent to a server. Results are estimates for planning and education, not financial, tax, legal or medical advice.

For AI agents: MCP server at https://plumcalc.com/mcp (tools: list_calculators, calculate, evaluate_expression) · [Server card](https://plumcalc.com/.well-known/mcp/server-card.json) · [llms.txt](https://plumcalc.com/llms.txt) · [About](https://plumcalc.com/about) · [Contact](https://plumcalc.com/contact) · [Privacy Policy](https://plumcalc.com/privacy-policy) · [Terms of Service](https://plumcalc.com/terms-of-service)
