ToolNestr

Box Plot Generator

Generate box-and-whisker plots from a list of numbers.

Reviewed by the ToolNestr Editorial Team — July 2026

Enter data (at least 4 numbers) and click Generate.

Annotated box plot diagram

Anatomy of a Box Plot Outliers ← Whisker Q1 Median Q3 ← Whisker ← 1.5×IQR → IQR ← 1.5×IQR →
Annotated box plot showing all components: outliers, whiskers, Q1, median, Q3, and IQR.

Understanding box plots

A box plot (also called a box-and-whisker plot) is a standardized way of displaying the distribution of data based on a five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. It was invented by the statistician John Tukey in 1970 as part of his exploratory data analysis toolkit. The box represents the interquartile range (IQR) which contains the middle 50% of the data. The line inside the box marks the median. The whiskers extend from the box to the farthest data points that are within 1.5 times the IQR from the box edges. Any points beyond the whiskers are plotted individually as outliers.

The box plot is a powerful tool because it shows the spread and skewness of the data at a glance. If the median is closer to the bottom of the box, the data is positively skewed (right-skewed). If it is closer to the top, the data is negatively skewed (left-skewed). A symmetric distribution has the median roughly in the centre of the box. The length of the whiskers relative to the box also reveals how spread out the tails of the distribution are relative to the middle 50%.

How to read a box plot

1

Five-number summary

The five numbers shown in a box plot are the minimum (excluding outliers), Q1 (25th percentile), median (50th percentile), Q3 (75th percentile), and maximum (excluding outliers). Together they summarize the location and spread of the data with just five values.

2

Check the box position

The box spans Q1 to Q3 and represents the middle 50% of the data. A narrow box means the data is tightly clustered around the median. A wide box means greater variability in the central half of the distribution.

3

Watch the median line

The median line inside the box tells you about symmetry. If it sits in the centre, the central half is roughly symmetric. If it is much closer to Q1 or Q3, the data is skewed in that direction.

4

Examine the whiskers

Whiskers show the range of non-outlier data points. Long whiskers indicate a spread-out tail. Unequal whisker lengths suggest skewness. Points beyond the whiskers are plotted as individual dots and are potential outliers.

Use cases for box plots

Box plots are widely used across many fields because they provide a compact visual summary of a dataset. Here are some common applications:

📊

Comparing distributions

Side-by-side box plots let you compare multiple groups visually. For example, compare test scores across different classrooms, salaries across departments, or response times across system configurations. The compact format makes group comparisons immediate and intuitive.

🔍

Identifying outliers

The Tukey method flags points beyond 1.5×IQR as outliers. These may indicate data entry errors, measurement issues, or genuinely exceptional observations worth investigating. In quality control, outlier detection helps identify defective products or process anomalies.

⚙️

Quality control

Manufacturing processes use box plots to monitor consistency across batches. A widening box indicates increasing variability. Outliers may signal a process going out of control. Comparing box plots before and after process changes helps quantify improvement.

📈

Exploratory data analysis

Before applying statistical tests, analysts use box plots to understand the shape, spread, and anomalies in their data. The five-number summary guides decisions about transformations, hypothesis tests, and model selection.

Tips and limitations

Box plots hide multimodality

A box plot cannot show multiple peaks in the data. A distribution with two distinct clusters can have the same box plot as a unimodal distribution. Always use a histogram alongside a box plot to see the full shape of the data.

Sample size matters

Box plots work best with at least 10–15 data points. With very small samples, the quartile estimates become unreliable and the IQR may not meaningfully represent the spread. Consider a dot plot or strip chart for small datasets.

The 1.5×IQR rule is a convention

The Tukey rule of 1.5×IQR is a heuristic, not a statistical test. In normally distributed data, about 0.7% of points fall beyond this threshold. For certain distributions, the expected outlier rate differs. Adjust the threshold if your domain demands a different sensitivity.

Use alongside other visualizations

Combine box plots with histograms, violin plots, or strip charts for a complete picture. A histogram reveals the shape (unimodal, bimodal, uniform) while the box plot provides the concise five-number summary. Together they give both the overview and the detail.

How box plots work

The generator sorts your data in ascending order and calculates quartiles using linear interpolation. This method, also called the CDF method or percentile interpolation, gives consistent results regardless of sample size. Here is the step-by-step process:

Worked example

Data: [3, 7, 8, 12, 15, 18, 21, 22, 27, 30]
Sorted: same order (already sorted)
Q1 (25th): 8 (value at position 2.25, interpolated)
Median: (15 + 18) / 2 = 16.5
Q3 (75th): 22.5 (value at position 6.75, interpolated)
IQR: 22.5 - 8 = 14.5
Lower fence: 8 - 1.5(14.5) = -13.75
Upper fence: 22.5 + 1.5(14.5) = 44.25
Outliers: none (all values within fences)
Lower whisker: 3 (minimum data point)
Upper whisker: 30 (maximum data point)

How to use this tool

1

Enter your data

Type or paste numbers one per line or separated by commas. The tool accepts decimals and ignores empty lines automatically. Enter at least 4 numbers for a meaningful box plot.

2

Generate the plot

Click the generate button to compute quartiles, IQR, whisker bounds, and identify outliers. The canvas renders the box plot with labelled statistics below the chart.

3

Export and share

Click “Download as PNG” to save the box plot as a high-resolution image suitable for reports, presentations, and publications.

Related tools

Frequently asked questions

What is a box plot?

A standardized way to display data distribution based on a five-number summary: minimum, Q1, median, Q3, maximum.

What are quartiles?

Q1 is the 25th percentile, median is the 50th, Q3 is the 75th. The box spans Q1 to Q3.

What are whiskers?

Lines extending from the box to the furthest data point within 1.5×IQR from the box edges.

What are outliers?

Data points beyond the whiskers — more than 1.5×IQR from Q1 or Q3, shown as individual dots.

All tool categories

Charts & Graphs (11 tools)
🌐 Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
💰 Finance (34 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧪 Chemistry (50 tools)
🧬 Biology (50 tools)
🏠 Construction & Home Improvement (105 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🚗 Automotive (26 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
🕌 Islamic Tools (16 tools)