Formula applied
The exact method behind this answer
CalculationTime keeps the method visible so the number can be checked instead of blindly trusted.
Sort the included values from lowest to highest. If n is odd, median = value at position (n + 1) ÷ 2. If n is even, median = average of values at positions n ÷ 2 and n ÷ 2 + 1.- Apply the formulaSort the included values from lowest to highest. If n is odd, median = value at position (n + 1) ÷ 2. If n is even, median = average of values at positions n ÷ 2 and n ÷ 2 + 1.24 median7 values sorted: 12, 18, 21, 24, 30, 34, 39 · middle position 4: 24