What this calculator does
Calculate quartiles, the interquartile range, fences, and five-number summary.
How it works
The calculator evaluates IQR = Q3 − Q1; Tukey fences = Q1 − 1.5IQR and Q3 + 1.5IQR. Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
1-
?data=Data values (comma or space separated)Text · Required · Default: 4, 7, 7, 9, 12, 15, 18, 21
Outputs
6-
q1First quartile Q1Number
-
q2Median Q2Number · Primary output
-
q3Third quartile Q3Number
-
iqrInterquartile rangeNumber
-
lowerFenceLower outlier fenceNumber
-
upperFenceUpper outlier fenceNumber
Inputs and results
The inputs are Data values (comma or space separated). Results include First quartile Q1, Median Q2, Third quartile Q3, Interquartile range, Lower outlier fence, Upper outlier fence.