Skip to main content

如何计算Box Plot

learn.whatIsHeading

A box plot (box-and-whisker plot) visualises the distribution of data using five statistics: minimum, Q1, median, Q3, and maximum. Outliers are shown as individual points beyond 1.5×IQR from the quartiles.

公式

Q1 = 25th percentile, Q2 (median) = 50th, Q3 = 75th; IQR = Q3 − Q1
Min
minimum value
Q1
first quartile (25th percentile)
Q2
median (50th percentile)
Q3
third quartile (75th percentile)
Max
maximum value
IQR
interquartile range — Q3 − Q1

分步指南

  1. 1Q2 (median): middle value of sorted data
  2. 2Q1: median of lower half
  3. 3Q3: median of upper half
  4. 4IQR = Q3 − Q1; outlier threshold = 1.5×IQR

例题解析

输入
Data: 2,4,5,7,8,9,11,13
结果
Min=2, Q1=4.5, Med=7.5, Q3=10, Max=13
输入
IQR = 5.5, outlier threshold = 8.25 from quartiles
结果
Any value < −3.75 or > 18.25 is an outlier

常见问题

What is a boxplot used for?

Boxplots visualize the distribution, spread, and outliers of data at a glance.

How are outliers determined in a boxplot?

Points beyond 1.5×IQR from Q1 or Q3 are typically marked as outliers.

Is the median always at the center of the box?

No, the line inside the box shows the median's position relative to Q1 and Q3, reflecting data skewness.

准备好计算了吗?尝试免费的 Box Plot 计算器

自己尝试一下 →

设置

隐私条款关于© 2026 PrimeCalcPro