Statistics Calculator: Quartiles

Use this calculator to compute the quartiles from a set of numerical values.

Data is from: Population Sample

Quartiles Calculator


This calculator computes the first, second and third quartiles from a data set:

To calculate the quartiles from a set of values, enter the observed values in the box above. Values must be numeric and may be separated by commas, spaces or new-line. Data copied from from another document may also be pasted in the text box. You may ignore the Population/Sample selector because it is only relevant when calculating the variance or the standard deviation. Press the "Submit Data" button to perform the computation. To clear the calculator and enter a new data set, press "Reset".

What are the quartiles

The first quartile, or 25th percentile xL (also written as Q1), is the number for which 25% of values in the data set are smaller than xL.

The second quartile or 50th percentile, xm (also written as Q2) is also known as the median. It represents the value for which 50% of observations are lower and 50% are higher.

The third quartile or 75th percentile, xH (Q3) is the value such that 75% of the observations are less than xH

How are quartiles calculated

This calculator uses the following system to find the quartiles:

n is the number of observations. x1, x2 ... xn are the values sorted from the lowest to the highest.

By 'integer' we mean the integer portion and by decimal, the decimal portion (the part of the number following the decimal point) of a number.

First quartile formulas

If $\frac{1}{4}(n+1)$ is integer, the first quartile is $x_{\frac{1}{4}(n+1)}$

If $\frac{1}{4}(n+1)$ is not integer, the first quartile is interpolated using this formula:
$x_{integer(\frac{1}{4}(n+1))}+(x_{integer(\frac{1}{4}(n+1))+1}) (decimal(\frac{1}{4}(n+1)))$

Third quartile formulas

If $\frac{3}{4}(n+1)$ is integer, the third quartile is $x_{\frac{3}{4}(n+1)}$

If $\frac{3}{4}(n+1)$ is not integer, the third quartile is interpolated using this formula:
$x_{integer(\frac{3}{4}(n+1))}+(x_{integer(\frac{3}{4}(n+1))+1}) (decimal(\frac{3}{4}(n+1)))$

Another Calc

converter square feet to square metres 7 mm equivalent in inches conversions fahrenheit to celsius how to find std deviation convert 11.7 cm to inches 2.5 cm convert to inches ton to pound converter dimension converter mm to inches ladder method lcm how do you draw a box and whisker plot what does water boil at fahrenheit pounds and kilograms conversion factor formula convert celsius to kelvin centigrade to fahrenheight conversion sqm sqft 40mm is how many cm turning a decimal into a fraction calculator non repeating decimals how to calculate lower quartile create a boxplot in excel symbol for standard deviation on calculator mean absolute deviation worksheet answers convert 9 celsius to fahrenheit 63 cm equals how many inches scientific calculator casio online free conversion celsius a fahrenheit formula convert pounds to tons calculator converter from inches to mm how many kilograms are in one milligram converting units squared sq mtr to sq yard how to reduce a fraction to its lowest term convert decimeters to centimeters converter fahrenheit to celsius calculator convert square feet into gaj convert mg to kg calculator feet to sq ft conversion calculator