Outlier Calculator
Detect outliers with IQR fences or z-score thresholds
Outlier Calculator
An outlier is a data point that differs markedly from the rest of the dataset — either far above or far below the typical range. Detecting outliers matters in every field: a sensor reading may be a faulty measurement, a transaction may be fraud, or a patient value may indicate a medical emergency. Proper outlier detection prevents these extreme values from distorting your analysis.
This calculator detects outliers using two standard methods — the IQR fences method and the z-score method — and clearly shows which values fall outside the normal range.
How to Use This Calculator
- Enter your dataset — comma-separated or newline-separated numbers.
- Select detection method — IQR (default) or z-score.
- Adjust the threshold — for IQR, the multiplier (default 1.5); for z-score, the threshold (default 3.0).
- The calculator reports the outlier count, total values, outlier percentage, and lists each outlier value.
IQR Method (Tukey's Fences)
The IQR method defines outlier boundaries using quartiles:
Lower fence = Q1 - multiplier × IQR
Upper fence = Q3 + multiplier × IQR
Any value outside these fences is an outlier.
With the default multiplier of 1.5, about 0.7% of a normal distribution falls outside the fences. Using a multiplier of 3.0 detects only "extreme" outliers — this is the basis for the box-plot whiskers you see in most statistics software.
Z-Score Method
The z-score measures how many standard deviations a value is from the mean:
z = (x - μ) / σ
Values with |z| greater than the threshold (commonly 2.5, 3.0, or 3.5) are flagged as outliers. The z-score method is sensitive to extreme values themselves (since they inflate σ), so it is more appropriate for roughly symmetric, unimodal distributions.
Real-World Examples
Sensor data: A temperature sensor dataset shows values between 18–25°C, but one reading is 99°C. The IQR method immediately flags it with a large positive z-score.
Exam scores: Most students score between 60–90, but three students scored 5 (possibly did not attempt). IQR detection labels them outliers and separates them for investigation.
Sales data: A store's daily revenue is normally $2,000–$4,000, but one day shows $50,000. Rather than corrupt the monthly average, outlier detection triggers a manual review.