where is any closed surface (see image right), and is a vector, whose magnitude is the area of an infinitesimal piece of the surface , and whose direction is the outward-pointing surface normal (see surface integral for more details).
The left-hand side of this equation is called the net flux of the magnetic field out of the surface, and Gauss's law for magnetism states that it is always zero.