The magnetic flux through a surface—when the magnetic field is variable—relies on splitting the surface into small surface elements, over which the magnetic field can be considered to be locally constant. The total flux is then a formal summation of these surface elements . (en)
Each point on a surface is associated with a direction, called the surface normal; the magnetic flux through a point is then the component of the magnetic field along this direction. (en)