StatGardenREF. DESK
Calculators/Physics/Force Between Parallel Wires
Physics

Force Between Parallel Wires calculator

Magnetic force per unit length between two long, straight, parallel current-carrying wires.

Published 8 August 2026 · Updated 21 September 2026

What this calculator does

Two parallel wires carrying current exert a magnetic force on each other. Currents in the same direction attract; currents in opposite directions repel, which is the reverse of what most people guess by analogy with electric charge.

The effect is small at ordinary currents but it is fundamental. For decades the ampere was defined by exactly this force between two wires a metre apart, which is why the constant in the formula used to be exact by definition.

The formula

FormulaF/L = μ₀I₁I₂ / (2πd)

Multiply the permeability of free space by both currents, then divide by two π times the separation. The result is force per unit length, which multiplied by the wire length gives the total force.

TermMeaning
Force per unit lengthThe natural output here, since the force grows with how much of the wires run parallel.
Attraction and repulsionParallel currents in the same direction attract; opposing currents repel.
Permeability of free space (μ₀)The magnetic constant, 4π × 10⁻⁷ T·m/A.

The inputs explained

FieldWhat to enter
Current in wire 1 (A)Current in the first wire, in amps.
Current in wire 2 (A)Current in the second wire, in amps. Use a negative value for current flowing the opposite way.
Distance between wires (m)The separation between the wire centres, in metres.
Wire length (m)A number, measured in m. Starts at 1.
Current directionsChoose from Same direction, Opposite direction.

When to use it

Assessing busbar forces under fault current

Normal currents give negligible force, but short-circuit currents can be thousands of amps and the force rises with their product.

Understanding the old ampere definition

The unit was defined by this exact force between two wires, which is why the formula once contained an exact constant.

Checking cable behaviour

Conductors in a cable carry opposing currents and therefore repel, which matters for mechanical design in high-current installations.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How does the force fall with separation?

Two wires carrying equal currents at a range of separations.

10 A in each wire, same direction
SeparationForce per metre (mN/m)Force per unit length
25 mm0.800000 mN/m8.0000e-4 N/m
50 mm0.400000 mN/m4.0000e-4 N/m
100 mm0.200000 mN/m2.0000e-4 N/m
Doubling the separation halves the force, from 0.800 mN/m at 25 mm to 0.400 at 50 mm. Even at close spacing the figure is under a thousandth of a newton per metre, which is why the effect is invisible at household currents.

Questions

Why do same-direction currents attract?

Each wire sits in the magnetic field created by the other, and the force on a current in a field is perpendicular to both. Working the directions through gives attraction for parallel currents, which is genuinely the opposite of the like-charges-repel rule for electrostatics.

Why does the force matter for switchgear?

Because it rises with the product of the two currents. At a fault current of tens of thousands of amps the force becomes large enough to bend busbars, so mechanical bracing is part of the design.

Is this how the ampere was defined?

It was, until 2019. The ampere was the current that produced a force of exactly 2 × 10⁻⁷ newtons per metre between two infinite parallel wires one metre apart. It is now defined from the elementary charge instead.

Does it work with a single wire and a magnet?

The same underlying physics applies: a current in a magnetic field experiences a force. That is exactly how electric motors work, with the field supplied by magnets rather than by a second wire.

For the field one wire produces, see the magnetic field of a straight wire calculator. For a coil's field, see the solenoid magnetic field calculator.