Box Plot Generator – Create Box and Whisker Plots Online
Generate box plots (box-and-whisker plots) from any dataset with our free online box plot generator. Visualize quartiles, median, and outliers with a clear and accurate diagram.
Understanding Box Plots
A box plot, also called a box-and-whisker plot, is a visual way to show how data is distributed. Instead of listing every single number, it summarizes your dataset using five key values: the minimum, first quartile (Q1), median, third quartile (Q3), and maximum. This five-number summary gives you an instant picture of where most of your data clusters and whether there are any unusual values.
The "box" in the middle contains the middle 50% of your data – everything between Q1 and Q3. The line inside the box marks the median, which is the middle value when all numbers are sorted. The "whiskers" extend to show the range of typical values, and any points beyond the whiskers are flagged as outliers – values that are unusually high or low compared to the rest of the data.
How Box Plots Work: The Five-Number Summary
The Five Numbers
Finding Quartiles
Identifying Outliers
Outliers are values that fall far outside the typical range of your data. Box plots use the interquartile range (IQR) to determine what counts as an outlier. The IQR is simply Q3 minus Q1 – it measures the spread of the middle 50% of your data.
The 1.5 × IQR Rule
The whiskers extend to the most extreme values that are still within the fences. Values beyond the fences are plotted as individual points – these are your outliers. This method, developed by statistician John Tukey, catches values that are genuinely unusual without flagging normal variation.
Worked Examples
Example 1: Test Scores
Find the five-number summary for these 11 test scores:
Example 2: Salaries with Outliers
Analyze this salary dataset (in thousands):
Example 3: Small Dataset
Calculate for this small dataset:
Quick Fact
John Tukey introduced the box plot in 1970 as part of his work on exploratory data analysis. He called it the "box-and-whisker plot" and designed it to be drawn by hand quickly while still revealing the essential features of a dataset. Tukey also coined terms like "bit" (binary digit) and "software." His book "Exploratory Data Analysis" remains influential today, and the box plot is one of the most widely used statistical graphics in the world.
Frequently Asked Questions
What does the box in a box plot represent?
The box spans from Q1 to Q3, containing the middle 50% of your data. The line inside the box marks the median. A narrow box means data is tightly clustered; a wide box means more spread. If the median line is off-center, the data is skewed in that direction.
How do you interpret the whiskers?
The whiskers extend from the box to the most extreme values that are not outliers. They show the range of "typical" data. The lower whisker goes down to the smallest value above the lower fence; the upper whisker goes up to the largest value below the upper fence.
What if there are no outliers?
That's perfectly normal! Many datasets don't have outliers. The whiskers will simply extend all the way to the minimum and maximum values. The absence of outliers suggests your data is fairly consistent without extreme values.
Can a box plot show the mean?
Traditional box plots show the median, not the mean. Some variations add a symbol (like a dot or triangle) to mark the mean. Comparing the mean and median tells you about skewness – if the mean is higher than the median, the data likely has a right skew.
When should I use a box plot instead of a histogram?
Box plots are better for comparing multiple groups side by side and for quickly spotting outliers. Histograms show more detail about the shape of the distribution but take up more space. Use box plots when you need a compact summary or want to compare several datasets at once.
What does it mean if the median is closer to Q1 than Q3?
This indicates right skew (positive skew) – the data has a longer tail on the high end. Most values cluster toward the lower end, with a few high values pulling the distribution right. Salary data often shows this pattern: many people earn modest amounts, but a few earn very high salaries.
How many data points do I need for a meaningful box plot?
You can technically make a box plot with as few as 5 values, but it's most useful with at least 15-20 data points. With very small datasets, the quartile calculations become less stable. For large datasets (100+ points), box plots excel at summarizing the distribution without overwhelming detail.
Other Free Tools
Five Number Summary Calculator – Min Q1 Median Q3 Max
Find the five-number summary of any dataset with our free online calculator. Instantly compute the minimum, Q1, median, Q3, and maximum for complete data analysis.
Outlier Detector – Find Outliers Using IQR Method Online
Detect outliers in any dataset using the IQR method with our free online outlier detector. Find lower and upper fences and identify all outlying values in your data.
Histogram Generator – Create Histograms Online Free
Create professional histograms from any dataset with our free online histogram generator. Customize bin sizes and view frequency distributions as visual bar charts instantly.
Mean, Median, Mode Calculator – Statistics Calculator Online
Calculate mean, median, and mode of any dataset with our free online statistics calculator. Enter your numbers and get comprehensive central tendency measures instantly.
Standard Deviation Calculator – Variance & SD Online
Calculate standard deviation and variance for any dataset with our free online calculator. Supports both population and sample standard deviation with step-by-step workings.
Frequency Distribution Table Generator – Organize Data Online
Create a complete frequency distribution table from any dataset with our free online tool. Includes frequency, relative frequency, and cumulative frequency for easy data analysis.
Scatter Plot Generator – Create Scatter Plots Online Free
Generate scatter plots from any two-variable dataset with our free online scatter plot generator. Visualize data relationships, trends, and correlations instantly.
Z-Score Calculator – Find Standard Score Online
Calculate the Z-score of any data point with our free online Z-score calculator. Enter the value, mean, and standard deviation to get the standardized score instantly.