1. Home
  2. Class 11–12
  3. Physics
  4. Maharashtra Board Class 12
  5. Magnetic Field of a Current

Magnetic Field of a Current

Switch on a current over a compass and watch the needle swing, as Oersted did in 1820. Then circle a wire with compasses and see the field form rings that weaken with distance.

Interactive 3DPhysicsBeginner6 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In Oersted’s compass, which way does the needle swing for a current flowing north?
    • In Oersted’s compass, why does 5 A turn the needle more than 2 A?
    • In Circles round a wire, what happens to every needle when the current is reversed?

    What is a magnetic field?

    A magnetic field is the region round a magnet, or round a current, where a magnetic force acts on another magnet, a moving charge or a current. Its strength and direction are given by the vector B, the magnetic induction (or magnetic flux density). Its SI unit is the tesla (T): 1 T = 1 N A⁻¹ m⁻¹.

    source B
    Earth’s field at the surface about 5 × 10⁻⁵ T
    a fridge magnet about 5 × 10⁻³ T
    a strong lab magnet about 1 T
    an MRI scanner 1.5 to 3 T

    Oersted’s experiment

    In the 3D model, choose Oersted’s compass and press Play. Seen from above, a wire runs north–south 2 cm above a compass, where the Earth’s horizontal field is 4 × 10⁻⁵ T.

    current wire’s field at the needle needle
    0 0 points north
    2 A, flowing north 2 × 10⁻⁵ T, west 26.6° west
    5 A, flowing north 5 × 10⁻⁵ T, west 51.3° west
    5 A, flowing south 5 × 10⁻⁵ T, east 51.3° east

    The needle settles along the sum of the Earth’s field and the wire’s field: tan⁡θ=BwireBH\tan\theta = \dfrac{B_{wire}}{B_{H}}. In 1820 Hans Christian Oersted saw exactly this: an electric current produces a magnetic field. It was the first link between electricity and magnetism.

    Field lines round a wire

    Choose Circles round a wire. A vertical wire carries 10 A up through a card. Small compasses on the card line up along circles centred on the wire.

    Right-hand thumb rule: grip the wire with your right hand, thumb along the current; your fingers curl in the direction of the field.

    The field is stronger near the wire and weaker further away:

    B=μ0I2πrB = \frac{\mu_{0}I}{2\pi r}
    distance B (10 A)
    2 cm 1 × 10⁻⁴ T
    4 cm 5 × 10⁻⁵ T
    8 cm 2.5 × 10⁻⁵ T

    Reverse the current and every needle turns round. Magnetic fields are made by moving charges: in wires, and inside the atoms of magnets.

    Worked example

    A wire 2 cm above a compass carries 5 A northwards. The Earth’s horizontal field is 4 × 10⁻⁵ T. How far does the needle turn?

    1. Wire’s field at the needle: B=4π×10−7×52π×0.02=5×10−5B = \dfrac{4\pi \times 10^{-7} \times 5}{2\pi \times 0.02} = 5 \times 10^{-5} T, pointing west.
    2. tan⁡θ=5×10−54×10−5=1.25\tan\theta = \dfrac{5 \times 10^{-5}}{4 \times 10^{-5}} = 1.25, so θ = 51.3° west of north.

    Remember: currents make magnetic fields; round a straight wire the lines are circles (right-hand thumb rule) and B=μ0I2πrB = \dfrac{\mu_{0}I}{2\pi r}.

    Formulas and where to use them

    Field of a long straight wire

    B=μ0I2πr,μ0=4π×10−7 T m A−1B = \dfrac{\mu_{0}I}{2\pi r}, \qquad \mu_{0} = 4\pi \times 10^{-7}\ \text{T m A}^{-1}
    where
    II
    current in the wire (A)
    rr
    distance from the wire (m)

    Use it when: A long straight wire; derived in later lessons.

    Unit of B

    1 T=1 NA m1\ \text{T} = 1\ \dfrac{\text{N}}{\text{A m}}
    where
    TT
    tesla

    Use it when: Earth’s field is about 5 × 10⁻⁵ T; a fridge magnet about 5 × 10⁻³ T.

    Common mistakes

    • Thinking only magnets make magnetic fields. Every current, and every moving charge, makes one.
    • Drawing straight field lines round a wire. They are circles centred on the wire.
    • Using the left hand. Thumb along the current, fingers curl along B: right hand.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. Oersted discovered in 1820 that…

    2. The magnetic field lines round a long straight wire are…

    3. The SI unit of magnetic field B is the…

    4. The field 4 cm from a long wire is 5 × 10⁻⁵ T. At 8 cm it is…

    5. The current in a wire over a compass is reversed. The needle…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Magnetic Field of a Current. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.