Interquartile Range Notes
These Interquartile Range Notes explain how to measure the spread of the middle half of a list of numbers, with the working shown line by line. The method finds the lower and the upper quartile and takes one away from the other. Because the smallest and the largest quarter of the values are left out, one unusually big or small value barely changes the answer, unlike the range. The result is then drawn as the width of the box on a box plot, so the pattern can be seen as well as worked out.
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the lower and the upper quartile.
- Substitute the quartiles into the formula.
- Subtract to get the interquartile range.
- Show the interquartile range on a box plot.
Formula: Interquartile Range Formula
This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.
Useful Tips to Remember
The interquartile range is the upper quartile minus the lower quartile, \(\text{IQR} = Q_3 - Q_1\). Put the data in order before finding the quartiles. The IQR describes the spread of the middle half of the data and is not affected by extreme values. It is used to find outliers with the \(1.5 \times \text{IQR}\) rule.
Required knowledge
- How to find the lower and upper quartiles, covered in the Quartiles Calculator.
Where Is the Interquartile Range Used?
The interquartile range is the difference between the upper and lower quartiles, showing the spread of the middle half of the data. Because it ignores the lowest and highest quarters, it is not affected by extreme values, which makes it more reliable than the range for skewed data like incomes and house prices. It is used to compare consistency between groups, to draw box plots, and to detect outliers with the \(1.5 \times \text{IQR}\) rule. Researchers, doctors and analysts use it to describe typical variation.
- Comparing the consistency of test scores between classes
- Describing the spread of incomes and house prices
- Finding outliers with the \(1.5 \times \text{IQR}\) rule
- Setting the length of the box on a box plot
- Reporting typical ranges in medical measurements
Interquartile Range Practice Problems
Example 1 uses eight ordered values, and Example 2 uses nine unordered values. Examples 3 and 4 give you two more problems of the same kind to try. Try finding both quartiles yourself before opening each example.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the lower and the upper quartile.
- Substitute the quartiles into the formula.
- Subtract to get the interquartile range.
- Show the interquartile range on a box plot.
Formula
Formula: Interquartile Range Formula
This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the spread of the middle half of \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.
Step 3
Step 3 - Find the lower and the upper quartile.
In this problem: The quartiles of the list are \(Q_1 = 2.5\) and \(Q_3 = 6.5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Sort the values from smallest to largest.
- Find the median of the whole list.
- Split the sorted list into a lower half and an upper half.
- Find the median of each half.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the three quartiles of \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).
Step 2
Step 2 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).
Step 3
Step 3 - Find the median of the whole list.
In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 4.5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(8\) at the last value, so \(n = 8\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(8\) at the last value, so \(n = 8\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(8\) gives position \(4.5\), which is halfway between positions \(4\) and \(5\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(4\) and \(5\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(4,\; 5\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(4 + 5 = 9\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(4,\; 5\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(4 + 5 = 9\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(4,\; 5\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(9\) and \(n\) with \(2\) gives \(\bar{x} = \frac{9}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(9 \div 2 = 4.5\).
Final Answer
Final Answer
Step 4
Step 4 - Split the sorted list into a lower half and an upper half.
In this problem: There is an even number of values, so the sorted list splits straight down the middle.
Step 5
Step 5 - Find the median of each half.
In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.
Step 5a
Step 5a - Find the median of the lower half.
In this problem: The median of \(1,\; 2,\; 3,\; 4\) is \(2.5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(1,\; 2,\; 3,\; 4\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(1,\; 2,\; 3,\; 4\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(1,\; 2,\; 3,\; 4\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(4\) at the last value, so \(n = 4\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(2\) and \(3\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(2,\; 3\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(2 + 3 = 5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(2,\; 3\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(2 + 3 = 5\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(2,\; 3\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(5\) and \(n\) with \(2\) gives \(\bar{x} = \frac{5}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(5 \div 2 = 2.5\).
Final Answer
Final Answer
Step 5b
Step 5b - Find the median of the upper half.
In this problem: The median of \(5,\; 6,\; 7,\; 8\) is \(6.5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(5,\; 6,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(5,\; 6,\; 7,\; 8\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(5,\; 6,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(4\) at the last value, so \(n = 4\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(6\) and \(7\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(6,\; 7\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(6 + 7 = 13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(6,\; 7\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(6 + 7 = 13\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(6,\; 7\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(13\) and \(n\) with \(2\) gives \(\bar{x} = \frac{13}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(13 \div 2 = 6.5\).
Final Answer
Final Answer
Final Answer
Step 4
Step 4 - Substitute the quartiles into the formula.
In this problem: Replacing \(Q_3\) with \(6.5\) and \(Q_1\) with \(2.5\) gives \(IQR = 6.5 - 2.5\).
Step 5
Step 5 - Subtract to get the interquartile range.
In this problem: Subtracting gives \(6.5 - 2.5 = 4\).
Step 6
Step 6 - Show the interquartile range on a box plot.
In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the lower and the upper quartile.
- Substitute the quartiles into the formula.
- Subtract to get the interquartile range.
- Show the interquartile range on a box plot.
Formula
Formula: Interquartile Range Formula
This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the spread of the middle half of \(3,\; 7,\; 8,\; 5,\; 12,\; 14,\; 21,\; 13,\; 18\).
Step 2
Step 2 - Write the formula.
In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.
Step 3
Step 3 - Find the lower and the upper quartile.
In this problem: The quartiles of the list are \(Q_1 = 6\) and \(Q_3 = 16\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Sort the values from smallest to largest.
- Find the median of the whole list.
- Split the sorted list into a lower half and an upper half.
- Find the median of each half.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the three quartiles of \(3,\; 7,\; 8,\; 5,\; 12,\; 14,\; 21,\; 13,\; 18\).
Step 2
Step 2 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(3,\; 5,\; 7,\; 8,\; 12,\; 13,\; 14,\; 18,\; 21\).
Step 3
Step 3 - Find the median of the whole list.
In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 12\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(3,\; 5,\; 7,\; 8,\; 12,\; 13,\; 14,\; 18,\; 21\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(3,\; 5,\; 7,\; 8,\; 12,\; 13,\; 14,\; 18,\; 21\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(9\) at the last value, so \(n = 9\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(3,\; 5,\; 7,\; 8,\; 12,\; 13,\; 14,\; 18,\; 21\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(9\) at the last value, so \(n = 9\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(9\) gives position \(5\), so one value sits in the middle.
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The value at position \(5\) of the sorted list is \(12\).
Final Answer
Step 4
Step 4 - Split the sorted list into a lower half and an upper half.
In this problem: There is an odd number of values, so the median \(12\) is left out and the values either side of it make the two halves.
Step 5
Step 5 - Find the median of each half.
In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.
Step 5a
Step 5a - Find the median of the lower half.
In this problem: The median of \(3,\; 5,\; 7,\; 8\) is \(6\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(3,\; 5,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(3,\; 5,\; 7,\; 8\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(3,\; 5,\; 7,\; 8\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(4\) at the last value, so \(n = 4\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(5\) and \(7\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(5,\; 7\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(5 + 7 = 12\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(5,\; 7\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(5 + 7 = 12\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(5,\; 7\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(12\) and \(n\) with \(2\) gives \(\bar{x} = \frac{12}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(12 \div 2 = 6\).
Final Answer
Final Answer
Step 5b
Step 5b - Find the median of the upper half.
In this problem: The median of \(13,\; 14,\; 18,\; 21\) is \(16\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(13,\; 14,\; 18,\; 21\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(13,\; 14,\; 18,\; 21\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(13,\; 14,\; 18,\; 21\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(4\) at the last value, so \(n = 4\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(14\) and \(18\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(14,\; 18\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(14 + 18 = 32\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(14,\; 18\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(14 + 18 = 32\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(14,\; 18\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(32\) and \(n\) with \(2\) gives \(\bar{x} = \frac{32}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(32 \div 2 = 16\).
Final Answer
Final Answer
Final Answer
Step 4
Step 4 - Substitute the quartiles into the formula.
In this problem: Replacing \(Q_3\) with \(16\) and \(Q_1\) with \(6\) gives \(IQR = 16 - 6\).
Step 5
Step 5 - Subtract to get the interquartile range.
In this problem: Subtracting gives \(16 - 6 = 10\).
Step 6
Step 6 - Show the interquartile range on a box plot.
In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the lower and the upper quartile.
- Substitute the quartiles into the formula.
- Subtract to get the interquartile range.
- Show the interquartile range on a box plot.
Formula
Formula: Interquartile Range Formula
This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the spread of the middle half of \(10,\; 20,\; 30,\; 40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.
Step 3
Step 3 - Find the lower and the upper quartile.
In this problem: The quartiles of the list are \(Q_1 = 15\) and \(Q_3 = 45\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Sort the values from smallest to largest.
- Find the median of the whole list.
- Split the sorted list into a lower half and an upper half.
- Find the median of each half.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the three quartiles of \(10,\; 20,\; 30,\; 40,\; 50\).
Step 2
Step 2 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(10,\; 20,\; 30,\; 40,\; 50\).
Step 3
Step 3 - Find the median of the whole list.
In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 30\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(10,\; 20,\; 30,\; 40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(10,\; 20,\; 30,\; 40,\; 50\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(5\) at the last value, so \(n = 5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(10,\; 20,\; 30,\; 40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(5\) at the last value, so \(n = 5\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(5\) gives position \(3\), so one value sits in the middle.
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The value at position \(3\) of the sorted list is \(30\).
Final Answer
Step 4
Step 4 - Split the sorted list into a lower half and an upper half.
In this problem: There is an odd number of values, so the median \(30\) is left out and the values either side of it make the two halves.
Step 5
Step 5 - Find the median of each half.
In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.
Step 5a
Step 5a - Find the median of the lower half.
In this problem: The median of \(10,\; 20\) is \(15\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(10,\; 20\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(10,\; 20\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(10,\; 20\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(2\) gives position \(1.5\), which is halfway between positions \(1\) and \(2\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(10\) and \(20\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(10,\; 20\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(10 + 20 = 30\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(10,\; 20\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(10 + 20 = 30\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(10,\; 20\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(30\) and \(n\) with \(2\) gives \(\bar{x} = \frac{30}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(30 \div 2 = 15\).
Final Answer
Final Answer
Step 5b
Step 5b - Find the median of the upper half.
In this problem: The median of \(40,\; 50\) is \(45\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(40,\; 50\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(2\) gives position \(1.5\), which is halfway between positions \(1\) and \(2\).
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The two middle values are \(40\) and \(50\), so the median is their mean.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the total of the values and how many values there are.
- Substitute the total and the count into the formula.
- Divide to get the mean.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the mean of the values \(40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: The mean shares the total equally between the values, so the total is divided by how many there are.
Step 3
Step 3 - Find the total of the values and how many values there are.
In this problem: The formula needs the total \(\Sigma x\) of the values and their count \(n\).
Step 3a
Step 3a - Add the values together.
In this problem: Adding the values in order gives \(40 + 50 = 90\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Add the values together to get the total.
Step 1
Step 1 - Set up the problem.
In this problem: We are adding the \(2\) values \(40,\; 50\) together.
Step 2
Step 2 - Write the formula.
In this problem: The total is what every value adds up to, written as the sum of all the values.
Step 3
Step 3 - Add the values together to get the total.
In this problem: Adding them in order gives \(40 + 50 = 90\).
Final Answer
Step 3b
Step 3b - Count the values.
In this problem: Counting along the list reaches \(2\) at the last value, so \(n = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(40,\; 50\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(2\) at the last value, so \(n = 2\).
Final Answer
Step 4
Step 4 - Substitute the total and the count into the formula.
In this problem: Replacing \(\Sigma x\) with \(90\) and \(n\) with \(2\) gives \(\bar{x} = \frac{90}{2}\).
Step 5
Step 5 - Divide to get the mean.
In this problem: Dividing the total by the count gives \(90 \div 2 = 45\).
Final Answer
Final Answer
Final Answer
Step 4
Step 4 - Substitute the quartiles into the formula.
In this problem: Replacing \(Q_3\) with \(45\) and \(Q_1\) with \(15\) gives \(IQR = 45 - 15\).
Step 5
Step 5 - Subtract to get the interquartile range.
In this problem: Subtracting gives \(45 - 15 = 30\).
Step 6
Step 6 - Show the interquartile range on a box plot.
In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the lower and the upper quartile.
- Substitute the quartiles into the formula.
- Subtract to get the interquartile range.
- Show the interquartile range on a box plot.
Formula
Formula: Interquartile Range Formula
This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the spread of the middle half of \(6,\; 47,\; 49,\; 15,\; 42,\; 41,\; 7,\; 39,\; 43,\; 40,\; 36\).
Step 2
Step 2 - Write the formula.
In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.
Step 3
Step 3 - Find the lower and the upper quartile.
In this problem: The quartiles of the list are \(Q_1 = 15\) and \(Q_3 = 43\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Sort the values from smallest to largest.
- Find the median of the whole list.
- Split the sorted list into a lower half and an upper half.
- Find the median of each half.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the three quartiles of \(6,\; 47,\; 49,\; 15,\; 42,\; 41,\; 7,\; 39,\; 43,\; 40,\; 36\).
Step 2
Step 2 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(6,\; 7,\; 15,\; 36,\; 39,\; 40,\; 41,\; 42,\; 43,\; 47,\; 49\).
Step 3
Step 3 - Find the median of the whole list.
In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 40\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(6,\; 7,\; 15,\; 36,\; 39,\; 40,\; 41,\; 42,\; 43,\; 47,\; 49\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(6,\; 7,\; 15,\; 36,\; 39,\; 40,\; 41,\; 42,\; 43,\; 47,\; 49\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(11\) at the last value, so \(n = 11\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(6,\; 7,\; 15,\; 36,\; 39,\; 40,\; 41,\; 42,\; 43,\; 47,\; 49\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(11\) at the last value, so \(n = 11\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(11\) gives position \(6\), so one value sits in the middle.
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The value at position \(6\) of the sorted list is \(40\).
Final Answer
Step 4
Step 4 - Split the sorted list into a lower half and an upper half.
In this problem: There is an odd number of values, so the median \(40\) is left out and the values either side of it make the two halves.
Step 5
Step 5 - Find the median of each half.
In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.
Step 5a
Step 5a - Find the median of the lower half.
In this problem: The median of \(6,\; 7,\; 15,\; 36,\; 39\) is \(15\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(6,\; 7,\; 15,\; 36,\; 39\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(6,\; 7,\; 15,\; 36,\; 39\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(5\) at the last value, so \(n = 5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(6,\; 7,\; 15,\; 36,\; 39\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(5\) at the last value, so \(n = 5\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(5\) gives position \(3\), so one value sits in the middle.
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The value at position \(3\) of the sorted list is \(15\).
Final Answer
Step 5b
Step 5b - Find the median of the upper half.
In this problem: The median of \(41,\; 42,\; 43,\; 47,\; 49\) is \(43\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Sort the values from smallest to largest.
- Count the values.
- Substitute the count into the formula to find the middle position.
- Take the middle value, or the mean of the two middle values.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the middle of the values \(41,\; 42,\; 43,\; 47,\; 49\).
Step 2
Step 2 - Write the formula.
In this problem: Once the values are in order, the median sits at this position along the list.
Step 3
Step 3 - Sort the values from smallest to largest.
In this problem: Putting the values in order from smallest to largest gives \(41,\; 42,\; 43,\; 47,\; 49\).
Step 4
Step 4 - Count the values.
In this problem: Counting along the sorted list reaches \(5\) at the last value, so \(n = 5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Count the values in the list.
Step 1
Step 1 - Set up the problem.
In this problem: We are counting how many values are in the list \(41,\; 42,\; 43,\; 47,\; 49\).
Step 2
Step 2 - Write the formula.
In this problem: The count is simply how many values the list holds, written as n.
Step 3
Step 3 - Count the values in the list.
In this problem: Counting along the list from left to right reaches \(5\) at the last value, so \(n = 5\).
Final Answer
Step 5
Step 5 - Substitute the count into the formula to find the middle position.
In this problem: Replacing \(n\) with \(5\) gives position \(3\), so one value sits in the middle.
Step 6
Step 6 - Take the middle value, or the mean of the two middle values.
In this problem: The value at position \(3\) of the sorted list is \(43\).
Final Answer
Final Answer
Step 4
Step 4 - Substitute the quartiles into the formula.
In this problem: Replacing \(Q_3\) with \(43\) and \(Q_1\) with \(15\) gives \(IQR = 43 - 15\).
Step 5
Step 5 - Subtract to get the interquartile range.
In this problem: Subtracting gives \(43 - 15 = 28\).
Step 6
Step 6 - Show the interquartile range on a box plot.
In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Interquartile Range Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Interquartile Range Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.