A current (I) in a magnetic field ( B) experiences a force ( F) given by the equation F = I l × B or F = IlB sin θ, where l is the length of the wire, represented by a vector pointing in the direction of the current.
The direction of the force may be found by a right‐hand rule similar to the one shown in Figure .
The magnetic force is a consequence of the electromagnetic force, one of the four fundamental forces of nature, and is caused by the motion of charges.
Two objects containing charge with the same direction of motion have a magnetic attraction force between them.
The magnitude of the force on a wire carrying current I with length L in a magnetic field is given by the equation F=ILBsinθ where θ is the angle between the wire and the magnetic field.
The force is perpendicular to the field and the current.