Outlier Calculator

Outliers are the data values that stand apart from the crowd, the unusually high or low numbers that can quietly distort an average, stretch a standard deviation or hint at an error or a special case, and this calculator finds them for you using the standard, widely taught interquartile range method. Paste in your data, separated by commas or spaces, and it returns the first and third quartiles, the interquartile range, the lower and upper fences, and a clear list of any values flagged as outliers, all updating as you type. The method is robust and easy to trust because it is based on the middle of the data rather than the extremes. It first finds the quartiles, the values that split the sorted data into four equal parts, then takes the interquartile range, the spread of the central half, as a natural yardstick for what counts as normal variation. Any value that falls more than one and a half interquartile ranges below the lower quartile or above the upper quartile lands outside the fences and is flagged as an outlier. Because it uses quartiles rather than the mean, the rule is not itself thrown off by the very extreme values it is trying to detect, which is exactly why it is the basis of the box-and-whisker plot. Identifying outliers matters: they might be data-entry mistakes worth correcting, genuine rare events worth studying, or points that should be handled carefully before calculating other statistics. That makes the tool genuinely useful for statistics students learning quartiles and box plots and checking homework, for analysts cleaning a data set, and for anyone wanting a quick, defensible check for unusual values. Because the results refresh live, you can edit the data and watch the fences and outliers update. The method and a worked example are explained clearly below.

Calculate.co.nz is proud to be partnered with realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner
none
outliers
Q10
Q30
IQR0
Lower fence0
Upper fence0

How it works

The data is sorted and split at the median. Q1 is the median of the lower half and Q3 the median of the upper half (Tukey's method). The interquartile range is Q3 minus Q1. The lower fence is Q1 minus 1.5 times the IQR and the upper fence is Q3 plus 1.5 times the IQR. Any value outside the fences is an outlier.

Worked example

For 2, 3, 5, 6, 8, 9, 11, 45: the lower half is 2, 3, 5, 6 so Q1 is 4, and the upper half is 8, 9, 11, 45 so Q3 is 10. The IQR is 6, the lower fence is 4 minus 9, which is minus 5, and the upper fence is 10 plus 9, which is 19. The value 45 is above 19, so it is an outlier.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About

Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2019 to 2026 Calculate.co.nz. All rights reserved.