Mathematics
Descriptive statistics calculator
Calculate mean, median, modes, spread and quartiles for an unweighted numeric list.
Enter a number as you would write it, for example 1,250, −2.5 or 1e3. Downloads keep your entries and results; nothing is stored or sent.
Result
Formula / calculation:
Select the quartile convention before comparing results with another program. The linear method is the previous default (type 7). The median-of-halves methods differ for odd-length lists. A mode is shown only when a value occurs more than once.
Decimal results are approximate. Inputs stay in this browser tab.
Sources
How it works
The mean is the sum divided by the count. The median uses the sorted list; variance uses squared deviations from the mean.
Worked example
For 1; 2; 3, the mean and median are 2. Population variance is 2/3; sample variance is 1.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- Values (separate with semicolons or spaces)
- 1; 2; 3; 4
- Variance and standard deviation
- Population (divide by n)
- Quartile method
- Linear interpolation (type 7)
- Decimal places (0–12)
- 6
Result
- Count n
- 4
- Sum
- 10
- Arithmetic mean
- 2.5
- Median
- 2.5
- Minimum
- 1
- Maximum
- 4
- Range
- 3
- Population variance σ²
- 1.25
- Population standard deviation σ
- 1.11803398875
- First quartile Q1
- 1.75
- Third quartile Q3
- 3.25
- Interquartile range
- 1.5
Frequently asked questions
How do I calculate the mean and median of a list of numbers?
Enter your values separated by semicolons or spaces and press Calculate. The mean is the sum divided by the count, and the median uses the sorted list.
What does the descriptive statistics calculator show?
It calculates mean, median, modes, spread and quartiles for an unweighted numeric list. A mode is shown only when a value occurs more than once.
What is the difference between population and sample variance?
Population variance divides by n, while sample variance divides by n − 1. For the list 1; 2; 3, the population variance is 2/3 and the sample variance is 1.
Which quartile methods are available?
You can choose linear interpolation (type 7), median of halves omitting the middle value, or median of halves including the middle value. The halves methods differ for odd-length lists.
How should I enter numbers in the statistics calculator?
Use a decimal point and no thousands separators. Examples are −2.5 or 1e3.
How can I format the results?
Choose standard (12 significant digits), fixed decimal places or scientific format. Decimal places can be set from 0 to 12, and decimal results are approximate.
Which quartile method should I pick to match another program?
Select the quartile convention before comparing results with another program. The linear method (type 7) is the previous default.