Modified Z Score Calculator

Measure unusual values with modified z scoring. Enter lists, inspect median, MAD, and flagged observations carefully. Share robust summaries for audits, research, and modeling decisions.

Calculator Inputs

Supported separators include commas, spaces, semicolons, pipes, and line breaks.
The common cutoff is 3.5 for robust outlier screening.
Use 0.6745 to align the score with a normal scale.
Choose display precision for summary values and scores.
Sorting helps review extreme observations faster.

Example Data Table

Observation Input Value Median MAD Modified Z Score Status at 3.5
110121-1.3490Within range
2121210.0000Within range
3121210.0000Within range
4131210.6745Within range
5121210.0000Within range
611121-0.6745Within range
7141211.3490Within range
8300121194.2560Outlier

This example shows how the modified z score isolates a strong outlier while keeping central values stable.

Formula Used

Median: Sort the dataset and take the middle value, or the average of the two middle values.

MAD: Median of the absolute deviations from the median.

Modified Z Score: Mi = c × (xi − median) / MAD

Default constant: c = 0.6745. This scales the robust score to resemble a standard normal z score under normal conditions.

A common rule flags an observation as an outlier when the absolute modified z score is greater than 3.5.

Because the method relies on the median and MAD, it resists distortion from extreme values better than mean-based z scores.

How to Use This Calculator

  1. Enter at least three numeric observations in the data box.
  2. Choose the outlier threshold, or keep the common value of 3.5.
  3. Leave the scaling constant at 0.6745 unless your workflow uses a different robust convention.
  4. Set decimal precision and choose the output sort order.
  5. Submit the form to display the summary metrics and detailed score table above the inputs.
  6. Export the resulting table as CSV or PDF for reporting, validation, or model review.

Frequently Asked Questions

1. What does the modified z score measure?

It measures how far each observation sits from the median in units of MAD. Large absolute scores suggest unusually distant values that may deserve review.

2. Why use this instead of a regular z score?

Regular z scores rely on the mean and standard deviation, which can shift heavily with extreme values. Modified z scores stay more stable because they use robust statistics.

3. Is 3.5 always the correct threshold?

No. A threshold of 3.5 is common, but some workflows use tighter or looser cutoffs depending on domain risk, data quality, and tolerance for false positives.

4. What happens if MAD equals zero?

If all values are identical, every score becomes zero. If MAD is zero while values differ, the robust score cannot be computed reliably because the denominator vanishes.

5. Can I use decimals and negative values?

Yes. The calculator accepts positive numbers, negative numbers, integers, and decimals, as long as the values are entered as valid numeric observations.

6. Does sorting change the statistics?

No. Sorting only changes the display order of the result rows. The median, MAD, thresholds, and flags remain based on the original input values.

7. Should flagged values be removed automatically?

Not automatically. A flagged point might be a data error, a rare valid event, or a meaningful signal. Review context before deciding to exclude it.

8. Is this suitable for machine learning preprocessing?

Yes. It is useful during anomaly screening, feature review, and data cleaning, especially when outliers can distort scaling, model fitting, or summary statistics.

Related Calculators

boxplot outlier 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.