Magnetic Force Between Wires Calculator

Calculate force per metre and total force between two long parallel current-carrying wires.

Parallel-wire magnetic force
Enter both currents, centre-to-centre separation, and interacting length.

About magnetic force between parallel wires

Two parallel conductors carrying current exert magnetic forces on one another. The first wire creates a circular magnetic field, and charges moving in the second wire experience a Lorentz force in that field. For wires that are long compared with their separation, the resulting force per unit length is F/L = μ₀I₁I₂ / (2πd). Here I₁ and I₂ are current magnitudes, d is centre-to-centre separation, and μ₀ is vacuum permeability. Multiplying by the chosen parallel length gives the total force over that segment. The interaction grows with either current. Doubling one current doubles the force, while doubling both makes the force four times as large. Increasing separation weakens the interaction inversely, so twice the distance produces half the force per metre. The equation assumes air or vacuum between the conductors. It also assumes thin, straight, parallel wires and neglects end effects, nearby magnetic materials, bends, and other current paths. Direction depends on current orientation. Currents flowing in the same direction attract, while currents flowing in opposite directions repel. This calculator accepts magnitudes and reports force magnitude, so identify attraction or repulsion from the actual current directions in your circuit. Each wire experiences an equal-magnitude force in the opposite spatial direction, consistent with Newton's third law. In practical installations those distributed forces can create stress, vibration, or movement in busbars and cable supports. Historically, this interaction helped define the ampere because it gives a direct mechanical consequence of electric current. Modern SI definitions no longer use the old exact force-based definition, but the relation remains central to electromagnetism. Use metres for both separation and length, amperes for currents, and interpret output in newtons per metre and newtons. Separation should be measured between conductor axes rather than between their nearest surfaces. For thick conductors, closely spaced conductors, finite lengths, or complex cable layouts, numerical field analysis may be required. This ideal calculator is most useful for textbook problems, quick busbar estimates, force comparisons, and checking detailed models. It clearly separates the geometry-independent distributed load from total force, helping prevent the common mistake of treating newtons per metre as a total newton value.

Parallel-wire examples

These examples assume long wires in air or vacuum.

InputsForceInterpretation
I₁ = 5 A, I₂ = 10 A, d = 0.1 m, L = 2 mF/L = 0.0001 N/m, F = 0.0002 NTypical low-current laboratory conductors.
I₁ = 100 A, I₂ = 200 A, d = 0.05 m, L = 3 mF/L = 0.08 N/m, F = 0.24 NHigher current and closer spacing increase force.
I₁ = 1000 A, I₂ = 1000 A, d = 0.2 m, L = 1 mF/L = 1 N/m, F = 1 NA convenient high-current benchmark.

How to calculate wire force

  1. Enter the current magnitude in each parallel wire.
  2. Measure and enter centre-to-centre wire separation in metres.
  3. Enter the length over which the wires remain parallel.
  4. Select Calculate magnetic force, then use current directions to identify attraction or repulsion.

Frequently asked questions

Do parallel currents attract or repel?

Currents moving in the same direction attract each other. Currents moving in opposite directions repel, while the force magnitude follows the same equation.

Why is force per unit length reported?

The magnetic interaction is distributed continuously along ideal parallel wires. Reporting newtons per metre lets you scale the load to any shared parallel length.

How should wire separation be measured?

Measure centre to centre, not from the nearest conductor surfaces. This matches the thin-wire axes used to derive the magnetic field and force equations.

Does each wire experience the same force?

Yes, each wire experiences equal force magnitude in the opposite spatial direction. The pair therefore obeys Newton's third law even though attraction or repulsion changes with current orientation.

When is the long-wire formula inaccurate?

It becomes less accurate near wire ends, bends, or when length is not large compared with spacing. Thick conductors and nearby return paths can also require a more complete electromagnetic model.