A z-score is the number of [[Standard Deviation|standard deviations]] by which the value of a data point is above or below the mean of the whole population. An observation $x$ can therefore be computed using the mean of a sample $\overline{x}$ and its [[Standard Deviation|standard deviation]] $S$:
$
z = \frac{x - \overline{x}}{S}
$