Ampère's Law Magnetic Field Around an Infinite Wire Calculator
B = μ₀ · I / (2 · π · r) — perpendicular distance from wire.
Compute the magnitude of the magnetic field a distance r from an infinitely long straight current-carrying wire using Ampère's law: B = μ₀ · I / (2 π r), where μ₀ = 4π × 10⁻⁷ T·m/A. Field circles the wire (right-hand rule) and falls off inversely with distance.
How to use this calculator
- Fill in the inputs above using the units you already have.
- Values update automatically as you type — no submit button needed.
- Hover any result row for the underlying formula and intermediate values.
Formula
B = μ₀ · I / (2 π r).
In depth
Compute the magnitude of the magnetic field a distance r from an infinitely long straight current-carrying wire using Ampère's law: B = μ₀ · I / (2 π r), where μ₀ = 4π × 10⁻⁷ T·m/A. Field circles the wire (right-hand rule) and falls off inversely with distance.
Spot an issue or have a suggestion?
Our editors read every message. If the math looks off, tell us the inputs you used and what you expected.