How Current-Carrying Wires Create Magnetic Forces
When electric current flows through a conductor, it generates a magnetic field in the surrounding space. According to Ampère's law, the strength of this field depends on the current magnitude and distance from the wire. A second current-carrying wire placed nearby experiences a force because its charge carriers (electrons) move through the magnetic field created by the first wire. This force is a direct consequence of the Lorentz force law.
The interaction is reciprocal: each wire creates a field that influences the other. The key variables determining force strength are:
- Current magnitude in each wire — larger currents produce stronger magnetic fields and greater forces
- Separation distance — force decreases rapidly as wires move apart (inverse relationship)
- Wire length — longer parallel sections experience proportionally greater total force
This principle underpins the operation of relays, electromagnets, and large electrical bus bars, where engineers must ensure structural supports can handle the electromagnetic stresses.
Magnetic Force Per Unit Length Equation
For two parallel, infinitely long straight wires, the force per unit length (force exerted over 1 metre of wire) is given by:
F/L = (2 × 10⁻⁷ × I₁ × I₂) ÷ d
F/L— Magnetic force per unit length (newtons per metre)I₁, I₂— Electric current in the first and second wires (amperes)d— Perpendicular distance separating the two wires (metres)2 × 10⁻⁷— Physical constant derived from the permeability of free space (tesla·metre per ampere)
Attraction and Repulsion in Parallel Wires
Whether two wires pull together or push apart depends entirely on current direction. When both currents flow in the same direction (same sign), the wires attract. When currents flow in opposite directions (opposite signs), the wires repel.
This behaviour follows from Ampère's right-hand rule: if you curl your fingers in the direction of current, your thumb points along the magnetic field. Two adjacent north poles repel; two adjacent south poles repel; opposite poles attract. The same logic applies to the magnetic fields generated by current.
In practical systems, parallel bus bars carrying heavy currents in the same direction experience attractive forces that can cause mechanical vibration if not properly restrained. Conversely, opposite-direction currents (common in three-phase systems) produce repulsive forces that system designers must account for when spacing conductors.
Practical Considerations and Common Pitfalls
When calculating electromagnetic forces on real wires, several real-world factors modify ideal theoretical results.
- Non-infinite wire length — The formula assumes infinitely long parallel wires. Real conductors are finite, so actual force decreases near the wire ends. For design purposes, use the force-per-length result and multiply by the actual parallel length to get a more realistic total force estimate.
- Temperature and resistance changes — Higher currents generate heat, increasing wire resistance and potentially changing current distribution. Very large currents may cause the wire to warm significantly, affecting both the magnetic field strength and the structural properties of the wire material.
- Wire diameter and cross-section effects — The formula treats wires as thin lines. When wires have significant diameter, the effective separation distance between current centres becomes ambiguous. Always measure distance between wire centres, not outer edges.
- AC current vs DC current — The formula works for steady direct current. With alternating current, the force oscillates at twice the line frequency (100 Hz or 120 Hz depending on region), which can excite mechanical resonances in loosely mounted conductors.
Applications in Electrical Engineering
Electromagnetic forces between current-carrying conductors appear throughout electrical systems. In high-voltage switchgear and power distribution, massive currents during fault conditions create enormous repulsive or attractive forces. Engineers must design mechanical structures rigid enough to withstand these transient stresses without permanent deformation.
Particle accelerators like cyclotrons and synchrotrons use these principles to steer beams of charged particles through precise paths. Electromagnets in medical imaging (MRI machines) and industrial metal processing rely on controlled magnetic force to achieve the required field strength and stability. Vacuum interrupters in circuit breakers position current paths to exploit either attractive or repulsive forces for reliable operation.