Quartiles — compute Q1, median and Q3

Compute the lower quartile Q1, the median and the upper quartile Q3.
37851214211318

Sorted: 3, 5, 7, 8, 12, 13, 14, 18, 21

Q1
Median (Q2)
Q3
All difficulties
0%
Accuracy
0
Current streak
0
Total answers
0
Correct

Quartiles split ordered data into four equal parts. Here you practise finding the lower quartile, the median and the upper quartile.

What does the generator do?

The generator lists 7 to 11 distinct numbers from 1 to 50 and asks for three values: Q1, the median and Q3.

How to solve

First sort the numbers. The median is the middle value. Then split the data into a lower and an upper half (leave out the middle value) and find the median of each half — those are Q1 and Q3.