Electrostatics is a branch of physics that deals with the phenomena and properties of
stationary or slow-moving electric charges with no acceleration.
Magnetostatics is the study of magnetic fields in systems where the currents are steady (not changing with time). It is the magnetic analogue of electrostatics, where the charges are stationary.
Analogous Relation between the quantities in electrostatics and those in magnetostatics is as follows