Median Calculator

Calculate median, quartiles, and interquartile range from your data

Median Calculator

Calculate median, first quartile (Q1), and third quartile (Q3)

Enter numbers separated by commas or spaces (e.g., 1, 2, 3, 4, 5)

Definitions:

  • Median: The middle value when data is sorted
  • Q1: 25th percentile - 25% of data is below this value
  • Q3: 75th percentile - 75% of data is below this value
  • IQR: Q3 - Q1, measures the spread of the middle 50% of data

About Median Calculator

Our Median Calculator helps you find the central tendency and spread of your data using median, quartiles, and interquartile range. These measures are robust to outliers and provide valuable insights into your dataset.

Key Measures:

Median

The middle value when data is sorted in ascending order. For even number of values, it's the average of the two middle values.

Example: For [1, 3, 5, 7, 9], median = 5

First Quartile (Q1)

The value below which 25% of the data falls. Also called the 25th percentile.

Example: For [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Q1 = 3

Third Quartile (Q3)

The value below which 75% of the data falls. Also called the 75th percentile.

Example: For [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Q3 = 8

Interquartile Range (IQR)

The range of the middle 50% of the data, calculated as Q3 - Q1.

Example: For the above data, IQR = 8 - 3 = 5

Applications:

  • Data Analysis: Understanding central tendency and spread
  • Outlier Detection: Values beyond Q1 - 1.5×IQR or Q3 + 1.5×IQR are considered outliers
  • Box Plots: Creating visual representations of data distribution
  • Statistical Testing: Non-parametric tests often use median-based measures
  • Quality Control: Monitoring process variations in manufacturing