Campo de Fio Infinito

B = μ₀I/(2πr).
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

B
0,00002000 T

Formula

B = μ₀I/(2πr)

About this calculator

The Infinite Wire Field Calculator determines the magnitude of the magnetic field B generated by a very long straight wire carrying a constant electric current. It is based on Ampère's law, which relates the current to the magnetic field around the wire. The formula used is B = μ₀I/(2πr), where μ₀ is the vacuum permeability (4π × 10⁻⁷ T·m/A), I is the current in amperes, and r is the perpendicular distance from the point to the wire in meters. The result is given in teslas (T).

This tool is useful for students and professionals in physics and engineering who need to quickly calculate the magnetic field near electrical cables, transmission lines, or in laboratory experiments. For example, when designing magnetic sensors or analyzing electromagnetic interference, knowing the field strength at various distances is essential. It also aids in the theoretical understanding of Ampère's law in electromagnetism courses.

Important considerations: the formula assumes an infinitely long and straight wire, which is an approximation for real wires whose length is much greater than the distance r. For points very close to the wire or at its ends, the model may not be accurate. Additionally, the current must be constant (not time-varying) for direct application. The calculator does not account for fields from other conductors or nearby ferromagnetic materials.

Frequently asked questions

What is the unit of the calculated magnetic field?

The result is given in teslas (T), the SI unit for magnetic field.

Can I use this calculator for a finite-length wire?

No, the formula assumes an infinite wire. For finite wires, use the Biot-Savart law with integration.

What happens if the distance r is zero?

The formula diverges (division by zero), indicating the field tends to infinity. In practice, the wire has a finite radius.

Does the calculator account for surrounding materials?

No, it assumes vacuum or air (permeability μ₀). For material media, replace μ₀ with the medium's permeability.

Can I use it for alternating current?

The formula is for direct current. For AC, the field varies with time and induction effects may occur.

Other Eletromagnetismo Avancado calculators