Quartile Calculator
Quartiles split an ordered dataset into four equal parts. This calculator sorts your values, then reports Q1 (25th percentile), the median (Q2), Q3 (75th percentile) and the interquartile range so you can describe the middle 50% of your data without opening a stats package.
How to compute quartiles
-
1
Paste your dataset
Enter numbers separated by commas, spaces, semicolons or line breaks. Use a full stop as the decimal mark; non-numeric tokens are ignored.
-
2
Sort happens automatically
The calculator sorts the values ascending before computing percentiles.
-
3
Read the five-number summary
You will see count, min, Q1, median, Q3, max and IQR = Q3 - Q1.
-
4
Use IQR to spot outliers
Values below Q1 - 1.5 x IQR or above Q3 + 1.5 x IQR are classic Tukey outliers.
Linear interpolation method
This tool uses the linear-interpolation percentile definition (the same one NumPy calls linear and Excel calls PERCENTILE.INC). For a sorted sample of n values, the rank of the p-th percentile is (p / 100) * (n - 1). If that rank is not a whole number the result is interpolated between the two neighbouring values.
How definitions compare
| Method | Known as | Behaviour on small samples |
|---|---|---|
| Linear (this tool) | Excel INC, NumPy linear | Smooth, matches most stats courses |
| Exclusive | Excel EXC | Undefined for the very tails |
| Tukey hinges | A boxplot convention | Can give different Q1/Q3 on small samples |
Reading the IQR
- A small IQR relative to the range signals a tight cluster with long tails.
- A large IQR suggests a wide spread in the middle of the distribution.
- A quick outlier fence:
[Q1 - 1.5 * IQR, Q3 + 1.5 * IQR]. Points outside are worth inspecting.
Frequently Asked Questions
Excel has two functions: PERCENTILE.INC (linear, same as this tool) and PERCENTILE.EXC (exclusive). If you used EXC, tail quartiles will differ: especially on datasets with fewer than ten points.
Yes. Sign is preserved during sorting, so negative values sit at the bottom of the ordered list and feed into Q1 just like any positive value.
Yes. Line breaks, tabs, spaces, commas and semicolons all work as separators, so a column from Google Sheets or Excel will parse as-is.
Duplicates are kept. They count towards the sample size and shift the percentile ranks: this is the correct behaviour for empirical quartiles.
Yes. The numbers are sent to our server to calculate the result, and the step-by-step mode can also place them in the URL. Do not enter sensitive data.
Related Tools
BMI Calculator
Calculate body mass index from height and weight. Shows WHO category, healthy-weight range and limitations of BMI.
Social Security Calculator
Estimate a US Social Security retirement benefit from your PIA and claiming age. Compare monthly and annual amounts at 62, FRA 67 and 70.
Age Calculator
Calculate exact age in years, months and days from a birth date, plus total days, hours and the next birthday countdown.
Fahrenheit to Celsius Converter
Convert Fahrenheit temperatures to Celsius with the exact formula, Kelvin output and common reference points for weather, cooking and health.
Dog Age Calculator
Convert your dog's age to human years using modern veterinary research. Breed-size aware: small, medium and large dogs age differently.
Calorie Calculator
Estimate daily calorie needs for your goal using Mifflin-St Jeor BMR and activity factors. Includes deficit and surplus targets.
Tool available in other languages
- Calculadora de Cuartiles [ES]
- 분위수 계산기 [KO]
- Calculateur de quartiles [FR]
- Kvartilkalkylator [SV]
- เครื่องคำนวณค่าควอไทล์ [TH]
- 四分位数計算ツール [JA]
- Quartilrechner [DE]
- Kwartielcalculator [NL]
- Bộ tính toán phần vị [VI]
- Kalkulator Kuartil [ID]
- حاسبة الربيعيات [AR]
- Kalkulator kwartilów [PL]
- Calculadora de Quartis [PT]
- Calcolatore dei Quartili [IT]
- Калькулятор квартилей [RU]
- Çeyreklik Hesaplayıcı [TR]
- 四分位数计算器 [ZH]