What is magnetism?

Magnetism: F = q v × B. Magnets and electric currents fill the space around them with a magnetic field. Like poles repel and unlike poles attract, and a current in a field gets a sideways push, which is how motors, loudspeakers and MRI scanners work.

Iron filings trace invisible curves, a wire with current in it swings a compass, and a coil with an iron core lifts a car. Map fields in tesla, spin a motor, curl electrons in a magnetron, flip the Earth's field and heat a nail past 770 °C.

MagnetismOpened 27 Sept 202612 min to playFree · no sign-up

In 60 seconds

  1. Poles, fields and the tesla

    Like poles repel and unlike poles attract. A magnet's field runs out of north and into south, and iron filings and compasses line up along it. Field is measured in tesla: the Earth is 25–65 µT, a fridge magnet about 5 mT, an MRI 1.5–3 T. The force between magnets falls off steeply with distance.

  2. Current makes a magnet

    Ørsted found in 1820 that a current's field circles the wire, B = μ₀ I ÷ 2πr. Coil the wire and the field inside is B = μ₀ n I; add an iron core and it grows hundreds of times, until the iron saturates. Cranes, bells, relays and door locks are switchable magnets.

  3. A current in a field feels a push

    F = B I L, at right angles to field and current (Fleming's left hand). A coil with a commutator becomes a DC motor whose back-EMF chokes the current as it speeds up. A loudspeaker shakes a coil in a 1 T gap to push air.

  4. Magnets in machines

    A superconducting MRI magnet at 1.5–3 T, a magnetron's 0.17 T that curls electrons into microwaves, guitar pickups, transformers that trade volts for turns, and hard disks that store a trillion tiny magnets per square inch.

  5. Earth, hot iron and two myths

    The Earth's field is tilted, wanders and has flipped many times; it shields us and lights the aurora. Iron is magnetic because its domains line up, until 770 °C. Break a magnet and you get two magnets, and magnet bracelets have no proven healing power.

Where you'll meet it

F = q v × B

force on a moving charge = charge × velocity × field, at right angles to both. For a wire carrying current I across a field B: F = B × I × L. Fields are measured in tesla: Earth ≈ 25–65 µT, a fridge magnet ≈ 5 mT, an MRI scanner 1.5–3 T.

The history

From stones that pull iron to compass needles, electromagnets, MRI scanners and neodymium magnets.

Read the full history
  1. 600 BCEStones that pull iron
  2. 1600The Earth is a great magnet
  3. 1820Electricity makes magnetism
  4. 1825The electromagnet
  5. 1895Heat destroys magnetism
  6. 1982The neodymium magnet

The full explanation

Magnetism, chapter by chapter

Chapter 1

Poles, fields and the tesla

Like poles push, unlike poles pull, and an invisible field fills the space around.

Every magnet has two ends called poles: a north pole and a south pole. Hang a bar magnet from a thread and its north pole swings round to point north. Bring two magnets together and the rule is simple: like poles repel, unlike poles attract. North pushes north away; north pulls south in.

A magnet reaches out through empty space with a magnetic field. You can't see it, but you can map it. Sprinkle iron filings on a card and they line up into curves from pole to pole. Those curves are field lines. By custom they run out of the north pole and into the south pole. Where they crowd together the field is strong; where they spread out it is weak.

A compass is just a tiny magnet on a pin. Its needle turns to lie along the field line where it sits, north end pointing the way the line runs. Far from any magnet, it lines up with the Earth's own field and points north.

Field strength is measured in tesla (T), named after Nikola Tesla. One tesla is a lot. The Earth's field is only 25 to 65 microtesla (millionths of a tesla). A fridge magnet makes about 5 millitesla. The face of a strong neodymium magnet reaches about 0.5 T, and an MRI scanner makes 1.5 to 3 T all the way round your body. Labs measure fields with a Hall probe, a chip whose voltage changes in a field; your phone has one inside to act as a compass.

Magnetic force falls off steeply with distance. Double the gap between two magnets and the pull drops to a small fraction, often less than a quarter. That is why a magnet snaps onto the fridge at the last moment.

Try “Poles and fields” in the interactive model →

Chapter 2

Current makes a magnet

A wire with current in it is ringed by a field. Coil it up, add iron, and switch it on and off.

In 1820 Hans Christian Ørsted noticed that a compass needle swung when he switched on a current in a nearby wire. It was the first proof that electricity makes magnetism. The field of a straight wire goes round in circles around it, strongest close in: B = μ₀ I ÷ (2π r).

Which way round? Use the right-hand grip rule: grip the wire with your right hand, thumb along the current, and your curled fingers show the direction of the field.

Wind the wire into a coil and the circles from every turn add up inside it. A long coil, or solenoid, has a strong, even field inside, B = μ₀ n I, where n is the number of turns per metre and I the current. It behaves just like a bar magnet with a north and a south end. Push an iron core inside and the iron's own tiny magnets line up with the coil's field, multiplying it hundreds of times, until the iron saturates at about 1.6 T. That is an electromagnet: a magnet you can switch on, switch off and turn up.

Electromagnets are everywhere. A scrapyard crane lifts old cars with one and drops them by cutting the current. An electric bell pulls an iron hammer, which breaks its own circuit and springs back, over and over. A relay uses the same trick so a tiny current can switch a big one. A magnetic door lock holds a door shut with the force of a small car's weight, and lets go if the power fails. Motors (next chapter), the magnetron in a microwave and the MRI scanner all start here.

Try “Electromagnets” in the interactive model →

Chapter 3

A current in a field feels a push

F = B I L. Spin it round with a commutator and you have a motor; shake it and you have a speaker.

Put a wire carrying a current inside a magnetic field and the wire gets a push. The push is at right angles to both the field and the current, and its size is

F = B × I × L

where B is the field in tesla, I the current in amps and L the length of wire in the field, in metres. Michael Faraday built the first electric motor on this idea in 1821.

To remember the directions, use Fleming's left-hand rule. Hold your left thumb, first finger and second finger all at right angles. First finger along the Field (north to south), seCond finger along the Current, and your thuMb shows the Motion.

A DC motor puts a coil in the field. One side is pushed up, the other down, so the coil turns. After half a turn the pushes would swap and stop it, so a split-ring commutator with two carbon brushes reverses the current in the coil every half turn, and it keeps spinning the same way. As it speeds up the coil also acts as a generator and makes a back-EMF that fights the battery, so the current falls. That is why a motor draws a big current at start-up and much less at full speed.

You own dozens of these. A mixer grinder's universal motor uses brushes like this and screams along at up to about 22,000 rpm with no load (see MixerClear). A ceiling fan uses an induction motor with no brushes at all (see FanClear). An electric car uses a permanent-magnet motor packed with neodymium magnets (see CarClear). And every loudspeaker and headphone is the same trick backwards and forwards: a coil in a magnet's gap pushes a paper cone in and out with the music, as at the end of a guitar amp (see GuitarClear) or a synth (see SynthClear).

Try “Motors and speakers” in the interactive model →

Chapter 4

Magnets hiding in your machines

Scanners, ovens, guitars, chargers and hard drives all run on magnetic fields.

An MRI scanner is built round a giant electromagnet. Its coil is made of niobium–titanium wire cooled by liquid helium to −269 °C, where it becomes a superconductor with zero resistance, so the current goes round and round without a battery. It makes 1.5 or 3 tesla down the tunnel, tens of thousands of times the Earth's field. The field lines up the hydrogen nuclei in your body, which then wobble at a radio frequency the scanner can listen to (see MRIClear). Loose steel near the magnet can fly in like a missile, which is why you leave everything metal outside.

A microwave oven's magnetron has two ring magnets that make about 0.17 T along its axis. Electrons leaving the hot cathode are bent into curls by the field, so they sweep past a ring of copper cavities instead of flying straight to them. That swirl makes the cavities ring at 2.45 GHz, and out come microwaves (see MicrowaveClear).

An electric guitar's pickup is a magnet wrapped in thousands of turns of wire. The magnet magnetises the steel string above it; when the string wiggles, the field through the coil wiggles too, and that makes a voltage (see GuitarClear, and Faraday's law in FaradayClear).

