Advanced Boxplot Outlier Calculator

Detect mild and extreme outliers from messy datasets. Switch quartile rules and inspect whisker limits. Export neat reports for audits, classes, and model checks.

Calculator input

Paste values using commas, spaces, semicolons, or line breaks. The calculator sorts the data, computes quartiles, and flags outliers with Tukey-style fences.

Example separators: commas, spaces, new lines, or semicolons.

Standard boxplots usually use 1.5 × IQR for mild outliers and 3 × IQR for extreme outliers.

What this report includes

  • Sorted values and sample size
  • Q1, median, and Q3
  • IQR, lower fence, and upper fence
  • Whisker endpoints
  • Mild and extreme outlier lists
  • CSV and PDF export options
Tip: Quartiles can shift across methods. If a borderline value changes status, compare Tukey and percentile-based rules before final reporting.

Example data table

These examples use the Tukey median-of-halves rule with the standard 1.5 × IQR fence.

Dataset Q1 Q3 IQR Lower Fence Upper Fence Detected Outliers
12, 13, 14, 15, 15, 16, 16, 17, 18, 19, 20, 35, 42 14.5 19.5 5 7 27 35, 42
5, 6, 7, 7, 8, 9, 10, 11, 12 6.5 10.5 4 0.5 16.5 None
21, 22, 22, 23, 24, 24, 25, 26, 40 22 25.5 3.5 16.75 30.75 40

Formula used

Step 1: Sort the dataset from smallest to largest.
Step 2: Compute Q1, median, and Q3 using the selected quartile method.
Step 3: IQR = Q3 − Q1
Step 4: Lower Fence = Q1 − (k × IQR)
Step 5: Upper Fence = Q3 + (k × IQR)
Step 6: Extreme Lower Fence = Q1 − (3 × IQR)
Step 7: Extreme Upper Fence = Q3 + (3 × IQR)
Step 8: Any value outside the chosen fences is flagged as an outlier.

Whiskers extend to the most extreme values that still remain inside the mild outlier fences. Different quartile rules can slightly change the final fences.

How to use this calculator

  1. Enter a short label for your dataset.
  2. Paste at least four numeric values into the dataset box.
  3. Choose Tukey, inclusive percentile, or exclusive percentile quartiles.
  4. Set the outlier factor, or keep the standard 1.5 value.
  5. Select the number of decimal places for the report.
  6. Press Calculate Outliers to view the result above the form.
  7. Review fences, whiskers, sorted values, and flagged points.
  8. Use the export buttons to save a CSV or PDF copy.

Frequently asked questions

1. What does a boxplot outlier mean?

A boxplot outlier is a value outside the lower or upper fence. It is unusual relative to the dataset, but not automatically wrong.

2. Why can quartile methods change the answer?

Quartiles are defined differently across software and textbooks. Small or uneven datasets can shift Q1 and Q3 enough to change the fence locations.

3. What is the usual outlier factor?

The common choice is 1.5 times the IQR. Many analysts also review 3 times the IQR to separate extreme outliers from mild ones.

4. Does an outlier always mean bad data?

No. An outlier may be a real event, a rare case, or a recording mistake. Always check context before deleting or changing values.

5. Can this tool handle decimals and negative values?

Yes. The parser accepts integers, decimals, negative numbers, and scientific notation, as long as each token is numeric.

6. What are whiskers in this report?

Whiskers mark the smallest and largest values that still fall within the mild outlier fences. They are not always the dataset minimum and maximum.

7. Should I use this for tiny datasets?

You can, but be cautious. Very small samples make quartiles unstable, so outlier labels may change with minor data edits.

8. When should I compare multiple methods?

Compare methods when auditability matters, when software outputs disagree, or when a borderline point affects a decision, model, or report.

Related Calculators

modified z score calculatoroutlier threshold calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.