Outlier Calculator

Enter your data to find any values that lie far outside the middle half.

Numbers separated by commas, spaces or new lines

Try

Result

You entered{2, 4, 6, 8}\left\{ 2,\ 4,\ 6,\ 8 \right\}

No outliers\displaystyle \text{No outliers}

Quartiles use the exclusive-median method: the median is left out of both halves.

Lower fence

−3\displaystyle -3

Upper fence

13\displaystyle 13

Q1

3\displaystyle 3

Q3

7\displaystyle 7

IQR

4\displaystyle 4
Show the work
  1. Sort the data

    Write the values in order from smallest to largest, so positions in the list are easy to count. The smallest is 22 and the largest is 88.

    2, 4, 6, 82,\ 4,\ 6,\ 8
  2. Quartiles of the data

    The lower quartile Q1Q_1 is the median of the lower half of the ordered list and the upper quartile Q3Q_3 is the median of the upper half; for an odd number of values the middle value is left out of both halves.

    Q1=3, Q3=7, IQR=7−3=4Q_1 = 3,\ Q_3 = 7,\ \mathrm{IQR} = 7 - 3 = 4
  3. Interquartile range rule

    A value is an outlier when it lies more than one and a half interquartile ranges below Q1Q_1 or above Q3Q_3. Those two limits are the fences, and here 1.5 IQR=61.5\,\mathrm{IQR} = 6.

    Using lower fence=Q1−1.5 IQR,upper fence=Q3+1.5 IQR\text{lower fence} = Q_1 - 1.5\,\mathrm{IQR},\quad \text{upper fence} = Q_3 + 1.5\,\mathrm{IQR}

    lower fence=3−6=−3upper fence=7+6=13\begin{gathered} \text{lower fence} = 3 - 6 = -3 \\ \text{upper fence} = 7 + 6 = 13 \end{gathered}
  4. Values outside the fences

    Every value lies between −3-3 and 1313, so none is an outlier.

  5. Result

    So there are no outliers.

Worked examples