About the Quartile Calculator
You paste or type raw numbers and the calculator shows quartiles, the five-number summary and standard 1.5×IQR outlier fences. Students, teachers and analysts use it for homework checks, quick data checks, or to confirm software results. You choose one of three methods: Median of each half (the textbook rule used by many calculators and some TI-84 guides), Inclusive (matches Excel QUARTILE.INC and Google Sheets style), or Exclusive (matches Excel QUARTILE.EXC behavior). Everything runs in your browser and nothing is uploaded to a server. Results update as you type and you can copy output or make a shareable link that reopens with your numbers. The page also shows sorted data and flags values outside the fences so you can see why an entry is marked an outlier.
How to use it
- 1Paste or type your numbers separated by commas, spaces or new lines.
- 2Select a Method: Median of each half, Inclusive or Exclusive.
- 3Watch results update instantly without clicking a calculate button.
- 4Copy results or create a shareable link that reopens with your numbers.
Worked example
Input: 3, 5, 7, 8, 12 using Method = Median of each half. Sorted data: 3, 5, 7, 8, 12. Q1 = 4, Q2 = 7, Q3 = 10, IQR = 6. Five-number summary: 3, 4, 7, 10, 12. Outlier fences: -5 and 19. No outliers.
The formula
Sort the numbersMedian of each half: Q2 is the median; Q1 is the median of the lower half and Q3 of the upper half, leaving out the middle value when the count is oddInclusive: the quartile at fraction p sits at position 1 + p(n - 1) in the sorted list, reading between neighboursExclusive: position p(n + 1)IQR = Q3 - Q1; values more than 1.5 x IQR beyond Q1 or Q3 are flagged as outliersSource: Hyndman & Fan, Sample Quantiles (paper)R documentation, sample quantiles and typesMicrosoft Support, QUARTILE.EXC and QUARTILE.INC. Last checked 6 November 2026.
What it is good for
- Instant results in your browser with no upload or file needed.
- Three named methods so you can match your textbook or software.
- Shows sorted data, five-number summary and flags standard outliers.
- Only accepts raw lists of numbers, not grouped frequency tables.
- Different methods can give different answers for small datasets.
Questions people ask
Which method should I pick?
Pick the method your course or software uses. Textbooks often teach the median-of-halves rule. Excel and Google Sheets use the inclusive/interpolation style. Different choices can change results for small lists.
How does the calculator detect outliers?
The calculator uses Tukey-style fences. It computes IQR = Q3 - Q1, then flags values below Q1 - 1.5×IQR or above Q3 + 1.5×IQR as outliers.
Do I need to click calculate?
No. Results update instantly as you type or edit your numbers. There is no calculate button.
Is my data sent to a server?
No. Calculations run in your browser and nothing is uploaded. You can use the tool offline once the page has loaded.
Why do other sites give different quartiles for the same data?
Multiple valid definitions exist for sample quartiles. Software and textbooks use different conventions. See Hyndman and Fan for the common methods and how they differ.
Can I share my results?
Yes. You can copy results and create a link that reopens the page with your numbers and method selected.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.