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.
Two wires carrying currents in the same direction pull toward each other. No charge, no contact, no visible mechanism — just the quiet fact that each wire lives inside the other's magnetic field, and a current inside a magnetic field feels a force. Reverse one current and the attraction flips to repulsion. This unassuming effect is one of the load-bearing results of electromagnetism: it was for seventy years the definition of the ampere, it sets the mechanical design of power-station busbars that must survive fault currents of tens of thousands of amps, and it is the cleanest classroom demonstration that magnetism and electricity are one subject, not two.
The formula rewards a slow reading. The force per metre grows with the product of the currents — double both and the force quadruples — and falls with the separation d. The constant in front, μ₀/(2π) = 2 × 10⁻⁷ in SI units, is small, which is why everyday currents produce everyday-invisible forces: the go and return conductors of a lamp cable attract with a few thousandths of a newton per metre. But currents in engineering span six orders of magnitude, and the product term means the force spans twelve. At kilo-amp fault levels the same formula predicts hundreds of newtons per metre — forces that bend copper bars and tear mountings from walls, and that switchgear designers must calculate as carefully as the electrics.
Quoting the force per metre is not a dodge; it is the natural unit for a problem about infinitely long wires. Real wires are finite, but when their length is large compared with their separation the per-metre figure holds along almost the whole run, and the total force is just F/L multiplied by the parallel length — which is why this calculator offers an optional length. The direction rule deserves its mnemonic: currents that flow together, hold together; opposed currents part. Everything else — the derivation, the ampere's history, the fault-force engineering — is commentary on F/L = μ₀I₁I₂/(2πd).
Formula
F ÷ L = μ₀ × I₁ × I₂ ÷ (2π × d) • F/L = force per metre of wire (N/m), μ₀ = 4π × 10⁻⁷ H/m (the permeability of free space), I₁ and I₂ = the two currents (A), d = separation between the wires (m). Since μ₀ ÷ (2π) = 2 × 10⁻⁷, the working form is F/L = 2 × 10⁻⁷ × I₁ × I₂ ÷ d. Total force on a parallel run of length L: F = (F/L) × L. The two ingredients are the field around a long wire, B = μ₀I ÷ (2πd), and the force on a current in a field, F = B × I × L — substitute the first into the second and the calculator's formula appears.
| Symbol | Meaning | Units |
|---|---|---|
| F/L | force per metre of parallel run | newtons per metre (N/m) |
| μ₀ | permeability of free space = 4π × 10⁻⁷ | henries per metre (H/m) |
| I₁, I₂ | currents in the two wires | amps (A) |
| d | centre-to-centre separation of the wires | metres (m) |
| B | field of one wire at the other's position | teslas (T) |
| L | length of the parallel run (for total force) | metres (m) |
Two steps: a field, then a force on a current
The derivation is the most instructive two lines in magnetism. Step one: a long straight wire carrying I₁ wraps itself in circular field lines whose strength at distance d is B = μ₀I₁/(2πd) — falling as 1/d, the geometry of circles spreading around the wire. Step two: the second wire, carrying I₂ through that field at right angles to it, feels F = B I₂ L. Multiply them and the formula stands. There is no step three. The apparent puzzle — which wire acts on which? — dissolves in symmetry: run the same argument with the wires swapped and wire 1 feels an equal force toward wire 2. The pair is a Newton's-third-law handshake conducted through the field.
The direction rule falls out of the same picture. Wire 1's field at wire 2's location points, say, into the page when both currents run upward. The force on an upward current in an into-the-page field points toward wire 1 — attraction. Reverse I₂ and the force on it reverses: repulsion, with wire 1 again feeling the mirror image. A subtle consequence hides between the wires: their fields add in the region between two same-direction wires and cancel outside, while for opposite currents the pattern swaps. That field geography is why bundled same-direction conductors behave magnetically like one fat wire, and why the go-return pair of a cable — opposite currents, fields cancelling at a distance — radiates so little interference.
How to use
- Enter the current in wire 1 and the current in wire 2, in amps.
- Enter the separation d in metres, centre to centre (5 cm = 0.05 m).
- Select whether the currents run in the same direction (attraction) or opposite directions (repulsion). The size of the force is the same either way — only its sign changes.
- Optionally enter the parallel length L to get the total force on that run.
- Click "Calculate". Sanity anchor: 1 A in each wire at 1 m must give exactly 2 × 10⁻⁷ N/m — the historical definition of the ampere, and a good check that d went in in metres.
Worked examples
Example 1 — the textbook pair. 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. (Intermediate step, for the derivation-minded: wire 1's field at wire 2 is B = μ₀ × 10 ÷ (2π × 0.05) = 4 × 10⁻⁵ T, and F/L = B × I₂ = 4 × 10⁻⁵ × 20 = 8 × 10⁻⁴ N/m, as it must be.)
Example 2 — the ampere itself. Two wires carry I₁ = I₂ = 1 A, exactly d = 1 m apart.
F/L = 2 × 10⁻⁷ × 1 × 1 ÷ 1 = 2 × 10⁻⁷ N/m.
From 1948 to 2019 this was not merely a result but a definition: one ampere was the current that produces this force. The 2019 redefinition fixed the ampere by the elementary charge instead — and left this formula, reassuringly, untouched.
Example 3 — overhead line conductors. Two conductors carry 500 A each in opposite directions (a go-and-return pair), spaced d = 2 m.
F/L = 2 × 10⁻⁷ × 500 × 500 ÷ 2 = 0.025 N/m, repulsive.
Over a 50 m span that is 0.025 × 50 = 1.25 N — trivial statically, but under wind and ice the conductors already swing; designers check that magnetic repulsion cannot push neighbouring phases into contact during a through-fault, when currents are far larger.
Example 4 — busbar fault forces. A short circuit drives I₁ = I₂ = 10,000 A through parallel busbars d = 0.1 m apart, currents opposed.
F/L = 2 × 10⁻⁷ × 10,000 × 10,000 ÷ 0.1 = 200 N/m — the weight of a 20 kg mass hanging off every metre.
On a 3 m run: 600 N, delivered as a hammer-blow in the first half-cycle. Switchgear standards require bracing calculations with exactly this formula; unbraced bars have been bent like bananas by faults the electrics survived.
Example 5 — a laboratory demonstration. Two light aluminium tapes hang side by side carrying 100 A each at d = 0.01 m.
F/L = 2 × 10⁻⁷ × 100 × 100 ÷ 0.01 = 0.2 N/m.
That is clearly visible: the tapes swing together (same direction) or bow apart (opposed). Lecture demonstrations of the ampere used precisely this arrangement, with the tapes' deflection as the readout.
Example 6 — inside a lamp cable. The two conductors of a flexible cable carry 10 A in opposite directions, d = 0.005 m apart.
F/L = 2 × 10⁻⁷ × 10 × 10 ÷ 0.005 = 4 × 10⁻³ N/m, repulsive.
Utterly negligible mechanically — the insulation shrugs it off — which is why cables do not writhe when you switch on a heater. The formula spans the sublime and the mundane without changing its mind.
The wire force in real life
Busbar and switchgear design. Example 4 is a daily calculation in power engineering: prospective fault currents of 25–100 kA make electromagnetic forces the dominant mechanical load on busbar supports, and standards mandate bracing spacings computed from F/L = μ₀I₁I₂/(2πd) at the fault peak.
The pinch effect. A single conductor carrying a huge current attracts itself: parallel current filaments within it pull together, squeezing the conductor. In lightning channels and plasma experiments this pinch is strong enough to constrict the discharge — the wire force acting inside one "wire".
Railguns and electromagnetic launch. A railgun's armature is pushed by the force on a current crossing the field between two rails carrying mega-amps — F = BIL industrialised. The rails themselves repel each other with the parallel-wire force and must be contained by massive housings.
Overhead-line galloping and clashing. Wind can swing line conductors; fault currents add magnetic attraction or repulsion between phases. Utilities space and bundle conductors with both effects in mind, and bundled conductors for one phase exploit same-direction attraction to behave as a unit.
Precision balances and the ampere's history. Current balances — exquisitely sensitive scales weighing the force between coils and wires — realised the ampere for national laboratories for decades. The force in this page's formula, weighed against gravity, was the world's current standard.
Cable management in big installations. In data centres and substations, parallel single-core cables carrying large AC currents are trefoiled or spaced deliberately: the alternating attraction and repulsion at twice mains frequency can chafe insulation over years if cables are left to vibrate against each other.
Quick reference: force at a glance
| Current in each wire (I₁ = I₂) | F/L at d = 0.1 m | Comparable weight per metre |
|---|---|---|
| 1 A | 2 × 10⁻⁶ N/m | a grain of sand's weight, spread out |
| 10 A | 2 × 10⁻⁴ N/m | a small coin's weight per 10 m |
| 100 A | 0.02 N/m | about 2 grams-force per metre |
| 1,000 A | 2 N/m | a 200 g mass hanging on each metre |
| 10,000 A | 200 N/m | a 20 kg mass on each metre — structural |
The quadratic staircase is the table's lesson: four decades of current buy eight decades of force. It is also a warning about extrapolation — a formula verified on a bench at 10 A is making very serious claims at 10 kA, and in fault engineering those claims are designed for, not admired.
Three or more wires: forces simply add
Real installations rarely stop at two conductors, and the extension is mercifully simple: magnetic forces obey superposition, so the force on any one wire is the vector sum of its pairwise forces with every other wire, each computed by this page's formula with its own current product and separation. Three-phase busbars are the standard exercise — the middle bar feels pulls from both neighbours that partly cancel when the outer currents are symmetric, while each outer bar feels a net inward or outward push depending on the phase angles at that instant. Because the three currents peak at different times, the force on each bar pulsates through the cycle, and bracing is designed for the worst instant rather than the average. The same pairwise bookkeeping scales from a three-bar switchboard to the bundled conductors of a transmission line: no new physics enters, only more pairs. When a problem looks complicated, decompose it into pairs, compute each F/L, and add the arrows — the two-wire formula is the atom from which all of it is built.
Common mistakes
- Entering d in centimetres. 5 cm must go in as 0.05 m. Entering 5 shrinks the force a hundredfold — the difference between Example 1 and a rounding error.
- Quoting F/L as the total force. The headline answer is per metre. A 30 m parallel run multiplies it by 30; forgetting the length understates busbar loads by exactly the run's length.
- Getting the direction backwards. Same direction attracts; opposite repels. The calculator's drop-down exists because sign errors here flip designs — a braced-for-attraction mounting fails under repulsion.
- Applying the formula to short, crossing or distant wires. It assumes long, parallel wires with length ≫ d. For short stubs, angled runs or separations comparable to the length, end effects dominate and the true force needs the full Biot–Savart treatment.
- Using RMS current for a fault peak. Mechanical forces follow the instantaneous current, and an asymmetrical fault's first peak can approach twice the steady peak. Switchgear practice designs for the peak, not the RMS — check which current your number represents.
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.
Do AC currents attract too?
Yes — instant by instant the same rule applies. Two conductors carrying AC in phase attract with a force pulsating at twice the supply frequency, averaging half the peak value. Conductors in antiphase repel on the same average. The vibration this causes is a real design consideration in substations.
What if the currents are unequal?
Nothing changes structurally: the force depends on the product I₁ × I₂, so a 5 A wire and a 200 A wire attract exactly as two wires of √(5 × 200) ≈ 31.6 A would. Each wire still feels the same magnitude — Newton's third law does not care that the currents differ.
Does the force depend on the wires' thickness or material?
Not in this idealisation: d is measured centre to centre, and for separations large compared with the wire radius the formula holds for any conductor. At very small separations the current distribution within thick bars (skin and proximity effects) refines the answer slightly.
Why is μ₀ in the formula at all?
Because the field a current makes is a property of space itself in SI: B = μ₀I/(2πd). μ₀ = 4π × 10⁻⁷ H/m converts amps and metres into teslas; it is the same constant that appears in the toroid, solenoid and inductor formulas — one thread through all of magnetism.
Can the force be shielded?
Not by ordinary materials — magnetic fields pass through copper, plastic and wood almost unaffected. High-permeability enclosures (mu-metal) can redirect fields locally, and twisting a go-return pair cancels their distant field, but two bare parallel wires in free space always feel the full force.
How was this force used to define the ampere?
The pre-2019 definition declared: the ampere is the current which, in two parallel wires 1 m apart in vacuum, produces 2 × 10⁻⁷ N per metre. Laboratories realised it with current balances that weighed the force. Since 2019 the ampere is defined by fixing the elementary charge, and the wire force is a (still exact-looking) consequence rather than the standard.
Is the force between two wires in a cable why cables hum?
Partly. In large single-core installations the twice-frequency magnetic forces between conductors make cables and busbars vibrate audibly under load — the substation hum is as much this mechanical force as it is transformer magnetostriction. In domestic cables the force (Example 6) is far too small to hear.