How to use this calculator
Free Robust z-score calculator. Compare one observation with a sample median using the median absolute deviation.
- Enter Reference observations, Value to assess. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Standardize a value using a median and MAD
A robust z-score compares one value with the sample median while scaling by median absolute deviation. The median and MAD are less sensitive to extreme reference observations than the mean and standard deviation.
Inputs for this calculation
- Reference observations: Enter the comparison sample used to find the median and raw MAD.
- Value to assess: The individual observation whose robust distance from that sample is being calculated.
Formula and method
The calculator uses robust z = 0.6745 × (value − median) ÷ raw MAD. The 0.6745 factor calibrates the scale to the standard deviation for a normal distribution; the sign retains whether the value is above or below the median.
Worked example
For reference values 1, 2, 2, 3, 4, the median is 2 and the raw MAD is 1. Assessing 5 gives 0.6745×(5 − 2)/1 = 2.0235, displayed as 2.023.
Reading the result
A positive result is above the reference median and a negative result below it. The magnitude describes robust distance; it is a screening signal, not proof that an observation is erroneous.
Assumptions and limits
When the reference values have raw MAD = 0, the scale denominator is zero and no robust z-score is defined. A sample with many tied values may require a different scale estimate.
Method references
Frequently asked questions
Is a robust z-score above a cutoff automatically an outlier?
No. A cutoff can be used as a review rule, but the appropriate threshold depends on the application and distribution. Investigate flagged observations before excluding them.
How do I use the Robust z-score calculator?
Enter Reference observations, Value to assess. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Robust z-score?
For reference values 1, 2, 2, 3, 4, the median is 2 and the raw MAD is 1. Assessing 5 gives 0.6745×(5 − 2)/1 = 2.0235, displayed as 2.023.
What does the Robust z-score calculator calculate?
Free Robust z-score calculator. Compare one observation with a sample median using the median absolute deviation.
What assumptions apply to Robust z-score?
When the reference values have raw MAD = 0, the scale denominator is zero and no robust z-score is defined. A sample with many tied values may require a different scale estimate.