Median Calculator

Enter your values to find the median - the middle value in a sorted dataset.

Value

Formula - The median is the middle value in a sorted dataset. If there is an even number of values, the median is the average of the two middle values.

Batch Import - You can paste multiple values separated by spaces. They will be automatically distributed across the input fields.

When to use median - The median is particularly useful when your data contains outliers, as it is less affected by extreme values than the mean.

What is median

What is the Median?

The median is a measure of central tendency that represents the middle value in a sorted dataset.

Unlike the arithmetic mean, the median is not affected by extreme values or outliers. This makes it a more robust measure when your data contains unusually high or low values.

The median is widely used in statistics, economics, and data analysis.

Formula

Median Formula

To calculate the median manually:

Median = middle value (odd) or (middle₁ + middle₂) / 2 (even)

The median is the middle value in a sorted dataset.

Example

For [3, 7, 9, 12, 15], the median is 9. For [3, 7, 9, 12, 15, 18], the median is (9+12)/2 = 10.5.

Examples

When to use median

The median is preferred in many scenarios:

Income Statistics

Median income is more representative than average income.

House Prices

Median house prices are better market indicators.

Grade Analysis

The median better shows how most students performed.