How are your numbers distributed?
Paste numbers and see their quartiles, spread and outliers, with a live histogram and box plot on one axis.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
Separate with spaces, line breaks or semicolons.
Empty: automatic (5).
Median
34
The middle half of the 20 numbers lies between 30.5 and 38.5 (IQR 8); the mean is 34.7 and the standard deviation 7.299. One outlier lies beyond 1.5 × IQR from the box: 52.
Histogram and box plot
Key values as a table
| Values | Count |
|---|---|
| 20 to under 25 | 1 |
| 25 to under 30 | 4 |
| 30 to under 35 | 6 |
| 35 to under 40 | 4 |
| 40 to under 45 | 3 |
| 45 to under 50 | 1 |
| 50 to under 55 | 1 |
The full summary
- How many numbers
- 20
- Mean
- 34.7
- Median
- 34
- Mode
- 31, 34
- Smallest
- 22
- First quartile (Q1)
- 30.5
- Third quartile (Q3)
- 38.5
- Largest
- 52
- Interquartile range (IQR)
- 8
- Range
- 30
- Standard deviation (sample)
- 7.299
- Standard deviation (population)
- 7.114
- Variance (sample)
- 53.27
- Sum
- 694
- Outlier fences
- 18.5 to 50.5
- Outliers
- 52
Paste numbers and see their quartiles, spread and outliers, with a live histogram and box plot on one axis.
How to use
- Paste or type your numbers, separated by spaces, line breaks or semicolons; a column copied from a spreadsheet works.
- Read the median and the sentence under it, then the full summary: quartiles, spread and any outliers.
- Look at the histogram and the box plot below it on the same axis. Drag the handle on the edge of the tallest bar, or type a bin width, to make the bars wider or narrower.
How it works
Descriptive statistics sum up a list of numbers in a few figures. Sort the list: the median is the middle value, the first quartile Q1 has a quarter of the values below it and the third quartile Q3 three quarters. The middle half of the data lies between them, and its width, the interquartile range IQR = Q3 − Q1, measures spread without being pulled by extreme values. The mean x̄ = Σx ÷ n and the standard deviation (with n − 1 for a sample) describe the same list in the way most formulas use.
A box plot draws the box from Q1 to Q3 with a line at the median. Tukey's rule marks a value as an outlier when it lies more than 1.5 × IQR below Q1 or above Q3; the whiskers reach the most extreme values inside those fences. In the example list Q1 = 30.5 and Q3 = 38.5, so IQR = 8 and the fences are 30.5 − 12 = 18.5 and 38.5 + 12 = 50.5: the 52 is an outlier. A histogram counts how many values fall in each equal-width bin, so it shows the shape: one peak or two, symmetric or skewed.
Quartiles use the same interpolation as spreadsheets' QUARTILE.INC (Hyndman and Fan type 7); other textbooks split the list slightly differently, so small lists can give a slightly different Q1 or Q3. An outlier by this rule is a value worth checking, not a mistake to delete. The histogram's shape depends on the bin width, which is why it is adjustable. Definitions follow the NIST/SEMATECH e-Handbook of Statistical Methods.
Worked example
What are the mean, median and standard deviation of 2, 4, 4, 4, 5, 5, 7, 9?
- 8 values with a sum of 40: mean = 40 ÷ 8 = 5.
- Sorted, the middle pair gives the median 4.5; the most frequent value is 4.
- Standard deviation: 2 for the whole population (÷ n), 2.138 as a sample (÷ n − 1).
Mean 5, median 4.5, standard deviation 2 (population) or 2.138 (sample).
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods: §1.3.3.14 HistogramUsed for: rules
- NIST/SEMATECH e-Handbook of Statistical Methods: §1.3.3.7 Box PlotUsed for: rules
- NIST/SEMATECH e-Handbook of Statistical Methods: §7.1.6 What are outliers in the data?Used for: rules, limits and cut-offs
Frequently asked questions
What is the difference between the mean and the median?
The mean adds everything up and divides by the count, so one very large value pulls it up. The median is simply the middle value, so it stays put. When the mean is well above the median, the data is skewed to the right.
What happens to labels or other nonnumeric entries in my pasted data?
They are listed as invalid and left out of the calculation. Check that list before using the result, especially if you pasted a spreadsheet column with headings.
Why is there no sample standard deviation for one number?
The sample formula divides by n − 1, which is zero for one observation. The population standard deviation is still zero because that one value has no spread.
How wide should the histogram bars be?
The automatic width gives about log₂ n + 1 bars (Sturges' rule) at a round width. Narrower bars show more detail but more noise; wider bars smooth it out. Try both: a real pattern survives the change.
Should I use the sample or the population standard deviation?
Use the sample figure (dividing by n − 1) when your numbers are a sample of a larger group, which is the usual case; the population figure (dividing by n) only when the list is the whole group. Both are in the summary.
Next you might need
More in Math & numbers
- Percentage calculator, private, runs on your device
- A/B test significance calculator, private, runs on your device
- Area of shapes, private, runs on your device
- Circle calculator, private, runs on your device
- Combinations and permutations calculator, private, runs on your device
- Complex number calculator, private, runs on your device





