Applying Magnetic Force to Currents
Claimed by Ashfaque Ahbab (Fall 2026)
A magnetic field exerts a force on moving charges. Since a current is moving charge, a current-carrying wire in a magnetic field feels a force, and two currents exert forces on each other.
The Main Idea
Given an understanding of the basics of how a magnetic field can exert a force on a moving charge, we can expand that to model how a magnetic field may affect a current as well as how multiple currents or moving charges may affect each other.
A Mathematical Model
First, we must determine the force exerted on a long, straight wire carrying current I by a uniform magnetic field. Given the equation for magnetic force, as per the following:
[math]\displaystyle{ {\vec{F} = q\vec{v}\times\vec{B}} }[/math]
We can assume that the wire will not experience any force if the current, or moving charge, is parallel to the magnetic field; however, if the magnetic field were perpendicular, or any orientation that were not parallel, a force on the wire or current may be expected. It is important to note that any current within the magnetic field may experience a force, but current outside the field may not.

Start from the magnetic force on a single moving charge:
- [math]\displaystyle{ \vec{F} = q\vec{v}\times\vec{B} }[/math]
To relate this to a current, take a length [math]\displaystyle{ L }[/math] of wire. Current is charge per time, and the charges cross that length in time [math]\displaystyle{ \Delta t }[/math]:
- [math]\displaystyle{ I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t} }[/math]
so [math]\displaystyle{ qv = IL }[/math]. Substituting into the force on a charge gives the force on a wire:
- [math]\displaystyle{ \vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta }[/math]
where [math]\displaystyle{ \theta }[/math] is the angle between the wire (the direction of the current) and the magnetic field.
Now, we may consider two wires next to each other, which may create magnetic fields affecting both wires. To do so, we may assume wires with length [math]\displaystyle{ L }[/math] separated by distance [math]\displaystyle{ d }[/math], with [math]\displaystyle{ L \gg d }[/math], so that the following simplification for the magnetic field of a long straight wire may be used:
- [math]\displaystyle{ B = \frac{\mu_0 I}{2\pi d} }[/math]
The following diagram will be referenced and modeled:

If it is first assumed that two wires have parallel currents running in the same direction. It can be observed that, due to the right hand rule, both wires cause a magnetic force toward each other. The bottom wire, I_2, causes a magnetic field, B_2, that exerts a downward force on the upper wire, I_1, and vice-versa.
If it is assumed that the wires have currents running in the opposite direction, the same logic can be used to find that each wire exerts a force away from each other; the wires cause a magnetic field that affects the other wire. We can use this to find the force of wire 2 on wire 1:
- [math]\displaystyle{ F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d} }[/math]
or per unit length:
- [math]\displaystyle{ \frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d} }[/math]
By Newton's third law, the force of wire 2 on wire 1 and the force of wire 1 on wire 2 are equal and opposite, and they act on different wires, so you don't add them. Each wire feels a force of the same magnitude, [math]\displaystyle{ \frac{\mu_0 I_1 I_2 L}{2\pi d} }[/math], pointing toward the other wire (same-direction currents) or away from it (opposite currents).
When the currents run in the same direction, the two wires' fields point in opposite directions in the region between them. The net field is zero only at the midpoint, and only if the currents are equal. Elsewhere between the wires the field isn't zero.
See also
Magnetic Force
Magnetic Field of a Long-Straight Wire
Further reading
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html
External links
References
Physics for Scientists and Engineers, 3rd Ed. By Randall D. Knight