Plan your future with our Retirement Budget Calculator

Magnetic Field of a Wire Calculator

Enter the wire current and distance to instantly calculate the magnetic field strength (B = μ₀I / 2πr) in Tesla, Gauss, Microtesla, and Nanotesla — plus energy density, force on a parallel wire, and a comparison to Earth's magnetic field.
Loading...
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter Current (A)

    Input the electric current flowing through the wire in amperes (A). This is the source of the magnetic field.

  2. 2

    Enter Distance from Wire (m)

    Input the perpendicular distance from the center of the wire to the point where you want to measure the magnetic field, in meters (m).

  3. 3

    Review Field Strength

    The calculator will display the magnetic field strength in Tesla, Gauss, and Microtesla, along with comparisons to Earth's magnetic field and other related metrics.

Example Calculation

An electrical engineer is analyzing the magnetic field around a power line carrying 10 amperes of current at a distance of 0.05 meters.

Current (A)

10

Distance from Wire (m)

0.05

Results

0.00004 T

Tips

Verify Current Direction (Right-Hand Rule)

While the calculator provides magnitude, remember to use the Right-Hand Rule to determine the direction of the magnetic field lines. Curl your fingers around the wire in the direction of the field, and your thumb points in the direction of current flow.

Consider Shielding for Sensitive Equipment

If the calculated magnetic field is significant (e.g., approaching Earth's field strength of ~50 µT), consider magnetic shielding for nearby sensitive electronics to prevent interference or malfunction.

Distance is Key for Field Decay

Notice how rapidly the magnetic field strength decreases with distance (inversely proportional). Even doubling the distance can halve the field strength, a crucial principle in electromagnetic design.

Calculating the Magnetic Field Generated by a Wire

The Magnetic Field of a Wire Calculator determines the magnetic field strength (B) produced by a current-carrying wire, providing results in Tesla, Gauss, and Microtesla. This tool is fundamental for physicists, electrical engineers, and students studying electromagnetism, allowing them to quantify the invisible forces at play. Understanding that the Earth's magnetic field averages around 50 microtesla, this calculation helps contextualize the strength of man-made electromagnetic fields in 2025.

The Physics Behind a Current's Magnetic Field

The magnetic field produced by a long, straight current-carrying wire is described by Ampère's Law. This law states that the magnetic field lines form concentric circles around the wire, and the strength of this field is directly proportional to the current flowing through the wire and inversely proportional to the perpendicular distance from the wire. The constant of proportionality involves the permeability of free space (μ₀), a fundamental physical constant.

Magnetic Field (B) = (μ₀ × Current) / (2 × π × Distance)

Where μ₀ is the permeability of free space (4π × 10⁻⁷ T·m/A), Current is in Amperes (A), and Distance is in meters (m).

💡 To understand other fundamental forces, our Pulley System Force Calculator explores mechanical advantage in lifting heavy loads.

Analyzing the Field from a 10-Ampere Wire

Let's calculate the magnetic field strength for a wire carrying a current of 10 Amperes (A) at a distance of 0.05 meters (m).

  1. Identify Constants: Permeability of free space (μ₀) = 4π × 10⁻⁷ T·m/A.
  2. Apply Formula: B = (4π × 10⁻⁷ T·m/A × 10 A) / (2 × π × 0.05 m) B = (40π × 10⁻⁷) / (0.1π) B = (40 × 10⁻⁷) / 0.1 B = 400 × 10⁻⁷ = 4 × 10⁻⁵ T B = 0.00004 T

This means the magnetic field at 5 cm from the wire is 0.00004 Tesla, which is equivalent to 40 microtesla (µT) or 0.4 Gauss. This field is comparable to the Earth's ambient magnetic field.

💡 Understanding relative motion is another key physics concept, explored in our Relative Velocity Calculator.

Applications of Magnetic Fields from Current

The magnetic field generated by a current-carrying wire is not just a theoretical concept; it underpins countless modern technologies. Electromagnets, which are essential components in motors, generators, and relays, operate on this principle by winding wires into coils to concentrate the magnetic field. In data storage, such as hard drives, tiny magnetic fields are used to read and write information. Medical imaging techniques like MRI (Magnetic Resonance Imaging) rely on powerful magnetic fields to create detailed images of the body's interior. Even in everyday electronics, understanding these fields is crucial for designing circuits that minimize electromagnetic interference (EMI) and ensure proper device function, from power transmission lines to microchips.

Ampère's Law and the Discovery of Electromagnetism

The relationship between electricity and magnetism was first observed in 1820 by Danish physicist Hans Christian Ørsted, who noticed that a compass needle deflected when placed near a current-carrying wire. This accidental discovery marked the birth of electromagnetism. Building on Ørsted's work, French physicist André-Marie Ampère quickly formulated a mathematical law describing this interaction, now known as Ampère's Law. Published in 1826, Ampère's law precisely quantified how electric currents produce magnetic fields, laying the theoretical foundation for much of modern electrical engineering and physics. His work, alongside that of Faraday and Maxwell, ultimately unified electricity and magnetism into a single fundamental force, revolutionizing scientific understanding and paving the way for technologies from electric motors to radio communication.

Frequently Asked Questions

What creates a magnetic field around a current-carrying wire?

A magnetic field is generated around any conductor through which an electric current flows. This phenomenon, discovered by Hans Christian Ørsted, is a fundamental principle of electromagnetism. The moving electric charges (current) produce a magnetic field that encircles the wire, with the strength and direction of this field described by Ampère's Law and the right-hand rule, respectively.

How does the strength of the magnetic field relate to current and distance?

The strength of the magnetic field (B) around a long, straight current-carrying wire is directly proportional to the current (I) flowing through the wire and inversely proportional to the perpendicular distance (r) from the wire. This means if you double the current, the field strength doubles. If you double the distance from the wire, the field strength halves. This inverse relationship is critical for understanding electromagnetic interactions.

What are Tesla, Gauss, and Microtesla units?

Tesla (T) is the standard SI unit for magnetic field strength, representing a very strong field. Gauss (G) is a smaller CGS unit, where 1 Tesla equals 10,000 Gauss. Microtesla (µT) is a sub-unit of Tesla, where 1 Tesla equals 1,000,000 microtesla. For context, Earth's magnetic field strength at the surface is typically around 25 to 65 microtesla (0.25 to 0.65 Gauss), making microtesla a more practical unit for everyday magnetic field measurements.

What is magnetic energy density and force per meter in this context?

Magnetic energy density (u) represents the amount of energy stored in a magnetic field per unit volume, measured in Joules per cubic meter (J/m³). Force per meter (F) refers to the force exerted on a parallel current-carrying wire placed within this magnetic field, measured in Newtons per meter (N/m). These derived quantities help engineers design systems where magnetic fields are used to store energy or exert forces, such as in motors, generators, or inductors.