Sort the data in ascending order
Find the median of the data set
Split the data into a lower half and an upper half
Find the median of the lower half to get the first quartile (Q1)
Find the median of the upper half to get the third quartile (Q3)
The second quartile (Q2) is the median of the entire data set
If the data set has an odd number of values, exclude the overall median when splitting into halves
If the data set has an even number of values, split the data into two equal halves
Use interpolation if required by the quartile method being used
