For every positive integer $n$ and prime $p$,\begin{equation} v_p(n!)=\sum_{r=1}^{[\log_p n]}[\frac{n}{p^r}]\end{equation}
This formula is obvious(Why?).