Mathematics· Exact, step by step
Calculate the IQR and Tukey fences, and flag outliers in a data set.
Formula
IQR = Q3 − Q1; fences = Q1 − 1.5·IQR and Q3 + 1.5·IQR
Worked example
2, 4, 5, 6, 7, 8, 30: Q1 = 4.5, Q3 = 7.5, IQR = 3, fences 0 and 12, so 30 is an outlier.
Free to use with a link back. Nothing you type is shared.
Preparing citation…
Keep exploring
Calculate Q1, the median (Q2) and Q3 with the five-number summary for a box plot.
Open calculatorFind the sample and population variance and standard deviation of a data set, with each value's contribution.
Open calculatorFind the value at any percentile of a data set, or the percentile rank of a value.
Open calculator