
How to Draw a Box and Whisker Plot Step by Step with Formula and Examples
What is a Box and Whiskers Plot?
Sometimes we need more elaborated details in various distributions or datasets that may not be fulfilled by the measures of any central tendency like mean, median, and mode. Information on the variability or the dispersion of the data demands a much more concrete foundation. This demand can be fulfilled by a box and whiskers plot. This may arise a predictable question that is “what is a box and a whiskers plot?” the question can be answered satisfactorily. A box plot is a graph that offers us a much firm indication or idea about how the values in the data should be spread. Box plots extend its lines from the boxes which are normally called whiskers. Whiskers are used to indicate variability outside the upper and the lower quartiles. Being non-parametric is one of the features of the Box plot. And this feature of the Box plot actually helps to display a variation of a statistical population in the samples where it does not make any assumptions about the underlying statistical distribution. The gaps between the different parts of the box indicate the degree of dispersion (spread) and the skewness present in the data, along with the show outliers. Box plots are drawn in two ways, i.e., we can choose to draw it either horizontally or vertically. A box plot is like a chart that we often use in exploratory data analysis.
Box plots have a five-number summary of a set of data that includes the minimum score, first quartile (lower), median, third quartile (upper), and the maximum score.
[Image will be Uploaded Soon]
Although it may seem that a box plot is primitive if compared to a histogram or a density plot, they have an advantage of occupying less space, which is quite useful when comparing distributions between many groups or datasets.
Elements of Box and Whisker Plot
The Minimum Score: The minimum score is the lowest score after excluding the outliers.
The Maximum Score: The maximum score is the highest score after excluding the outliers.
The Median: The median represents the midpoint of a data which can be shown using the line that divides the box into two halves (it is sometimes also called the second quartile). It is seen that most of the scores are much greater or equal to the value and half are less.
The Lower Quartile: We can also call the lower quartile as the first quartile which falls below 25 percent of the scores.
The Upper Quartile: The upper quartile is also known as the third quartile and it falls below 75 percent of the scores.
The Whiskers: The upper and the lower whiskers are the lines that represent the scores outside the middle 50%.
The Interquartile Range (or IQR): The interquartile range is the middle box plot that represent the scores between 25 percent to 75 percent i.e., 50 present scores.
Box and Whisker Plot Solved Examples
Question 1) Given below is a sample of the weight of 10 boxes of raisins in grams:
25, 28, 29, 29, 30, 34, 35, 35, 37, 38.
Solution
Step 1: First create a box-plot of the data and start from the smallest to the largest. But here the data is already in increasing order. So let us move on to our next step.
Step 2: Find the median in this step along with the mean of the two middle numbers.
Therefore, median = 30+34/2 = 32
Step 3: Moving on to our next step where we have to find the quartile. Our first quartile would be the median of the data points. That is to the left of the median so it’s 29. The third quartile would be at the right of the median so it’s 35.
Step 4: This is our last step and here we will be completing the five-number summary and do do this, we have to find the min and max. As we know that our min is 25 which is the smallest data point and our max is 38 which is the largest data point.
So finally, we can put our five-number summary as 25, 29, 32,35, and 38.
Question 2: The five-number summary data set that we have used in our above example, we will plot our box and whiskers plot.
25, 28, 31, 34, 37, and 40.
Solution 2:
Step 1: Start scaling and labelling the axis that will fit the summary.
[Image will be Uploaded Soon]
Step 2: Next we will be drawing a box from Q1 to Q3 vertically through the median. So the Q1 as we know was 29, Q3 was 35 and the median was 32.
[Image will be Uploaded Soon]
Step 3: Time for the whiskers to be drawn from Q1 to minimum and from Q3 to maximum. The minimum is 25 and the maximum is 38.
[Image will be Uploaded Soon]
And boom! our box and whiskers plot is ready.
FAQs on Box and Whisker Plot in Statistics Explained Clearly
1. What is a box and whisker plot?
A box and whisker plot is a graphical representation of data that shows its distribution using the five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. It visually displays how data is spread out and helps identify variability and outliers.
- The box represents the interquartile range (Q1 to Q3).
- The line inside the box shows the median.
- The whiskers extend to the minimum and maximum values (or to non-outlier limits).
2. How do you construct a box and whisker plot step by step?
To construct a box and whisker plot, first calculate the five-number summary and then draw the box and whiskers accordingly.
- Step 1: Arrange the data in ascending order.
- Step 2: Find the minimum and maximum values.
- Step 3: Calculate the median (Q2).
- Step 4: Find the first quartile (Q1) and third quartile (Q3).
- Step 5: Draw a number line, mark Q1 and Q3 to form the box, draw a line at the median, and extend whiskers to the minimum and maximum.
3. What is the five-number summary in a box plot?
The five-number summary consists of the minimum, Q1, median (Q2), Q3, and maximum of a data set. These five values describe the distribution of the data.
- Minimum: Smallest value
- Q1: Median of the lower half
- Median (Q2): Middle value
- Q3: Median of the upper half
- Maximum: Largest value
4. How do you find the interquartile range in a box and whisker plot?
The interquartile range (IQR) is calculated using the formula IQR = Q3 − Q1. It measures the spread of the middle 50% of the data.
- Find Q1 (first quartile).
- Find Q3 (third quartile).
- Subtract: IQR = Q3 − Q1.
5. How do you find the median in a box and whisker plot?
The median in a box and whisker plot is the middle value of the ordered data set and is shown as a line inside the box.
- If the number of values is odd, the median is the middle number.
- If even, the median is the average of the two middle numbers.
6. How do you identify outliers in a box and whisker plot?
An outlier in a box and whisker plot is a value that lies more than 1.5 × IQR below Q1 or above Q3.
- Calculate IQR = Q3 − Q1.
- Find lower bound: Q1 − 1.5 × IQR.
- Find upper bound: Q3 + 1.5 × IQR.
- Any value outside these bounds is an outlier.
7. What does the box represent in a box and whisker plot?
The box in a box and whisker plot represents the interquartile range (IQR), which contains the middle 50% of the data. It extends from Q1 to Q3.
- The left edge is Q1.
- The right edge is Q3.
- The line inside shows the median.
8. What is the difference between a box plot and a histogram?
The main difference is that a box plot shows summary statistics, while a histogram shows frequency distribution across intervals.
- A box and whisker plot displays the five-number summary and highlights median, quartiles, and outliers.
- A histogram groups data into bins and shows how often values occur in each range.
9. Can you give an example of a box and whisker plot with numbers?
A box and whisker plot can be created from the data set 3, 5, 7, 8, 12, 13, 14.
- Minimum = 3
- Q1 = 5
- Median = 8
- Q3 = 13
- Maximum = 14
10. What does a skewed box and whisker plot tell you?
A skewed box and whisker plot indicates that the data is not evenly distributed around the median.
- If the right whisker is longer, the data is positively skewed (right-skewed).
- If the left whisker is longer, the data is negatively skewed (left-skewed).
- If both sides are similar, the data is approximately symmetric.

