A transformer is two coils on one iron ring. Alternating current in the first coil makes a changing field in the iron, which makes a voltage in the second. Change the turns and you change the voltage: V₂ ÷ V₁ = N₂ ÷ N₁. The home inverter in UPSClear uses one to turn 12 V from its battery into 230 V.

Hard drives and the stripe on a bank card store data as tiny magnetised patches, north one way for a 1 and the other way for a 0. A hard disk packs about a trillion bits into a square inch, each about 25 nanometres long.

Try “Magnets in machines” in the interactive model →

Chapter 5

A magnetic planet, hot iron and two myths

The Earth is a magnet that flips, iron forgets at 770 °C, and a broken magnet makes two.

The Earth is a giant magnet. Molten iron churning in the outer core makes a field that is 25 to 65 microtesla at the surface. A compass points along it. But the magnetic pole is not the geographic North Pole. The field is tilted by about 9°, and the spot where a compass needle points straight down wanders: it is now near 86°N and drifting from Canada towards Siberia by tens of kilometres a year. Oddly, the pole near geographic north is magnetically a south pole: it is what pulls in the north end of your compass.

Rocks record the past field, and they show that it has flipped hundreds of times. The last full reversal was about 780,000 years ago. Nobody can predict the next one.

The field also shields us. Far out in space it forms the magnetosphere, which turns aside the solar wind of charged particles from the Sun. Some are funnelled down near the poles, where they make the air glow as the aurora. In the strong storm of May 2024, aurora were photographed even from Hanle in Ladakh.

Why is iron magnetic? Each iron atom is a tiny magnet. In small regions called domains they all line up. In an ordinary nail the domains point every which way and cancel; a magnet nearby lines them up, which is why a nail sticks. Heat iron past its Curie point, 770 °C, and the jiggling of the atoms wins: the domains fall apart and the nail drops off the magnet.

