  We extend the Rodin's formula for $p$--modulus of the family of curves in
$\mathbb{R}^n$ to arbitrary codimension. The proof relies on the formula for
the $p$--modulus of family of level sets of a submersion and an algebraic lemma
relating Jacobi matrices of considered maps. We state appropriate examples.
