What is Z-score?
The distance of a value from the mean, measured in standard deviations.
Converting a z-score to a percentile assumes the distribution is normal. On visibly skewed data that assumption is what makes the percentile misleading, not the arithmetic.
z = (x − μ) / σ