Interquartile Range (IQR)
IQR = Q₃ - Q₁Spread of middle 50% of data
Robust measure of dispersion, unaffected by outliers
Calculate quartiles (Q1, Q2, Q3), interquartile range, and percentile ranks for any dataset.
https://www.solvezi.com/statistics/quartile-calculator
Understand data distribution and identify outliers
| # | Value | Action |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 |
10 values (minimum 4 recommended)
Minimum
0.0000
Maximum
0.0000
Q₁ (25th)
0.0000
Q₂ (Median)
0.0000
Q₃ (75th)
0.0000
Interquartile Range (IQR)
0.0000
Q₃ - Q₁
Outliers
None ✓
Lower Fence
0.0000
Q₁ - 1.5 × IQR
Upper Fence
0.0000
Q₃ + 1.5 × IQR
Descriptive Statistics
Understanding Quartiles
Quartiles divide data into four equal parts.
• Q₁ (First Quartile): 25% of data lies below this value
• Q₂ (Second Quartile/Median): 50% of data lies below this value
• Q₃ (Third Quartile): 75% of data lies below this value
• IQR = Q₃ - Q₁ (measures statistical dispersion)
• Outliers: Values below Q₁ - 1.5×IQR or above Q₃ + 1.5×IQR
Quartile Calculator • Understand data distribution and identify outliers
Master quartiles — understand the five-number summary, calculate Q₁, Q₂ (median), and Q₃, interpret IQR and outlier fences, and apply quartile-based analysis to education, finance, healthcare, and quality control.
Quartiles divide a dataset into four equal parts. They provide a five-number summary that describes data distribution without assuming any specific shape.
"Where are the boundaries that split my data into four equal quarters, and what does that reveal about spread, central tendency, and outliers?"
25% of data falls below this value
Lower quarter of data
Middle value — 50% below, 50% above
Central tendency
75% of data falls below this value
Upper quarter of data
IQR = Q₃ - Q₁Spread of middle 50% of data
Robust measure of dispersion, unaffected by outliers
Lower Fence = Q₁ - 1.5 × IQRThreshold for lower outliers
Values below are potential outliers
Upper Fence = Q₃ + 1.5 × IQRThreshold for upper outliers
Values above are potential outliers
Smallest value ≥ Lower FenceBottom whisker in box plot
Lowest non-outlier value
Largest value ≤ Upper FenceTop whisker in box plot
Highest non-outlier value
Values < L.Fence or > U.FenceExtreme values beyond fences
Plotted as individual points in box plot
Include median in halves for odd nBest for: Box plots, exploratory analysis
Standard in most statistical software
Exclude median from halvesBest for: Textbook examples
Common in introductory statistics
Position = (n+1)/4, 3(n+1)/4Best for: Consistent with percentiles
Uses interpolation between values
Includes 0th and 100th percentilesBest for: Microsoft Excel compatibility
QUARTILE.EXC excludes extremes
Important: Different software may use different quartile methods. Our calculator uses Tukey's method (standard for box plots). Always verify which method your software uses, especially for small samples where differences matter.
Data concentrated near median
Data widely spread
Approximately symmetric distribution
Right-skewed distribution
Left-skewed distribution
| Percentile | Name | Quartile Equivalent |
|---|---|---|
| 0thth | Minimum | - |
| 25thth | First Quartile (Q₁) | Q₁ |
| 50thth | Median (Q₂) | Q₂ |
| 75thth | Third Quartile (Q₃) | Q₃ |
| 100thth | Maximum | - |
Compare student performance across percentiles
Understand wealth distribution and risk
Identify service level patterns
Monitor manufacturing consistency
Fair compensation and promotion decisions
Market segmentation and pricing
Arrange all values in ascending order
Middle value. For even n, average two middle values
Median of lower half (values below Q₂)
Median of upper half (values above Q₂)
IQR = Q₃ - Q₁ (spread of middle 50%)
Lower = Q₁ - 1.5×IQR, Upper = Q₃ + 1.5×IQR
Values outside fences are potential outliers
Using different calculation methods without noting
Always specify which quartile method you used (Tukey is standard)
Our calculator uses Tukey's method (including median in halves)
Interpreting quartiles as averages
Quartiles are positional measures, not averages of subsets
Think: '25% of data is below Q₁' not 'average of lower half'
Forgetting that quartiles can repeat values
With repeated values, Q₁, Q₂, Q₃ may equal actual data points
This is normal, especially with small or discrete data
Using IQR with bimodal distributions
IQR may not represent typical spread for multimodal data
Check histogram shape before relying solely on IQR
Quartiles provide a robust five-number summary (min, Q1, median, Q3, max) that describes data distribution without assuming normality. They're less sensitive to outliers than mean and standard deviation, making them ideal for skewed data like income, house prices, or response times.
For n = even: Q2 averages two middle values. Split data at median (including both middle values). Q1 is median of lower half; Q3 is median of upper half. Example: n=10 → Q2 = (5th+6th)/2; Q1 = median of positions 1-5; Q3 = median of positions 6-10.
Yes, especially with discrete data or small samples. Q₁ = Q₂ = Q₃ indicates at least 75% of data points share the same value. This suggests very low variability or many repeated values. For continuous data, equal quartiles are rare.
Quartiles divide data into 4 groups (25% each). Quintiles divide into 5 groups (20% each). Quintiles are common in economics (income quintiles) and education (test score quintiles). More generally, deciles (10 groups) and percentiles (100 groups) provide finer granularity.
The 1.5×IQR rule flags potential outliers: values below Q₁ - 1.5×IQR or above Q₃ + 1.5×IQR. This rule works well for approximately normal data (flags ~0.7% of observations) and is robust for skewed distributions. For extreme outliers, use 3×IQR.
Tukey's method (our calculator): R, Python (default). Moore & McCabe: SAS, SPSS (some procedures). Mendenhall: Excel QUARTILE.EXC. TI calculators use yet another method. Always verify which method your software uses, especially for small samples where differences matter most.
Quartiles become more stable with larger samples (n ≥ 30). For n < 10, quartiles may be unreliable — the 25th/75th percentiles estimate coarse positions. Our calculator warns when sample size is insufficient. For small samples, consider reporting median and range instead.
Box plots visualize the five-number summary: bottom whisker = min (within fences), box bottom = Q₁, line in box = Q₂ (median), box top = Q₃, top whisker = max (within fences). Outliers appear as individual points. The 'box' represents IQR, showing middle 50% of data.
1915-2000
Popularized quartiles and box plots (1977)
Also coined 'bit' and 'software'
1822-1911
Early work on percentiles (1885)
Founded psychometrics and eugenics
1857-1936
Formalized quartile concepts
Father of mathematical statistics
Did You Know? John Tukey, who invented the box plot in 1977, popularized using quartiles and the five-number summary for exploratory data analysis. He believed in letting data "speak for itself" before formal statistical testing. The box plot's simplicity made quartile-based analysis accessible to non-statisticians worldwide.
Five-Number Summary:
"The distribution of house prices shows: Min = $150K, Q₁ = $210K, Median = $275K, Q₃ = $340K, Max = $450K, IQR = $130K."Box Plot Description:
"The box plot reveals a right-skewed distribution with median at $275K, interquartile range of $130K, and three outliers above $500K."Always include: All five numbers (min, Q₁, median, Q₃, max) for full distribution context, plus IQR for spread. Note any outliers and the quartile calculation method used if not Tukey's standard.
Quartile calculator and complete guide. Calculate Q1, Q2 (median), Q3, IQR, fences, and identify outliers. Learn quartile calculation methods (Tukey, Moore, Mendenhall), interpret five-number summary, and apply to education, finance, healthcare, and quality control. Essential for descriptive statistics and box plots.