Median CalculatorFormula

## How to Find the Median

### Steps

1. Sort all values from least to greatest
2. If n is odd, the median is the value at position (n+1)/2
3. If n is even, the median is the average of the two middle values

The median splits the dataset so that half the values lie below it and half above it. Unlike the mean, the median is resistant to outliers.

Esempio Risolto

Find the median of the sorted values 3, 7, 9, 15, 22.

  1. Values already sorted: 3, 7, 9, 15, 22
  2. n = 5 (odd), so median position = (5+1)/2 = 3rd value
  3. Median = 9