Ampere's Law — Straight Wire
Find B at distance r from a long straight wire
Parameters
Controls
Calculated Values
Examples
I=10 A, r=0.05 m
Near wire.
Visualization
Ampere's Law — Field of a Long Straight Wire
The magnetic field at perpendicular distance r from a very long straight wire carrying steady current I is one of the cornerstone results of magnetostatics: B = μ₀I/(2πr). Field lines are concentric circles centered on the wire, lying in planes perpendicular to the current. The field falls off as 1/r — slower than electrostatic 1/r² because field lines close in loops without beginning or ending on magnetic charges (there are no magnetic monopoles).
μ₀ = 4π × 10⁻⁷ T·m/A is the permeability of free space. Numerical check: I = 10 A at r = 0.05 m gives B = (4π×10⁻⁷)(10)/(2π×0.05) = 4×10⁻⁵ T = 40 μT — comparable to Earth's field but from a lab current.
Direction uses the right-hand grip rule: thumb along current, curled fingers show B direction around the wire. Reversing current reverses the sense of circulation.
Ampère's circuital law ∮ B⃗·dℓ⃗ = μ₀I_enc generalizes this: choose a circular Amperian loop of radius r around the wire; symmetry gives B constant on the loop, so B(2πr) = μ₀I.
The formula assumes the wire is much longer than r so end effects are negligible. For finite wires, use the Biot–Savart law and integrate. Inside a thick wire with uniform current density, B grows linearly with r inside and falls as 1/r outside.
Applications include estimating fields near power lines, designing electromagnets (as building block for solenoids), and explaining why two parallel wires exert forces on each other.
Key Concepts
- B = μ₀I/(2πr)
- B ∝ 1/r outside long wire
- Circular B lines
- μ₀ = 4π×10⁻⁷ T·m/A
- RHR for B direction
- ∮B·dl = μ₀I_enc
Real-World Applications
- Field near power cables
- Solenoid field derivation
- Two-wire force / ampere definition
- Lab compass deflection demos
- Class 12 Ampère law numericals
Explore Further
- All Magnetism Calculators
Browse every magnetism solver in this category.
- Electricity & Magnetism Formulas
Ampère, Faraday, Lorentz force, and circuit relations.
- Magnetism Basics
Forces on charges and currents in magnetic fields.
- Lorentz Force
Step in Class 12 — Magnetism.
- Solenoid Field
Step in Class 12 — Magnetism.
- Faraday's Induction
Step in Class 12 — Magnetism.
- Hall Effect
Step in Class 12 — Magnetism.
- Physics Constants Reference
SI values for c, G, k_B, ε₀, and more used across solvers.
More magnetism tools
- Magnetic Field
Calculate magnetic field strength, magnetic force, and magnetic flux using Ampere's Law.
- Lorentz Force
Find magnetic force on a moving charge: F = |q|vB.
- Force on Current Wire
Calculate F = BIL on a conductor in a magnetic field.
- Solenoid Field
Uniform field inside ideal solenoid: B = μ₀nI.
- Magnetic Flux
Flux through a surface: Φ = BA cos θ.
- Faraday's Induction
Induced EMF from changing flux: |ε| = N|ΔΦ/Δt|.
Physics Equations
Step-by-Step Solution
See how the main results are calculated.
Step 1: Ampere's Circuital Law
Equation:
Explanation:
For a circular path around a long straight wire, symmetry gives constant |B| on the circle.
Step 2: Field of Long Wire
Equation:
Explanation:
r is perpendicular distance from wire; B forms concentric circles.
Step 3: Constant μ₀
Result:
Step 4: Substitute
Calculation:
Explanation:
Ensure r is in meters and I in amperes.
Step 5: Result
Calculation:
Result:
Step 6: Scaling Laws
Double I → double B. Double r → half B.
Explanation:
Valid when wire length ≫ r (infinite wire approximation).
Frequently Asked Questions (FAQ)
Finite wire?
Use Biot-Savart; 1/r law approximate when r << length.
Inside wire?
Uniform current: B = μ₀Ir/(2πR²) inside.
Practice MCQs
- B at distance r from long wire:
- Double distance r:
- μ₀ value:
- Field lines around wire:
- Double current:
- Ampere law relates B to:
Related Calculators
These tools connect to the same physics concepts used in this calculator.