Statistics Calculator: Quartiles
Use this calculator to compute the quartiles from a set of numerical values.
Quartiles Calculator
Instructions
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 is integer, the first quartile is
If is not integer, the first quartile is interpolated using this formula:
Third quartile formulas
If is integer, the third quartile is
If is not integer, the third quartile is interpolated using this formula: