Splits the data at the median and takes the median of each half to get the first and third quartiles. The interquartile range Q₃ − Q₁ measures the spread of the middle 50% of the data.