Circuit 3D

Electromagnet

An electromagnet is a coil of wire, usually wound round an iron core, that becomes a magnet while current flows through it and stops being one when the current stops. Inside a long coil with no core, 1,000 turns carrying 50 mA over 5 cm make a field of 1.26 mT.

B = μ₀ × N × I ÷ L

where μ₀ is 4π × 10⁻⁷ T·m/A, N the number of turns, I the current and L the coil’s length, so 1,000 turns carrying 50 mA over 5 cm make 1.26 mT.

An iron core multiplies that many times, and a coil with a sliding iron plunger is a solenoid.

What is an electromagnet?

An electromagnet is a magnet made by electric current: a coil of wire, usually on an iron core, that attracts iron while current flows and lets go when it stops.

Unlike a permanent magnet, it can be switched on and off, made stronger or weaker, and reversed. In Figure 1, raise the current through a 1,000-turn coil and add an iron core to see the field grow.

S N 50 mA through 1,000 turns

50 mA, no core: B = μ₀NI ÷ L = 4π × 10⁻⁷ × 1,000 × 0.05 A ÷ 0.05 m = 1.26 mT, about 25 times Earth’s field.

Figure 1. A coil of 1,000 turns, 5 cm long. The field lines drawn round it grow denser as the field grows.

What is electromagnetism?

Electromagnetism is the link between electricity and magnetism: an electric current makes a magnetic field, and a changing magnetic field makes a voltage, which is how electromagnets, motors and generators all work.

It is one of the four fundamental forces of nature, and light itself is an electromagnetic wave. An electromagnet uses the first half of the link; electromagnetic induction is the second.

What is a magnetic field?

A magnetic field is the region around a magnet or a current-carrying wire where magnetic forces act, measured in teslas (T): Earth’s field is about 50 µT, and a fridge magnet’s about 5 mT at its surface.

Its field lines run from the north pole round to the south outside a magnet. Around a straight wire they form circles, and inside a coil they run straight along its axis, which is why a coil acts like a bar magnet.

How does an electromagnet work?

An electromagnet works because every current makes a magnetic field that circles its wire; wind the wire into a coil and the fields of all the turns add up along its middle.

An iron core is made of tiny magnetic regions, called domains, that normally point every which way. The coil’s field lines them up, so the iron adds its own field to the coil’s. Soft iron loses that alignment when the current stops, which is why the magnet switches off.

Which end of an electromagnet is north?

An electromagnet’s north end is where your right thumb points when your fingers curl the way the current flows round the coil: the right-hand grip rule.

Seen face on, an end where the current flows anticlockwise is north, and one where it flows clockwise is south. Reverse the current and the poles swap, which is how electric motors keep turning. Figure 2 shows both directions.

S N N its right-hand end, face on the coil

Current anticlockwise, seen from the right-hand end: curl your right hand’s fingers the way the current flows and your thumb points towards you, so the right-hand end is north. Reverse the current and the poles swap.

Figure 2. The right-hand grip rule: the way the current circles a coil’s end decides which end is north.

How do you make an electromagnet stronger?

To make an electromagnet stronger, add more turns, pass more current, or wind it on an iron core: the field grows with turns times current, and the core multiplies it.

More current also means more heat, since the coil’s resistance turns I × V into heat, so thicker wire and more turns are often better than more current. Past a point, the iron saturates and adding current helps little.

What is a solenoid?

A solenoid is a long coil of wire; in everyday use, it is a coil with an iron plunger that its field pulls in, turning current into a short push or pull.

Solenoids open water valves and door locks, and engage a car’s starter motor. They only pull, so a spring returns the plunger when the current stops, as Figure 3 shows.

coil, on plunger

Coil on: the coil’s field pulls the iron plunger into its middle, where the field is strongest, squeezing the spring to move a latch, valve or lock.

Figure 3. A linear solenoid: a coil, an iron plunger free to slide inside it, and a return spring.

What are electromagnets used for?

Electromagnets are used in relays, electric motors, loudspeakers, buzzers, door locks, MRI scanners and scrapyard cranes.

Any coil is also an inductor: switch its current off suddenly and its collapsing field makes a voltage spike, so a diode goes across coils driven by transistors.

How do you calculate an electromagnet’s field and current?

To calculate an electromagnet’s field, use B = μ₀NI ÷ L for a coil with no core, and Ohm’s law for the current its coil draws.

Example 1: a coil’s field

A 5 cm coil of 500 turns carries 100 mA. How strong is the field inside it, with no core?

Given
500 turns in a 5 cm coil, no core, carrying 100 mA
Find
the field inside it
Solution
B = μ₀NI ÷ L = 4π × 10⁻⁷ × 500 × 0.1 A ÷ 0.05 m= 1.26 mT, about 25 times Earth’s 50 µT
Answer
1.26 mT

Example 2: a coil’s current and heat

An electromagnet’s coil measures 150 Ω. What current does it draw on 5 V, and how much heat does it make?

Given
a 150 Ω coil on 5 V
Find
its current, and the heat it makes
Solution
I = V ÷ R = 5 V ÷ 150 Ω = 33.3 mAP = V × I = 5 V × 33.3 mA = 167 mW, all turned to heat in the coil
Answer
33.3 mA, 167 mW

Summary

Key equations

  • B = μ₀NI ÷ L inside a long coil, no core
  • I = V ÷ R the coil’s current
  • P = V × I the heat in the coil

Key terms

Coil
Turns of insulated wire.
Core
Iron that multiplies the field.
Solenoid
A coil that pulls a plunger.
Tesla
The unit of field strength.

Practice problems

  1. What makes an electromagnet magnetic?

  2. What happens to the field if you double the current?

  3. Seen face on, current flows anticlockwise round a coil’s end. Which pole is that end?

  4. What does an iron core do to an electromagnet?

  5. A 150 Ω coil sits on 5 V. What current does it draw?

FAQ

What is the difference between a solenoid and an electromagnet?

A solenoid is a long coil, often with a sliding plunger that it pulls; an electromagnet is any coil used as a magnet, usually on a fixed iron core.

Can you make an electromagnet with a battery?

Yes: wind insulated wire round an iron nail and connect the ends to a battery briefly. It picks up paperclips, but the wire and battery heat up fast, so keep it short.

Why is iron used in electromagnets?

Soft iron is easily magnetized and demagnetized, so it multiplies the coil’s field while the current flows and lets go when it stops.

Do electromagnets work with AC?

Yes, but the poles flip with every half-cycle, so they hum and the core needs thin laminations to limit losses.

How strong can an electromagnet be?

A nail electromagnet makes a few millitesla; an MRI scanner’s superconducting magnet makes around 1.5 to 3 T, tens of thousands of times Earth’s field.

What is a tesla?

The unit of magnetic field strength. Earth’s field is about 50 µT, a fridge magnet about 5 mT at its surface.

Why does an electromagnet get hot?

Its coil has resistance, so the current turns energy into heat, P = V × I. Long runs need thicker wire or less current.