Magnetic field lines and magnetic flux

The direction of magnetic field lines at any point can be given by the magnetic needle. Actually, the direction of magnetic field and magnetic field lines are not in same direction. So, magnetic lines of force are rather called magnetic field line.
Similar to the electric field we can also define the magnetic flux in magnetic field.
The magnetic flux at any area can be defined as magnetic field lines crossing per unit area. It is denoted by

Again magnetic flux passing through any small elementary area is

total flux passing through  is

if magnetic field is uniformly distributed then
the unit of B is Tesla (T) and area is m2. The unit of Φ is Tm2. it is also called Wber, which is named after German physicist Willium Wber.

Nowso the magnetic field can be defined as the magnetic flux per unit area. It is also called magnetic flux density. Its unit is Wbm‑2. So, 1T = 1 Wbm‑2