A z-score measures how many standard deviations a data point is from the mean of a distribution. It is calculated using the formula $z = \frac{(X - \mu)}{\sigma}$ where $X$ is the data point, $\mu$ is the mean, and $\sigma$ is the standard deviation.