Skip to content
Other

Lower Fence Calculator (Tukey Fences)

Paste your dataset and this calculator instantly finds the lower fence, upper fence, quartiles, and any outliers. It uses the standard Tukey 1.5 IQR method, and you can adjust the multiplier to use stricter or looser thresholds. All intermediate steps are shown so you can check the work.

Your details

Enter numbers separated by commas, spaces, or new lines. Order does not matter; the calculator sorts them automatically.
The IQR multiplier used in Tukey's fence formula. 1.5 is the standard for mild outliers; 3.0 is used for extreme outliers.
Lower Fence1 outlier detected
-2.75

Values below this threshold are flagged as potential outliers.

Upper Fence19.25
Q1 (25th percentile)5.5
Q3 (75th percentile)11
IQR (Interquartile Range)5.5
Outlier Count1
Outliers35
Sample Size (n)11
Lower Fence-2.75
Q15.5
Q311
Upper Fence19.25

Lower fence: -2.7500 - 1 value outside the fences.

  • Your interquartile range is 5.5000, spanning Q1 = 5.5000 to Q3 = 11.0000.
  • With a multiplier of 1.5, the fences extend 8.2500 beyond each quartile.
  • 1 of 11 values (9.1%) lie outside the fences and are potential outliers: 35.

Next stepInspect each outlier: decide whether it is a genuine extreme value, a data-entry error, or a sign that your data has a heavy-tailed distribution. Removing outliers without justification can bias your analysis.

What is the lower fence in statistics?

The lower fence is the boundary below which a data point is considered a potential outlier. It was popularized by statistician John Tukey in his 1977 book "Exploratory Data Analysis" as part of the box-and-whisker plot. The formula is Q1 - k x IQR, where Q1 is the first quartile (25th percentile), IQR is the interquartile range (Q3 - Q1), and k is usually 1.5. Any data point falling below this value is labeled an inner fence outlier. A companion upper fence (Q3 + k x IQR) catches high-end outliers. Together they define the whiskers on a box plot and give analysts a quick, non-parametric way to screen datasets for suspect values.

How to calculate the lower fence: step by step

First, sort your dataset in ascending order. Second, find Q1 by computing the 25th percentile (the median of the lower half). Third, find Q3, the 75th percentile. Fourth, subtract Q1 from Q3 to get the IQR. Fifth, multiply the IQR by your chosen k (1.5 by default) and subtract the result from Q1. That value is the lower fence. For example, with Q1 = 5 and Q3 = 15, the IQR is 10. The lower fence is 5 - 1.5 x 10 = 5 - 15 = -10. Any data point below -10 would be flagged as a potential outlier.

Choosing the right multiplier (k)

The standard multiplier is 1.5, which Tukey chose because it classifies roughly 0.7% of normally distributed data as outliers, a sensible base rate for most datasets. When you suspect your data has a heavy-tailed distribution, or you only want to flag truly extreme values, use k = 3, which Tukey called the "outer fence." Values between the inner fence (k = 1.5) and the outer fence (k = 3) are sometimes called "suspected" outliers, while those beyond the outer fence are "probable" outliers. Smaller k values below 1.5 produce tighter fences that flag more borderline points, which is useful in exploratory work but can label ordinary variation as anomalous.

What to do with outliers you find

Identifying an outlier is the start of the investigation, not the end. First, check whether the value is a data-entry or measurement error: a typo that added an extra digit, or a sensor reading during a malfunction, can usually be corrected or removed. Second, if the value is genuine, consider whether your data truly comes from a single population. A value of 350 in a dataset of house prices under 100 might be a luxury property that belongs in a separate analysis. Third, if you cannot determine the cause, run your analysis with and without the outlier and report both results. Automatically deleting outliers because they fall outside a statistical fence is not good practice and can seriously distort means, standard deviations, and regression coefficients.

Common multiplier (k) values for Tukey fences

Multiplier (k)UsageOutlier type detected
1.5Standard (Tukey default) Mild outliers
2.0Moderately strict Moderate outliers
3.0Strict (Tukey extreme fence) Extreme outliers only
1.0Lenient exploratory Many borderline values

The multiplier controls how far the fences extend beyond the quartiles. Higher k values only flag the most extreme observations.

Frequently asked questions

What is the difference between the lower fence and Q1?

Q1 is the 25th percentile of your data: exactly one quarter of values fall at or below it. The lower fence is a derived boundary calculated as Q1 - 1.5 x IQR. It sits below Q1 by 1.5 times the spread of the middle half of the data. While Q1 is a descriptive summary statistic, the lower fence is a decision rule that marks which values are unusually small.

Why does this calculator use 1.5 as the default multiplier?

The value 1.5 was chosen by John Tukey as the standard coefficient for his box-plot fences. For data drawn from a normal distribution, using k = 1.5 flags roughly 0.7% of values as outliers, which is a practical balance between sensitivity and specificity. It has become the universal default in box-plot software and textbooks, so using it keeps your analysis comparable with published work.

Can I use this calculator to find upper fence outliers too?

Yes. This calculator computes both the lower fence (Q1 - k x IQR) and the upper fence (Q3 + k x IQR) simultaneously. Both fences and all identified outliers on either side are listed in the results.

What quartile method does this calculator use?

This calculator uses the inclusive interpolation method (also called PERCENTILE.INC in Excel). With this method the 0th percentile is the minimum and the 100th percentile is the maximum. The result may differ slightly from tools that use exclusive interpolation (PERCENTILE.EXC) or the method that splits the dataset into two halves and takes their medians. For large datasets the difference is negligible.

Is a value exactly on the fence considered an outlier?

No. A value exactly equal to the fence is inside the boundary, not outside it. Only values strictly less than the lower fence or strictly greater than the upper fence are counted as outliers. This is the standard convention used by Tukey and most statistical software.

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…