The Quartile Calculator is a free online tool. Find Q1, median, Q3 and the interquartile range (IQR) of a data set, with outlier fences. It runs in your browser, needs no sign-up and shows the result as you type.

What is the Quartile Calculator?
Statistics summarise a list of numbers. The mean, median and mode describe the centre, while range, variance and standard deviation describe spread. Each suits a different kind of data.
The Quartile Calculator reads your values and returns the result with clear steps.
This tool asks for 1 input: Numbers (comma, space or new line). Maths tools reduce careless errors. They are especially helpful for checking homework, verifying exam practice and handling long decimals.
What each input means
- Numbers (comma, space or new line) accepts longer, multi-line text, so you can paste a whole block at once.
How to use the Quartile Calculator
- Paste or type your content into Numbers (comma, space or new line). A sample is pre-filled so you can see how it works.
- Review the result. It updates as you type, or press Calculate to refresh it.
- Copy the result or download it as a text file, or press Reset to start again.
Example with real values
With the pre-filled values (Numbers (comma, space or new line) = 3, 7, 8, 5, 12, 14, 21, 13, 18), the tool returns the following.
| Sorted data | 3, 5, 7, 8, 12, 13, 14, 18, 21 |
| Minimum | 3 |
| Q1 (25th percentile) | 6 |
| Median (Q2) | 12 |
| Q3 (75th percentile) | 16 |
| Maximum | 21 |
| IQR (Q3 - Q1) | 10 |
| Lower outlier fence | -9 |
Change any input and the output updates straight away, so you can try your own numbers or text and compare the results.
Understanding the result
The result is shown as a table of 9 rows, including Sorted data, Minimum, Q1 (25th percentile), Median (Q2), Q3 (75th percentile) and Maximum. Each row comes from the same inputs, so changing one value refreshes the whole table. Use the copy button to take all the rows with you.
When to use it
- Analysing exam scores and surveys
- Checking lab and research data
- Business and finance reports
- Learning statistics
- Spotting outliers
How people use maths tools
These are typical situations where someone reaches for a tool in this category.
- A student checks the working for a homework problem and wants to see if the final answer matches.
- A teacher prepares answer keys and wants quick values for several sets of numbers.
- A parent helps a child with maths and checks the answer before explaining the method.
Tips for better results
- Sort the data first to check for outliers.
- Use the median when data is skewed.
- Say whether it is a sample or a population.
Common mistakes to avoid
- Using population formulas for samples.
- Ignoring outliers.
- Entering values with inconsistent separators.
Terms worth knowing
- Verification. Checking the answer by a second method.
- Edge case. An unusual input such as zero or a negative number.
- Precision. The number of digits kept in the answer.
- Rounding. Shortening a result after the calculation.
Online tool vs doing it by hand
Calculating by hand teaches you the method, and a calculator is the best way to confirm the result. Use both: work the problem first, then compare.
Quick checklist before you rely on the result
- Check that Numbers (comma, space or new line) is typed in the form the tool expects, with no stray spaces or symbols.
- Run the sample values once so you know what a correct result looks like.
- Change one input at a time to see which value moves the answer most.
- Keep a copy of the input and the result if you need to show your working later.
Accuracy, privacy and limits
Everything you enter is processed in your browser and is not uploaded to our servers. Results use standard double-precision arithmetic and are rounded for display. For exact symbolic answers or proofs, work through the steps yourself.
Quartile Calculator FAQs
How should I enter data?
Separate numbers with commas, spaces or new lines.
What is the difference between sample and population?
Samples divide by n−1; populations divide by n.
Is there a limit?
Large lists work, within browser limits.
Is the Quartile Calculator free?
Yes. It is completely free, with no sign-up, no limits on use and no watermark.
Does it work on mobile?
Yes. The page is responsive and works in modern mobile and desktop browsers.
What do I need to enter in the Quartile Calculator?
You will be asked for Numbers (comma, space or new line). Sample values are pre-filled so you can see a working result before you type your own.
Why might my result differ from another tool?
Tools can differ in rounding, default settings or the formula variant they use. Compare the inputs and any options first, and use the result that matches your official or required method.
Is my input saved or shared?
No. Your input is processed in your browser. It is not stored on our servers and is not shared with anyone.