The Z formula involves using the Z-score (or service factor) from normal distribution statistics in relation to the desired service level, lead time, and demand.