Some materials, cooled far enough, become superconductors and push magnetic fields out. A magnet can then float above one, locked in place.

Myth: break a magnet and you get a north piece and a south piece. No: you get two smaller magnets, each with its own north and south. Nobody has ever found a lone magnetic pole. Myth: magnet bracelets heal. Careful trials find no convincing evidence. The field of a bracelet magnet fades to almost nothing a centimetre or two into your wrist, and the iron in your blood is locked inside haemoglobin and is not attracted to magnets at all.

Try “Earth, iron and myths” in the interactive model →

Test yourself

Frequently asked

You bring the north pole of one magnet towards the north pole of another. What happens?

They repel. Like poles repel and unlike poles attract. North pushes north away.

Which is the strongest field?

A hospital MRI, 1.5 T. 1.5 T is 300 times a fridge magnet and about 30,000 times the Earth’s field.

A compass is placed close to a bar magnet. Which way does its needle point?

Along the magnet’s field line where it sits. The needle is a small magnet. Near a strong magnet it lines up with that magnet’s field; far away the Earth’s field wins.

What did Ørsted discover in 1820?

That an electric current makes a magnetic field around the wire. A compass needle swung when current flowed in a nearby wire: electricity makes magnetism. Making electricity from magnets came later, with Faraday.

A coil has 200 turns. You double the current. What happens to the field inside (no iron)?

It doubles. B = μ₀ n I: the field is proportional to the current, so double the current, double the field.

Why does a scrapyard crane use an electromagnet rather than a permanent magnet?

It can be switched off to drop the load. Cutting the current makes the field vanish, so the crane can let go of the scrap exactly where it wants.

A 10 cm wire carries 2 A across a 0.5 T field. What force does it feel?

0.1 N. F = B I L = 0.5 × 2 × 0.1 = 0.1 N.

What does the commutator in a DC motor do?

Reverses the current in the coil every half turn so it keeps turning one way. Without it the forces would flip after half a turn and the coil would rock back and forth instead of spinning.

Why does a motor draw most current when it is just starting?

It is not yet spinning, so there is no back-EMF to oppose the supply. A spinning coil also generates a back-EMF that opposes the battery. At standstill there is none, so I = V ÷ R is at its biggest.

Why is an MRI magnet’s coil cooled with liquid helium?

So the wire becomes a superconductor and carries a huge current with no resistance. At −269 °C niobium–titanium has zero resistance, so hundreds of amps circulate forever without heating the coil.

What does the magnet in a magnetron do?

Bends the electrons into curling paths past the copper cavities. The field curls the electrons so they swirl past the cavities and make them ring at 2.45 GHz. Too weak a field and they crash straight into the anode.

A transformer has 45 turns on one coil and 860 on the other. 12 V AC goes into the 45-turn coil. Roughly what comes out?

230 V. V₂ = V₁ × N₂ ÷ N₁ = 12 × 860 ÷ 45 ≈ 230 V. That is how an inverter makes mains voltage from a battery.

You snap a bar magnet in half. What do you get?

Two magnets, each with a north and a south pole. Every piece of a magnet is itself a magnet. A lone pole (monopole) has never been found.

A nail is stuck to a strong magnet and heated with a flame. What happens above 770 °C?

It falls off: iron loses its magnetism at its Curie point. Above the Curie point heat jiggles the atoms too much for domains to stay lined up, so iron stops being attracted.

Is the Earth’s magnetic pole the same as the geographic North Pole?

No: it is hundreds of kilometres away and it wanders. The field is tilted about 9° from the spin axis, and the point where the field points straight down drifts by tens of km a year.

Words worth knowing

Magnetic field
The region round a magnet or current where magnetic forces act, with a strength and a direction.
Tesla (T)
The SI unit of magnetic field (flux density). Earth ≈ 50 µT; an MRI 1.5–3 T.
Magnetic poles
The north and south ends of a magnet. Like poles repel, unlike poles attract, and they always come in pairs.
Electromagnet
A coil, usually round an iron core, that is a magnet only while current flows: B = μ₀ n I inside.
Motor effect
A current in a field feels a force F = B I L at right angles to both, shown by Fleming's left-hand rule.
Magnetic domains
Tiny regions in iron where the atoms' magnets all point one way. Lining them up magnetises the iron.
Curie point
The temperature above which a ferromagnet loses its magnetism: 770 °C for iron.
Magnetosphere
The bubble of the Earth's field in space that turns aside the solar wind and guides the aurora.

Fork it. Teach with it.

This box is plain HTML, CSS and JavaScript, with no build step and no accounts. Run it yourself and it sends nothing anywhere. The code is MIT. The words, images and videos are CC BY 4.0, so you can reuse them anywhere if you credit “Glassbox, glassbox.how/e/magnetismclear”.

git clone https://github.com/bdeeps/magnetismclear.git

Built with three.js (MIT), Geist, Instrument Serif (SIL OFL 1.1).

←→ previous / next box · / search

Would you like to see the full page, with the interactive model?