We prove an analogue of the Riemann–Hurwitz theorem for computing Euler characteristics of pullbacks of coherent sheaves through finite maps of smooth projective varieties in arbitrary dimensions, subject only to the condition that the irreducible components of the branch and ramification locus have simple normal crossings.