A z-score tells you how many standard deviations a value is above or below the mean. It standardizes scores so you can compare different distributions.
z = (x − μ) ÷ σ
Where x = your value, μ = mean, σ = standard deviation.
A test score of 75, class mean 70, standard deviation 5. z = (75 − 70) ÷ 5 = 1.0. This means the score is 1 standard deviation above average — better than ~84% of the class.