Skip to content
LoveToCalc

Theorem — what does that mean?

Force between parallel wires

The magnetic force between two long straight wires carrying currents, over a stretch of length l.

In Swedish: Kraft mellan parallella strömledare

Force between parallel wires

The relation

F=μ₀I₁I₂l2πd

The magnetic force between two long, straight, parallel wires over a stretch of length l: μ₀ times the two currents times l, divided by 2π times the distance. Currents in the same direction attract.

Solve for

F≈0.0024N

F is approximately (((1.257 times 10 to the power of minus 6 times 10) times 30) times 2) divided by (2 times (π times 0.05)), is approximately ((1.257 times 10 to the power of minus 5 times 30) times 2) divided by (2 times 0.1571), is approximately (3.77 times 10 to the power of minus 4 times 2) divided by 0.3142, is approximately 7.54 times 10 to the power of minus 4 divided by 0.3142, is approximately 0.0024 N

Working5 steps

The formula

μ₀ is 1.256 637 061 27 × 10⁻⁶ N/A² (CODATA 2022), I₁ and I₂ the currents, l the length of wire considered, d the distance between the wires and F the force on that stretch, in newtons. Two wires 10 A and 30 A, 2 m long and 5 cm apart:

F = 1.2566 × 10⁻⁶ · 10 · 30 · 2 / (2π · 0.05) = 2.4 × 10⁻³ N.

Holds when the wires are straight and long compared with d, so that each sees the field of an infinite wire. Near the ends of a short pair the formula overestimates the force. Divided by l, F/l is the force per metre.

It is also called Ampère’s force law.

Attraction or repulsion

The formula gives the size. Currents in the same direction attract; currents in opposite directions repel. Each wire lies in the field of the other, B = μ₀I/(2πd), and the force on a conductor in that field is F = B · I · l.

A second example: the ampere

With 1 A in each wire and d = 1 m, F/l = μ₀/(2π) ≈ 2 × 10⁻⁷ N/m. Before 2019 this was the definition of the ampere. Now the ampere is fixed by the elementary charge, and μ₀ is measured; it differs from 4π × 10⁻⁷ by about 1.3 × 10⁻¹⁰ in relative terms.

Common mistakes

Questions people ask

Is the force on the two wires equal? In size, yes, by Newton’s third law: the forces are equal and point in opposite directions.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
μ₀2πdFI₁I₂l2π·0.05·0.002410·30·21.257 × 10⁻⁶
I₁2πdFμ₀I₂l2π·0.05·0.00241.257 × 10⁻⁶·30·210 A
I₂2πdFμ₀I₁l2π·0.05·0.00241.257 × 10⁻⁶·10·230 A
l2πdFμ₀I₁I₂2π·0.05·0.00241.257 × 10⁻⁶·10·302 m
dμ₀I₁I₂l2πF1.257 × 10⁻⁶·10·30·22π·0.00240.05 m
Fμ₀I₁I₂l2πd1.257 × 10⁻⁶·10·30·22π·0.050.0024 N

Last reviewed October 11, 2026 ·How pages are reviewed

ElectricityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.