Ampere’s circuital law : In free space, the line integral of magnetic induction around a closed path in a magnetic field is equal to p0 times the net steady current enclosed by the path.
In mathematical form,

where \(\overrightarrow{B}\) is the magnetic induction at any point on the path in vacuum, \(\overrightarrow{dl}\) is the length element of the path, I is the net steady current enclosed and μ0 is the permeability of free space.
Explanation : Figure shows two wires carrying currents I1 and I2 in vacuum. The magnetic induction \(\overrightarrow{B}\) at any point is the net effect of these currents.
To find the magnitude B of the magnetic induction :
We construct an imaginary closed curve around the conductors, called an Amperian loop, and imagine it divided into small elements of length \(\overrightarrow{dl}\). The direction of dl is the direction along which the loop is traced.

(ii) We assign signs to the currents using the right hand rule : If the fingers of the right hand are curled in the direction in which the loop is traced, then a current in the direction of the outstretched thumb is taken to be positive while a current in the opposite direction is taken to be negative.
For each length element of the Amperian loop,\(\overrightarrow{B}\). \(\overrightarrow{dl}\) gives the product of the length dl of the element and the component of \(\overrightarrow{B}\) parallel to \(\overrightarrow{dl}\) . If θ r is the angle between \(\overrightarrow{dl}\) and \(\overrightarrow{B}\),
\(\overrightarrow{B}\). \(\overrightarrow{dl}\) = (B cos θ) dl
Then, the line integral,

For the case shown in Fig., the net current I through the surface bounded by the loop is I = I2 – I1

Equation (3) can be solved only when B is uniform and hence can be taken out of the integral.
[Note : Ampere’s law in magnetostatics plays the part of Gauss’s law of electrostatics. In particular, for currents with appropriate symmetry, Ampere’s law in integral form offers an efficient way of calculating the magnetic field. Like Gauss’s law, Ampere’s law is always true (for steady currents), but it is useful only when the symmetry of the problem enables B to be taken out of the integral \(\oint\) \(\overrightarrow{B}\). \(\overrightarrow{dl}\) . The current configurations that can be handled by Ampere’s law are infinite straight conductor, infinite plane, infinite solenoid and toroid.]