📊 Interquartile Range (IQR) Calculator
Paste raw observations or enter a five-number summary to compute the interquartile range, Tukey fences and a list of outlier candidates.
📐 計算公式 / 原理
IQR = Q3 − Q1;異常值下限 = Q1 − 1.5×IQR;異常值上限 = Q3 + 1.5×IQR
The interquartile range (IQR) is the difference between the third and first quartiles, describing the spread of the middle 50% and more robust than the range. Raw-data mode can use linear interpolation (R type 7), median-inclusive expansion (R type 6) or Tukey hinges; results can differ slightly with odd/even samples and repeated values, and the page states the method used. Under the Tukey 1.5×IQR rule, observations below Q1−1.5×IQR or above Q3+1.5×IQR are outliers, used for box-plot whiskers and outlier identification.
📐 計算公式與說明
IQR = Q3 − Q1
異常值邊界:[Q1 − 1.5·IQR, Q3 + 1.5·IQR]
異常值邊界:[Q1 − 1.5·IQR, Q3 + 1.5·IQR]
超出邊界的資料點可視為異常值。