Proposition 1.2.10(a) in "Cohen-Macaulay Rings""Cohen–Macaulay Rings" by W. Bruns, H.J. Herzog: if $R$ is a Noetherian ring, $I$ an ideal of $R$, and $M$ a finite $R$-module, then $$\operatorname{grade} (I,M)= \inf \{\operatorname{depth} M_p | p \in V(I)\}.$$$$\operatorname{grade} (I,M)= \inf \{\operatorname{depth} M_p \mid p \in V(I)\}.$$