Ampère's law relates magnetic fields to electric currents that produce them. Ampère's law determines the magnetic field associated with a given current, or the current associated with a given magnetic field, provided that the electric field does not change over time.
In its original form, Ampère''s circuital law relates a magnetic field to its electric current source.
The law can be written in two forms, the "integral form" and the "differential form". The forms are equivalent, and related by the Kelvin–Stokes theorem.
It can also be written in terms of either the B or H magnetic fields. Again, the two forms are equivalent. Ampère's circuital law is now known to be a correct law of physics in a magnetostatic situation:

The system is static except possibly for continuous steady currents within closed loops.
In all other cases the law is incorrect unless Maxwell's correction is included .

Ampere's Law states that for any closed loop path, the sum of the length elements times the magnetic field in the direction of the length element is equal to the permeability times the electric current enclosed in the loop.