Electricity & Electronics · No. 44 of the first 100

Electromagnets

A magnet you can switch off is worth a thousand that you can't — and you can make one from a nail and a wire.

Plate XXIII — Magnetism on demand strength ∝ N·I
Wrap more turns, then flip the switch and watch the clips drop.
2.0 Astrength ∝ turns × current · vanishes the instant the switch opens
FIG. XXIII — MAGNETISM ON DEMAND
Coil turns 14 wraps
Current 2.0 A
Strength
28amp-turns
Paperclips held
1clips
Every loop of wire adds its own little magnetic push, all pointing the same way down the nail — so more wraps, stronger magnet. More current, stronger again. And the magic trick no fridge magnet can do: flip the switch and the magnetism vanishes instantly, clips and all.
The short answer

Run electricity through a wire and the wire becomes slightly magnetic. Coil that wire around a nail so the little pushes stack up, and the nail becomes a proper magnet — until you cut the power, when it instantly forgets.

What's actually happening

In 1820, Hans Christian Ørsted noticed a compass needle twitch every time he switched a nearby current on — the first hint that electricity and magnetism are one phenomenon. Every wire carrying current wraps itself in a circular magnetic field. One straight wire's field is feeble; the trick is to cheat by geometry.

Coil the wire into loops and every loop's field points the same way through the middle — they stack. Ten turns, ten times the field; the strength scales with turns × current, the "ampere-turns". Slide an iron nail into the coil and it amplifies things a hundredfold more: iron is full of tiny pre-magnetised domains that snap into alignment with the coil's field and add their own. A nail, a metre of wire, and a battery make a magnet that out-pulls anything on your fridge.

The superpower isn't strength — it's the switch. A permanent magnet can never be turned off; an electromagnet obeys a button, can reverse its poles by reversing the current, and can vary smoothly from nothing to maximum. That controllability is the beating heart of nearly everything electric that moves: motors are electromagnets timed to keep chasing each other, relays are switch-flipping magnets, scrapyard cranes lift and release cars on command, and a loudspeaker is an electromagnet wiggling a paper cone to the shape of your music.

Try it at home The nail magnet
  1. 1Wrap a metre of thin insulated wire around a large iron nail, 20+ neat turns, leaving two free ends.
  2. 2Hold the bare wire ends against a AA battery's terminals (briefly — it warms up) and dip the nail into a tray of paperclips.
  3. 3Lift, count your catch, then let go of one wire end mid-air. Every clip drops at once. Add ten more turns and beat your record.