🔬
🔬 Science & engineering

Force Between Parallel Wires Calculator (F/L = μ₀I₁I₂ ÷ 2πd)

Results update as you type.

Your numbers

Understanding the force between parallel wires calculator — concept and principle

This calculator finds the magnetic force between two long, straight, parallel wires carrying currents, the force per metre, the field one wire creates at the other and whether they attract or repel. It is used in electromagnetism courses and for checking forces on bus bars and cables during high currents.

Force between parallel wiresSame-direction currents attract100 A100 A20 mm2 m0.1 N per metre0.2 N on eachF/L = 2 × 10⁻⁷ × 100 × 100 ÷ 0.02field at the other wire: 1,000 µT
Two 100 A wires 20 mm apart pull together with 0.1 N per metre; a fault current would multiply it.

How it is calculated

F ÷ L = μ₀ I₁ I₂ ÷ (2π d)

B at wire 2 = μ₀ I₁ ÷ (2π d)

The principle

A current produces a magnetic field that circles the wire and weakens as 1/d. The second wire sits in that field, and a current in a magnetic field feels a sideways force F = B I L. Combining the two gives the formula. Both wires feel equal and opposite forces, as Newton's third law requires. This interaction once defined the ampere: two wires 1 m apart, each carrying 1 A, pushed on each other with 2 × 10⁻⁷ N per metre.

Worked example

Default inputs: 100 A in each wire, same direction, 20 mm apart, 2 m long.

  1. B at wire 2 = 4π × 10⁻⁷ × 100 ÷ (2π × 0.02) = 0.001 T = 1,000 µT.
  2. Force per metre = 2 × 10⁻⁷ × 100 × 100 ÷ 0.02 = 0.1 N/m.
  3. Force on each wire = 0.1 × 2 = 0.2 N = 200 mN.
  4. The currents flow the same way, so the wires attract (are pulled together).
How Force on each wire (N) changes with Centre-to-centre distance (mm)How Force on each wire changes with Cent…00.20.40.60.85101520253040Example: 0.2Centre-to-centre distance (mm)
Each point is the calculator re-run with only “Centre-to-centre distance (mm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Centre-to-centre distance (mm)Force on each wire (N)
50.8
100.4
150.2667
200.2
250.16
300.1333
400.1

How to read the result

Under normal currents the force is small, as here. It grows with the product of the currents, so a fault current 20 times higher gives 400 times the force, which can bend bus bars and whip cables. Halving the distance doubles the force.

Common mistakes

Keep in mind: The formula assumes long, thin, straight wires in air. Short-circuit forces on real switchgear are calculated with dedicated standards and need a qualified engineer.

Frequently asked questions

Do parallel currents attract or repel?

Currents in the same direction attract; currents in opposite directions repel.

Why does a household cord not jump when switched on?

At a few amperes the force is tiny, and the two conductors' fields mostly cancel outside the cord.

Is the ampere still defined this way?

No. Since 2019 it is defined by fixing the elementary charge, but the force law is unchanged.

Sources: OpenStax, University Physics Volume 2 (2016), section 12.3 "Magnetic Force between Two Parallel Currents"

Checked 9 Nov 2026. OpenStax, University Physics Volume 2 (2016), §12.3 “Magnetic Force between Two Parallel Currents”, Eq. 12.11 (F/l = μ₀I₁I₂/2πr; same-direction currents attract).

🔬 All science & engineering tools →🌍 Calculators by country →