Quickly compute the first quartile (Q1), five‑number summary, interquartile range (IQR), and generate an interactive box plot to visualise your data distribution. Outlier detection included. Ideal for students, teachers, and data analysts.
The lower quartile (Q1), also called the first quartile or 25th percentile, is one of the three split points that divide a sorted dataset into four equal parts [reference:2][reference:3]. Q1 indicates that 25% of the data lie below this value and 75% lie above it [reference:4]. Together with the upper quartile (Q3), it defines the interquartile range (IQR), a robust measure of statistical dispersion [reference:5].
For sorted data x(1) ≤ x(2) ≤ … ≤ x(n)
Q1 = median of the lower half of the dataset
(if n is odd, the overall median is excluded)
Equivalent to the value at position 0.25 × (n + 1) (linear interpolation) [reference:6].
This calculator implements two widely used methods for quartile computation. You can see both results below:
| Method | Q1 Calculation | Common Use Cases |
|---|---|---|
| Tukey's Hinges (default) | Median of the lower half (excluding the overall median if odd count) [reference:9] | Textbooks, introductory statistics courses [reference:10] |
| Linear Interpolation | Position = 0.25 × (n + 1), interpolated if fractional [reference:11] | Excel PERCENTILE.INC, NumPy [reference:12] |
A class of 30 students took a mathematics test. The sorted scores are: 52, 58, 61, 63, 65, 67, 68, 70, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 95, 98. The calculated Q1 is 72.5, meaning 25% of the students scored below 72.5. The teacher can focus extra support on this group. The lower fence = Q1 − 1.5×IQR ≈ 72.5 − 1.5×13 = 53, so scores below 53 (like 52) are flagged as outliers for further investigation.
An HR team analyses salaries of 200 employees in a role. Q1 represents the upper limit for the lowest 25% of salaries. If Q1 is significantly below market average, it may indicate pay inequity or a need for salary structure adjustments. The IQR (Q3–Q1) reflects the spread of middle‑tier salaries, helping to define reasonable salary bands.
Dataset: 76, 78, 84, 85, 88, 89, 90, 91, 92, 95 (n = 10, even)
Sorted: 76, 78, 84, 85, 88, 89, 90, 91, 92, 95
? Click the "Test Scores" preset to replicate this calculation.
Identify students who need extra support; set baseline passing thresholds.
Evaluate pay equity; detect unusually low salaries.
Monitor low‑end deviations in production to ensure consistency.
Analyse low‑end distributions of patient metrics like blood pressure or glucose.
Examine low‑end consumer spending or satisfaction scores.
Outlier detection and feature scaling during data preprocessing.