Loading
How electric current creates invisible circles of magnetic force and why this discovery unified electricity and magnetism forever.
For centuries, electricity and magnetism were considered completely separate forces of nature. Static electricity, discovered by the ancient Greeks when they rubbed amber, had nothing obvious to do with the mysterious lodestones that pointed north. It was a dramatic, almost accidental observation in 1820 that overturned this assumption and launched one of the most productive revolutions in the history of physics — the unification of electricity and magnetism into a single theory.
Understanding the magnetic field around a current-carrying wire is not just an academic exercise; it is the foundational principle behind electric motors, generators, transformers, MRI machines, and every electromagnetic device in modern civilization. The story begins with a compass needle deflecting during a lecture.
The central question this lesson addresses is deceptively simple: when electric charges flow through a wire, what is the shape, direction, and strength of the magnetic field they create? Answering this question precisely gives us the tools to design everything from earbuds to particle accelerators.
Before diving into equations and diagrams, it is important to establish the foundational ideas that govern the magnetic field around a current-carrying wire. These principles explain not just what happens but why the field takes the form it does.
The magnetic field, symbolized by B (sometimes called magnetic flux density), is a vector quantity — it has both magnitude and direction at every point in space. Its SI unit is the tesla (T), named after Nikola Tesla. A smaller, commonly used unit is the gauss (G), where 1 T = 10,000 G. For reference, Earth's magnetic field is roughly 25–65 microtesla (μT), while a typical MRI machine operates at 1.5–3 T.
The following diagram shows a long, straight current-carrying wire from two perspectives. On the left, you see a cross-sectional view looking along the wire (the current flows out of the page toward you, indicated by the dot). On the right, a three-dimensional perspective shows how the concentric circular field lines wrap around the wire. Notice how the spacing between field lines increases with distance, indicating a weaker field farther from the wire.
In the cross-section view (left), the wire carries current directly out of the page — represented by the dot (think of it as the tip of an arrow coming toward you). Applying the right-hand rule, point your right thumb out of the page and your fingers curl counterclockwise, which is exactly the direction the B⃗ field arrows point. The field lines are closest together near the wire, indicating a stronger field, and spread out at greater distances, indicating a weaker field.
The three-dimensional view (right) emphasizes that these circular field lines exist at every point along the wire's length. The result is a cylindrical "sleeve" of magnetic field surrounding the entire length of the conductor. This geometry is the key to understanding solenoids, toroids, and other electromagnetic devices.
Two closely related mathematical expressions let us calculate the magnetic field around a current-carrying wire. The Biot-Savart Law is the general tool — it works for wires of any shape — while Ampère's Law provides a simpler route when the geometry has enough symmetry. For a long, straight wire, both approaches yield the same elegant result.
Let us unpack each symbol. B is the magnetic field strength in tesla (T). μ₀ (pronounced "mu-naught") is the permeability of free space, a fundamental constant equal to 4π × 10⁻⁷ T·m/A. I is the current through the wire in amperes (A). r is the perpendicular distance from the wire to the point where we measure the field, in meters (m).
This equation tells us several important physical facts. The field is directly proportional to the current — double the current and you double the field. It is inversely proportional to the distance — move twice as far away and the field halves. And the factor of 2π in the denominator reflects the circular symmetry of the field lines.
Ampère's Law is powerful because for a long, straight wire, we can choose a circular Amperian loop of radius r centered on the wire. Along this loop, the magnetic field has constant magnitude and is always tangent to the path, so the dot product simplifies: B × (2πr) = μ₀I. Solving for B immediately gives us the same result as the Biot-Savart approach: B = μ₀I / (2πr).
The vector form uses cylindrical coordinates. With the wire along the z-axis and current flowing in the +z direction, the field points in the +φ̂ direction (counterclockwise when viewed from above). If the current reverses, the field reverses direction as well. This vector notation compactly encodes both the magnitude and the circular direction of the field.
To build deeper intuition, let us examine how the magnetic field strength changes as we vary the current and the distance, and compare the field around a straight wire to the fields of the Earth and common devices.
The graph above plots the field strength for a wire carrying 10 A of current. At just 1 cm from the wire, the field is about 200 μT — roughly four times stronger than Earth's magnetic field. By 10 cm, it has fallen to 20 μT, and by half a meter, it is barely detectable compared to ambient fields. This rapid falloff is characteristic of the 1/r dependence.
The table below gives representative field values for different currents and distances, showing how these two variables interact.
| Current (A) | Distance (cm) | B (μT) | Comparison |
|---|---|---|---|
| 1 | 1 | 20 | ~ Half of Earth's field |
| 10 | 1 | 200 | ~ 4× Earth's field |
| 10 | 5 | 40 | ~ Earth's field |
| 10 | 10 | 20 | Deflects a nearby compass |
| 100 | 1 | 2,000 | Power line level |
| 100 | 100 | 20 | Measurable at 1 m from power line |
Notice that 100 A at 1 cm produces 2,000 μT (2 mT) — strong enough to have real engineering consequences. High-voltage transmission lines carry hundreds of amperes, which is why there are health and safety regulations governing the minimum distance between power lines and homes.
A long, straight wire carries a current of 15 A flowing from south to north. Calculate the magnitude and direction of the magnetic field at a point located 4.0 cm to the east of the wire.
The formula B = μ₀I / (2πr) is elegant and widely useful, but like all physics models, it has specific conditions where it applies perfectly and others where it breaks down or needs modification. Understanding these boundaries is crucial for applying the concept correctly.
| Aspect | Strength / Applicability | Limitation / Caveat |
|---|---|---|
| Wire length | Excellent approximation for any wire much longer than r | Fails for short wire segments; must use Biot-Savart for finite wires |
| Wire thickness | Valid outside the wire when wire diameter ≪ r | Inside a thick conductor, B varies linearly with r, not as 1/r |
| Multiple wires | Superposition principle: add B⃗ vectors from each wire | Calculations become complex; directions matter (can cancel or add) |
| Medium | Exact in vacuum; good approximation in air | In magnetic materials (iron, ferrite), replace μ₀ with μ = μ₀μᵣ |
| AC currents | Instantaneous formula still valid at each moment | Field oscillates with current; radiation effects at high frequencies |
| Relativity | Fully consistent with special relativity — magnetic force is a relativistic correction to the electric force | At velocities near c, the full relativistic treatment is needed |
One particularly important situation is when two parallel wires carry current. If the currents flow in the same direction, their magnetic fields create an attractive force between the wires. If the currents flow in opposite directions, the force is repulsive. This principle is the basis for the original definition of the ampere: one ampere is the current that, flowing in each of two infinitely long parallel wires one meter apart, produces a force of 2 × 10⁻⁷ newtons per meter of wire.
The magnetic field around a straight wire is the simplest case in a vast hierarchy of electromagnetic configurations. Understanding how it connects to more advanced structures helps you see the bigger picture of electromagnetism.
| Configuration | Formula for B | Key Feature |
|---|---|---|
| Long straight wire | B = μ₀I / (2πr) | Field falls off as 1/r; circular loops |
| Center of circular loop | B = μ₀I / (2R) | Field concentrated at center; basis of magnetic dipole |
| Solenoid (interior) | B = μ₀nI | Uniform field inside; n = turns per meter |
| Toroid (interior) | B = μ₀NI / (2πr) | No external field; N = total turns |
Notice the progression: a straight wire produces a field that spreads in all directions (1/r decay). Bending the wire into a loop concentrates the field along the loop's axis. Stacking many loops into a solenoid creates a nearly uniform field inside — the basis for electromagnets. Closing the solenoid into a toroid (doughnut shape) traps the field completely inside, with zero external field — the principle behind transformers and fusion reactor magnets.
At the deepest level, Maxwell's equations reveal that the magnetic field around a wire is not an isolated phenomenon. It is part of a coupled system where changing electric fields create magnetic fields and vice versa. This coupling is what produces electromagnetic waves — radio waves, light, X-rays — all of which propagate at the speed of light c = 1/√(μ₀ε₀). The humble formula B = μ₀I / (2πr) is a static snapshot of one piece of this grand electromagnetic tapestry.
The magnetic field around a current-carrying wire is one of the most fundamental phenomena in electromagnetism, first discovered by Ørsted in 1820 and quantified by Biot, Savart, and Ampère. When electric current I flows through a long, straight conductor, it generates a magnetic field B whose lines form concentric circles centered on the wire. The direction of these circles is determined by the right-hand rule: point your thumb along the current, and your fingers curl in the direction of the field.
The magnitude of this field is given by the formula B = μ₀I / (2πr), where μ₀ = 4π × 10⁻⁷ T·m/A is the permeability of free space and r is the perpendicular distance from the wire. The field is directly proportional to the current and inversely proportional to the distance, falling off as 1/r due to the wire's one-dimensional geometry. This simple result, derivable from either the Biot-Savart Law or Ampère's Law, is the building block for understanding solenoids, electromagnets, transformers, and ultimately all of Maxwell's electromagnetic theory.
Keep learning with more lessons from the same subject.