Box Plot Calculator

Generate box-and-whisker plots with five-number summary, Tukey fences, outlier detection, percentile table, and Bowley skewness. Interactive SVG visualization.

Minimum 5 values
Default 1.5 for standard Tukey fences

Changing k only moves the outlier cutoffs and whiskers. Quartiles, median, min, max, and IQR stay the same unless a point changes from in-range to outlier or back.

Minimum
68.0000
Smallest value
Q1 (25th percentile)
73.0000
Lower quartile
Median
82.5000
Middle value
Q3 (75th percentile)
89.0000
Upper quartile
Maximum
95.0000
Largest value
IQR
16.0000
Q3 − Q1 (middle 50%)
Range
27.0000
Max − Min
Lower Fence (k = 1.50)
49.0000
73.0000 − 1.50 × IQR
Upper Fence (k = 1.50)
113.0000
89.0000 + 1.50 × IQR
Bowley Skewness
-0.1875
Left-skewed

Box Plot

Q1MedQ368.095.0

Five-Number Summary + Fences

StatisticValuePosition
Lower Fence (k = 1.50)49.0000Q1 − 1.50 × IQR
Minimum68.00001st value
Q173.000025th percentile
Median82.500050th percentile
Q389.000075th percentile
Maximum95.0000Last value
Upper Fence (k = 1.50)113.0000Q3 + 1.50 × IQR

Standard Tukey Reference

StatisticValuePosition
Inner Lower Fence49.0000Q1 − 1.5 × IQR
Inner Upper Fence113.0000Q3 + 1.5 × IQR
Outer Lower Fence25.0000Q1 − 3 × IQR
Outer Upper Fence137.0000Q3 + 3 × IQR

Percentile Table

PercentileValueBar
10th70.2000
25th73.5000
50th82.5000
75th88.5000
90th91.8000
Sorted Data (12 values)
68.000070.000072.000074.000076.000081.000084.000085.000088.000090.000092.000095.0000
Planning notes, formulas, and examples

About the Box Plot Calculator

The box plot calculator creates a box-and-whisker diagram from your data and pairs it with the summary statistics that explain what the plot is showing.

It computes the five-number summary, interquartile range, Tukey fences, mild and extreme outliers, and Bowley skewness, then renders the result as an SVG chart. You can switch between inclusive and exclusive quartile methods and adjust the fence multiplier when you want stricter or looser outlier cutoffs.

That makes the page useful both for quick exploratory analysis and for checking the exact fence values behind a box plot before you reuse the chart in notes, teaching material, or reports.

When This Page Helps

Box plots are the single best tool for quickly summarizing data distribution. This calculator gives you the complete picture: five-number summary, Tukey fences, outlier identification, skewness measurement, and a ready-to-use SVG visualization.

Whether you're comparing groups, screening for outliers, or presenting data summaries, the box plot calculator delivers every metric you need alongside the visual representation.

How to Use the Inputs

  1. Enter your data as comma-separated or space-separated numbers (minimum 5 values).
  2. Select the quartile method: inclusive (median in both halves) or exclusive (median excluded).
  3. Adjust the fence multiplier (default 1.5 for standard Tukey fences, use 3 for extreme outlier detection only).
  4. Toggle outlier display to show or hide outlier circles on the box plot.
  5. Read the five-number summary and fence values from the detail table.
  6. Check the outlier table for flagged values with their severity and fence distance.
  7. Review the percentile table for a complete positional breakdown.
Formula used
IQR = Q3 − Q1. Lower fence = Q1 − k × IQR. Upper fence = Q3 + k × IQR. Standard: k = 1.5 (mild), k = 3 (extreme). Bowley skewness = (Q3 + Q1 − 2 × Median) / IQR.

Example Calculation

Result: Min=68, Q1=73, Median=82.5, Q3=89, Max=95, IQR=16, No outliers

The 12 test scores have a median of 82.5 with an IQR of 16. All values fall within the fences (Q1 − 1.5×IQR = 49, Q3 + 1.5×IQR = 113), so there are no outliers. The box plot shows a slight left skew.

Tips & Best Practices

  • Standard Tukey fences use k=1.5 — about 99.3% of normally distributed data falls within these limits.
  • Extreme outlier fences use k=3 — values beyond these are very unusual and warrant investigation.
  • The inclusive quartile method (Moore & McCabe) includes the median in both halves, giving slightly different Q1/Q3 than the exclusive method for odd-sized datasets.
  • Bowley skewness near 0 indicates symmetry; positive values mean right-skewed data (long right tail).
  • Box plots are ideal for comparing distributions side by side — the box width shows concentration, whiskers show spread.
  • If your data has many outliers, consider whether the distribution is non-normal rather than assuming outliers are errors.

Anatomy of a Box Plot

The box plot was invented by John Tukey in 1970 as part of exploratory data analysis (EDA). The "box" spans Q1 to Q3, capturing the middle 50% (the interquartile range). The median line inside the box shows central tendency. Whiskers extend to the most extreme values within the fences, and outliers appear as individual points beyond the whiskers.

Interpreting Box Plot Shapes

A symmetric box plot has the median centered in the box with equal-length whiskers. A right-skewed plot has the median closer to Q1, with a longer right whisker and upper outliers. A left-skewed plot is the mirror image. The relative lengths of whiskers and position of the median tell you about data asymmetry at a glance.

Box Plots vs. Violin Plots

Modern alternatives like violin plots combine box plots with kernel density estimates, showing the full distribution shape. However, box plots remain preferred for their simplicity and interpretability, especially when comparing many groups. They clearly show outliers, which violin plots often obscure.

Sources & Methodology

Last updated:

Methodology

This calculator parses the submitted values, sorts them, and computes the five-number summary directly from the dataset. Quartiles follow the selected convention: the inclusive method keeps the median in both halves for odd-sized datasets, while the exclusive method removes it from both halves before computing Q1 and Q3.

The interquartile range is computed as Q3 − Q1. Tukey fences are then calculated as Q1 − k × IQR and Q3 + k × IQR, where k is the user-selected fence multiplier. Whiskers extend to the most extreme non-outlier observations inside those fences, and Bowley skewness is reported as (Q3 + Q1 − 2 × median) / IQR.

Percentiles in the summary table use linear interpolation between adjacent ordered values. Values shown in the UI are rounded for display only.

Sources

Frequently Asked Questions

  • A box plot shows the five-number summary: minimum, Q1 (25th percentile), median (50th percentile), Q3 (75th percentile), and maximum. The box spans Q1 to Q3 (the IQR, containing the middle 50% of data). Whiskers extend to the most extreme non-outlier values. Outliers are shown as individual points.