Quartile Calculator
Enter a list of numbers to instantly calculate Q1, Q2 (median), Q3, IQR, and the five-number summary.
Use the Quartile Calculator
Dataset
Enter numbers separated by commas, spaces, or new lines.
Sorted Dataset (0 values)
Enter numbers on the left and press Calculate.
Minimum
—
Maximum
—
Range
—
Q1 — 25th Percentile
—
Lower quartile
Q2 — Median
—
50th percentile
Q3 — 75th Percentile
—
Upper quartile
Interquartile Range (IQR)
IQR = Q3 − Q1. Covers the middle 50% of your data.
Outlier fences: < —
or > —
—
Box Plot (Schematic)
Min
Q1
Q2
Q3
Max
Copied!
Summary
This quartile calculator sorts your dataset and splits it into four equal parts using the exclusive (Tukey) method. It returns Q1 (25th percentile), Q2 (median, 50th percentile), Q3 (75th percentile), and the interquartile range (IQR = Q3 − Q1). The five-number summary — minimum, Q1, median, Q3, maximum — is also shown for a complete distributional overview.
How it works
- Enter your numbers separated by commas, spaces, or newlines.
- The tool sorts the dataset in ascending order.
- Q2 (median) is the middle value of the sorted set.
- Q1 is the median of the lower half (values below Q2).
- Q3 is the median of the upper half (values above Q2).
- IQR is calculated as Q3 minus Q1.
Use cases
- Summarize a dataset for a statistics assignment or report.
- Identify outliers using the IQR fence method (Q1 − 1.5×IQR, Q3 + 1.5×IQR).
- Prepare a five-number summary for a box-and-whisker plot.
- Analyze score distributions for exams or surveys.
- Measure data spread and skewness in finance or research.
- Verify hand-calculated quartiles for homework or review.
Frequently Asked Questions
Last updated: 2026-06-04 · Reviewed by Nham Vu