Range & Interquartile Range (IQR) Calculator

Calculate statistical measures of spread for your dataset

Results


Basic Statistics
Count of values: 0
Minimum: -
Maximum: -
Range: -
Quartiles
First Quartile (Q1): -
Median (Q2): -
Third Quartile (Q3): -
Interquartile Range (IQR): -
Outlier Thresholds
Lower Bound (Q1 - 1.5×IQR): -
Upper Bound (Q3 + 1.5×IQR): -
Outliers
None
Sorted Data
-

Understanding Range and IQR


Range

The range is the simplest measure of variability, calculated as the difference between the maximum and minimum values in a dataset.

Formula: Range = Max - Min

While easy to calculate, the range is sensitive to outliers as it only considers the two extreme values.

Interquartile Range (IQR)

The IQR measures the spread of the middle 50% of data, between the first quartile (Q1) and third quartile (Q3).

Formula: IQR = Q3 - Q1

IQR is more robust than range as it's not affected by extreme values. It's commonly used to identify outliers.

Tips


  • Use IQR when your data has outliers or is skewed
  • Range is best for uniformly distributed data
  • Values outside Q1-1.5×IQR and Q3+1.5×IQR are considered outliers
  • IQR is used in box plots to show data distribution

Visualization


Box plot visualization will appear here when enabled