Quartiles are numbers that divide a dataset into four equal parts. The first quartile (Q1) separates the lowest 25% of data. The second quartile (Q2) is the median. The third quartile (Q3) separates the highest 25% of data. To find quartiles in an ungrouped dataset, order the numbers and take the median of each half of data. For grouped data, use a formula involving lower boundary, frequency, and cumulative frequency of each class.