Using the Statistics Calculator
Enter repeated observations as recorded. Choose median-of-halves or R7 interpolation explicitly: these conventions can give different quartiles for the same sample. The box plot uses the selected convention and whiskers ending at the most extreme observations within the outlier fences.
Worked example
Use the example inputs below to reproduce this result. These are the form's starting values, not recommended targets. Changing your inputs updates your result above; this worked example stays fixed for comparison. Results are rounded for display.
Example inputs
- Numbers, separated by commas
- 2, 4, 4, 6, 9
- Quartile convention
- Median of halves
Example result
- Count
- 5
- Sum
- 25
- Mean
- 5
- Median
- 4
- Mode
- 4
- Range
- 7
- Population standard deviation
- 2.3664319
- First quartile (Q1)
- 3
- Third quartile (Q3)
- 7.5
- Interquartile range (IQR)
- 4.5
- Lower outlier fence
- -3.75
- Upper outlier fence
- 14.25
- Outliers (1.5 × IQR rule)
- None
Method and assumptions
Median-of-halves excludes the central observation for odd-sized samples; R7 linearly interpolates at (n − 1) × p. Outliers lie strictly outside Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. Whiskers reach the extreme non-outliers. A single observation has zero IQR. Flags identify unusual values, not errors to delete.
Check what the data represents
A statistical result is only meaningful in relation to the observations and assumptions behind it. Keep track of whether values describe a whole population or a sample, whether observations are independent, and which distribution the method uses. More decimal places cannot compensate for a sample that does not represent the question you are trying to answer.
Common question
Are repeated observations counted more than once?
Yes. Repeated values represent repeated observations and affect the mean, median, modes and spread. Remove duplicates only if they are data-entry errors, not merely because the values are identical.