Force Between Parallel Wires Calculator – F/L = μ₀I₁I₂/(2πd), Attraction & Repulsion
Use this free Parallel Wires Force Calculator to find the magnetic force per metre between two long parallel current-carrying wires, using F/L = μ₀I₁I₂ ÷ (2πd) — and whether they attract or repel.
Formula
F ÷ L = μ₀ × I₁ × I₂ ÷ (2πd) • F/L = force per metre of wire (N/m), μ₀ = 4π × 10⁻⁷ H/m, I₁ and I₂ = currents (A), d = separation (m). Each wire sits in the other's magnetic field (B = μ₀I ÷ 2πd) and feels F = BIL. Currents in the same direction attract; opposite currents repel.
How to use
- Enter both currents and the distance between the wires.
- Say whether the currents run the same way or opposite ways.
- Optionally enter a length to get the total force on that length, then click "Calculate".
Worked example
Two parallel wires carry I₁ = 10 A and I₂ = 20 A in the same direction, d = 0.05 m apart.
F/L = μ₀I₁I₂ ÷ (2πd) = (4π × 10⁻⁷ × 10 × 20) ÷ (2π × 0.05) = 8 × 10⁻⁴ N/m, attractive.
On a 2 m length the force is 8 × 10⁻⁴ × 2 = 1.6 × 10⁻³ N — small, but with the kilo-amp currents of a fault in a power station busbar the same formula predicts forces that can tear mountings apart.
FAQ
Why do the wires attract if both currents go the same way?
Wire 1's field at wire 2 points (say) into the page. Wire 2's current flows through that field, and F = BIL pushes it toward wire 1. By symmetry wire 1 is pulled toward wire 2 with an equal force — Newton's third law holds. Reverse one current and both forces flip into repulsion.
Does this force define the ampere?
Historically, yes: the ampere was defined as the current that makes two wires 1 m apart attract with exactly 2 × 10⁻⁷ N/m. Since 2019 the ampere is instead defined from the elementary charge, but the wire-force formula is unchanged.
Why "per metre"?
The wires are treated as infinitely long, so the force grows with the length considered. Quoting F/L keeps the answer finite and universal — multiply by your actual parallel length to get the total force.