Loading…

Magnetic Force Between Wires Calculator

Physics Electricity and Magnetism • Magnetic Fields and Sources

View all topics

9. Magnetic Force Between Wires Calculator

Computes the magnetic force per unit length between two long, parallel wires: \( \dfrac{F}{L}=\dfrac{\mu_0 I_1 I_2}{2\pi d} \). Same-direction currents attract, opposite-direction currents repel.

Units: amperes (A), meters (m), newtons (N). Uses \( \mu_0 = 4\pi\times 10^{-7}\ \mathrm{T\cdot m/A} \). Inputs accept 1e-3, pi, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.
Inputs
Wire currents
Magnitude only; choose direction separately.
Direction is along the wire axis (z).
Magnitude only; choose direction separately.
Same direction → attract, opposite → repel.
Geometry
Center-to-center distance between wire axes.
If “Total”, the tool also computes \(F\) given a length \(L\).
Used only in “Total” mode.
Visual controls
Draws qualitative circular B-lines around each wire.
Higher value draws more loops and larger arrows.
Moves small markers along B-loops and pulses force arrows.

Pan/zoom: drag to pan • mouse wheel/trackpad/pinch to zoom • “Reset view” restores default.

Ready

Steps

Enter values and click Solve.

Wire pair visual

Cross-section view (x–y plane): currents (⊙/⊗), B-loops, and force direction
Legend
  • Wire axis (z-direction current shown as ⊙ out of page or ⊗ into page)
  • Qualitative B-loops (tangent indicates B direction)
  • Force on each wire (attracts/repels)
  • Separation distance \(d\)

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.