Magnetic flux is a measurement of the total magnetic field which passes through a given area, If we use the field-line picture of a magnetic field then every field line passing through the given area contributes some magnetic flux. The angle at which the field line intersects the area is also important.