where B is the magnitude of the magnetic field (the magnetic flux density) having the unit of Wb/m2 (Tesla), S is the area of the surface, and θ is the angle between the magnetic field lines and the normal (perpendicular) to S. For a varying magnetic field, we first consider the magnetic flux through an infinitesimal area element dS, where we may consider the field to be constant:
A generic surface, S, can then be broken into infinitesimal elements and the total magnetic flux through the surface is then the surface integral
From the definition of the magnetic vector potential A and the fundamental theorem of the curl the magnetic flux may also be defined as:
where the line integral is taken over