Generally speaking, the magnetic flux is defined by the integral of the magnetic field on the surface area (see Figure 1 and Figure 2).
Where φ is the magnetic flux, b is the magnetic induction intensity, s is the curved surface, B dS is the dot product, and dS is the infinitesimal vector (see surface integral).
Magnetic flux is usually measured by fluxmeter. The fluxmeter comprises a measuring coil and a circuit for estimating the voltage change on the measuring coil so as to calculate the magnetic flux.