WikiNano.
The Magnet Lab
An interactive guide to magnetism

The Magnet Lab

What a magnet is, where its pull comes from, why it grabs iron and ignores copper, and how to make one yourself. Every idea here comes with something to drag, switch or break.

Move your pointer here. The iron filings follow the magnet.
01 · Basics

What is a magnet?

A magnet is any object that produces a magnetic field: an invisible region around it where it pushes or pulls on other magnets and on a few metals such as iron, nickel and cobalt. Every magnet has two ends called poles, a north pole (N) and a south pole (S).

Two poles, always

The field comes out of the north pole, loops through the space around the magnet and goes back in at the south pole. The pull is strongest at the poles and weakest in the middle.

Unlike poles attract

North pulls south. Bring a north pole near a south pole and the two snap together.

Like poles repel

North pushes north and south pushes south. Being pushed away is the true test of a magnet, because plain iron is only ever pulled.

Try it: push and pull

Drag the right-hand magnet, then let go. Flip it to turn the pull into a push. Notice how fast the force fades with distance.

Try it: cut a magnet in half

You cannot get a north pole on its own. Every cut makes two complete magnets, each with its own N and S, all the way down to single atoms.

02 · Sandbox

The magnetic field

A magnetic field has a strength and a direction at every point in space. We draw it as field lines: they leave a north pole, enter a south pole, never cross, and sit closer together where the field is stronger. The unit of field strength is the tesla (T).

Setups: Point at the bench to probe the field
What to look for. In the attracting pair the lines run straight across the gap, joining the magnets. In the repelling pair the lines bend away from each other and leave an empty spot in the middle where the two fields cancel. Drag a magnet (click it first to select it) and watch the pattern redraw.
03 · The real cause

Where does magnetism come from?

Magnetism is made by moving electric charge. In a wire that means a current. Inside a solid magnet it means electrons. Follow the chain from one electron to a magnet you can hold.

Step 1

The electron

Every electron has a built-in property called spin that makes it a tiny permanent magnet with its own N and S. Its motion around the nucleus adds a little more.

Step 2

The atom

In most atoms electrons pair up with opposite spins and cancel. An iron atom has four unpaired electrons, so the whole atom acts as a small magnet.

Step 3

The domain

A quantum effect called the exchange interaction makes neighbouring iron atoms line their spins up in the same direction. Billions of aligned atoms form a magnetic domain, far smaller than a grain of sand.

Step 4

The magnet

In ordinary iron the domains point in random directions and cancel out. When most of them point the same way, their fields add up and the whole piece is a magnet.

Try it: line up the domains

Each arrow is one domain. Push the outside field up and domains swing into line. Bring it back to zero and compare soft iron with hard steel. Then raise the temperature past 770 °C, the Curie point of iron.

Why some magnets last. In soft iron the domain walls move easily, so the domains drift back when the outside field goes away. In hard steel, ferrite and neodymium alloys the domains are pinned in place, so the magnetism stays. Heat shakes the atoms: above the Curie temperature the alignment is lost completely.
04 · Attraction explained

Why a magnet pulls iron, and another magnet

Magnet meets magnet

Each pole sits in the other magnet's field. A north pole is pushed along the field lines and a south pole is pushed against them. Add up the four pole-to-pole forces and you get a net pull when unlike poles face each other and a net push when like poles face.

Another way to see it: nature moves toward lower energy. When N meets S the two fields merge into one tidy loop that stores less energy, so the magnets are driven together. When N meets N the fields are squeezed against each other, which stores more energy, so they are driven apart.

Magnet meets iron

A nail is not a magnet, yet it jumps to one. The magnet's field reaches into the nail and swings its domains into line. For that moment the nail is a magnet too, with the opposite pole facing the real magnet. Unlike poles attract, so it is pulled in. This is called induced magnetism.

That is why either pole picks up a nail, and why a nail hanging from a magnet can pick up a second nail. The pull also needs an uneven field: the near end of the nail sits in a stronger field than the far end, so the attraction beats the repulsion.

Try it: what sticks?

Touch the magnet to each material. Only a few elements have the unpaired electrons and the exchange interaction needed to form domains.

Strongly attracted

Ferromagnetic

Iron, nickel, cobalt, gadolinium and many of their alloys, including most steel. They form domains, so they respond thousands of times more strongly than anything else.

Very weakly attracted

Paramagnetic

Aluminium, platinum, oxygen. The atoms are tiny magnets but do not cooperate, so the pull is far too weak to feel by hand.

Very weakly repelled

Diamagnetic

Water, copper, gold, graphite, wood, your body. All electrons are paired. A magnet pushes them away very slightly. A strong enough field can float a frog.

05 · Families

Types of magnets

Magnets fall into three families: natural magnets found in the ground, artificial permanent magnets made in factories, and electromagnets that work only while current flows.

Natural

Lodestone

A piece of the iron ore magnetite (Fe₃O₄) that has become magnetised, probably by the huge current of a lightning strike. It is weak and irregular, but it was the first magnet people knew and the heart of the first compasses.

Artificial · permanent

Permanent magnets

Hard magnetic materials that are magnetised once and keep it for decades: ferrite, alnico, samarium-cobalt and neodymium. Made as bars, horseshoes, discs, rings and blocks.

Artificial · switchable

Electromagnets

A coil of wire, usually around an iron core. Current on means magnet on. Strength is set by the current and the number of turns, and the poles swap when the current is reversed.

Temporary

Temporary magnets

Soft iron and some nickel alloys act as magnets only while they sit in another field. Paperclips in a chain are an example. They make ideal electromagnet cores because they let go at once.

Electromagnet · extreme

Superconducting magnets

Coils cooled until their electrical resistance vanishes, usually with liquid helium at −269 °C. Current then flows without loss, giving huge steady fields for MRI scanners, particle accelerators and fusion reactors.

By shape

Bar, horseshoe, ring

Shape changes where the poles sit. A horseshoe brings both poles to the same side, which roughly doubles the lifting force. Ring and disc magnets usually have poles on their flat faces.

Permanent magnet materials compared

MaterialMade ofTypical fieldRelative strengthWorks up to aboutWhere you meet it
LodestoneMagnetite, naturalweak
—Museums, early compasses
Ferrite (ceramic)Iron oxide with strontium or barium0.2–0.45 T
250 °CFridge magnets, speakers, small motors
AlnicoAluminium, nickel, cobalt, iron0.6–1.35 T
500 °CGuitar pickups, sensors, school horseshoe magnets
Samarium-cobaltRare-earth alloy0.8–1.15 T
300 °CAerospace, hot or corrosive places
Neodymium (NdFeB)Neodymium, iron, boron1.0–1.45 T
80 °C (standard)Phones, headphones, hard drives, EV motors, wind turbines
06 · Manufacture

How magnets are made

Making a magnet always comes down to the same job: get the domains to point one way, then lock them there. This is how a factory makes a neodymium magnet, the strongest permanent type.

  1. MeltNeodymium, iron and boron are melted together in a vacuum furnace and cast into thin flakes.
  2. MillThe alloy is crushed and jet-milled into powder with grains about 3 micrometres across, each small enough to be one domain.
  3. Press in a fieldThe powder is pressed into a block inside a strong magnetic field, so every grain turns to face the same way.
  4. SinterThe block is baked at about 1,050 °C. The grains fuse into solid metal without losing their shared direction.
  5. Shape and coatIt is ground to size with diamond tools, then plated with nickel or epoxy because the alloy rusts easily.
  6. MagnetiseLast of all, a coil fires a pulse of several tesla through it. The domains snap into line and stay.

Stroking

Rub a steel needle with one pole of a magnet, always in the same direction. Each stroke drags more domains into line. This is the oldest method and you can try it below.

Electric current

Put steel inside a coil and pass a direct current. The coil's field aligns the domains. With a hard steel core the magnetism stays after the current stops.

How magnets are destroyed

Heat past the Curie point, hard knocks, or an alternating field that shrinks to zero all scramble the domains. Shops wipe security tags this way.

07 · Lab

Make your own magnet

Two benches, two methods. On the first you magnetise a steel nail by hand. On the second you build an electromagnet and tune it.

Bench A: the stroking method

Press and drag the magnet along the nail from left to right. Lift off (release), go back to the left and repeat. Scrubbing back and forth undoes your work, just as it does with a real needle.

Bench B: build an electromagnet

Wind wire around a core, connect a battery and see how many paperclips it lifts. Change one thing at a time to find out what matters most.

08 · The planet

Earth is a giant magnet

Deep under your feet, Earth's outer core is a churning ocean of liquid iron and nickel. Its motion carries electric currents, and those currents generate a magnetic field. This self-sustaining process is called the geodynamo.

Simplified, not to scale

A surprisingly weak field

At the surface it measures 25 to 65 microtesla, about a hundred times weaker than a fridge magnet. It matters because it is enormous, reaching tens of thousands of kilometres into space.

The north pole is a south pole

The north end of a compass needle is a north pole, and it is pulled toward the Arctic. So the magnetic pole up there must be a south-type pole. The names stuck long before anyone worked this out.

A shield against the Sun

The field deflects the solar wind, a stream of charged particles from the Sun. Some particles are funnelled down near the poles, hit the air and make it glow. That glow is the aurora.

It wanders and it flips

The magnetic axis is tilted roughly 10° from the spin axis, and the north magnetic pole drifts tens of kilometres a year. Every few hundred thousand years the whole field reverses. The last full flip was about 780,000 years ago.

09 · Records

The strongest magnets

Field strength is measured in tesla. The scale below is logarithmic: each step to the right is ten times stronger. On a normal scale everything except the last bar would be invisible.

Axis: 0.00001 T at the left edge to 100 billion T at the right edge, logarithmic. Record figures as reported up to 2026; sources are listed at the foot of the page.

Strongest you can buy

Neodymium magnets. A disc the size of a coin can hold several kilograms, and two large ones can crush a finger.

Strongest on Earth

Steady record fields come from electromagnets that mix superconducting and water-cooled copper coils. Higher fields exist only as pulses, and the highest of all destroy their own coil in microseconds.

Strongest known anywhere

Magnetars, a rare kind of neutron star about 20 km across. Their fields are strong enough to distort the shape of atoms.

10 · Applications

What magnets are used for

Almost every use relies on one of three effects: a magnet pulls iron, a magnet pushes on an electric current (motors), or a moving magnet creates a current (generators).

Home and commercial

Around you every day

  • Speakers and headphones. A coil in a magnet's field pushes a cone back and forth to make sound.
  • Phones. Speakers, the vibration motor, the compass sensor and magnetic charger alignment.
  • Fridge and cupboard doors. A flexible magnetic strip holds the seal shut.
  • Fans, mixers, washing machines. Every electric motor turns because magnets push on currents.
  • Induction cooktops. A rapidly changing field heats iron pans directly.
  • Bank cards and hard drives. Data stored as tiny magnetised regions.
  • Shops. Security tags, card readers, magnetic name badges and signs.
  • Compasses, toys, clasps and tool holders.
Industrial and scientific

At work in industry

  • Power generation. Turbines spin magnets past coils. Nearly all mains electricity is made this way.
  • Electric vehicles and wind turbines. Compact, efficient motors and generators built on neodymium magnets.
  • Transformers. Iron cores carry changing fields to step voltage up and down across the grid.
  • Lifting and sorting. Scrapyard cranes use electromagnets. Separators pull iron out of recycling, grain and ore.
  • MRI scanners. Superconducting magnets of 1.5 to 3 T let doctors image soft tissue.
  • Maglev trains. Magnetic levitation removes wheel friction, allowing speeds above 400 km/h.
  • Relays, solenoids and valves. Small electromagnets that switch circuits and move parts.
  • Particle accelerators and fusion reactors. Fields steer particle beams and confine plasma hotter than the Sun's core.
11 · Hands on

Experiments to try for real

Each one needs only household items and takes under fifteen minutes.

Easy

Floating compass

  1. Stroke a sewing needle 30 times with one pole of a magnet, one way only.
  2. Push it through a slice of cork or lay it on a leaf.
  3. Float it in a bowl of water.

It turns to line up north to south. Check it against a phone compass.

Easy

See the field

  1. Lay a sheet of paper over a bar magnet.
  2. Sprinkle iron filings or cut-up steel wool on top.
  3. Tap the paper gently.

Each filing becomes a tiny magnet and they chain up along the field lines.

Easy

Nail electromagnet

  1. Wind 50 turns of insulated wire around an iron nail.
  2. Connect the ends to an AA battery.
  3. Count the paperclips it lifts, then try 100 turns.

Disconnect after a few seconds. The wire gets warm.

Easy

Iron in your breakfast

  1. Crush iron-fortified cereal in a zip bag with water.
  2. Leave it for ten minutes.
  3. Slide a strong magnet along the outside of the bag.

Dark specks of real iron powder follow the magnet.

Medium

Slow-motion fall

  1. Hold a copper or aluminium pipe upright.
  2. Drop a neodymium magnet through it.
  3. Drop a steel ball of the same size to compare.

The magnet drifts down slowly. Its moving field makes currents in the pipe, and they push back. This is Lenz's law.

Medium

Levitating rings

  1. Slide a ring magnet onto a pencil.
  2. Add a second with the same pole facing down.
  3. Press it down and let go.

It hovers and bounces on an invisible spring of repulsion.

Medium

Simplest motor

  1. Stand an AA battery on a neodymium disc magnet.
  2. Bend copper wire to touch the top of the battery and the side of the magnet.
  3. Balance it and let go.

The wire spins. This is a homopolar motor: a magnetic field pushing on a current.

With an adult

Find the Curie point

  1. Hang a small steel paperclip from a wire so a magnet holds it out sideways.
  2. Heat the clip with a candle flame.
  3. Watch it drop, then swing back as it cools.

Hot enough, the steel stops being magnetic.

Easy

Magnetic chain

  1. Hang one paperclip from a magnet.
  2. Touch a second clip to the first, then a third.
  3. Pull the top clip off the magnet.

The chain holds by induced magnetism and falls apart moments after the magnet is gone.

Safety. Neodymium magnets snap together hard enough to pinch skin and chip. Never let small children handle small magnets: swallowing two can be life-threatening. Keep strong magnets away from pacemakers, bank cards and mechanical watches.
12 · Did you know

Facts and a quick quiz

Magnesia

The word magnet comes from Magnesia, a region of ancient Greece where lodestones were found.

1820

Hans Christian Ørsted saw a compass needle twitch beside a live wire and showed that electricity and magnetism are linked.

0 monopoles

Nobody has ever found a north pole without a south pole, despite decades of searching.

770 °C

The Curie point of iron. Above it, iron is no more magnetic than aluminium.

16 tesla

The field used in 1997 to levitate a living frog, by pushing on the water in its body.

1,000×

A good neodymium magnet can lift more than a thousand times its own weight.

11 years

The Sun's magnetic field reverses about once every eleven years, in step with the sunspot cycle.

Living compasses

Sea turtles, pigeons and salmon sense Earth's field to navigate. Some bacteria grow chains of magnetite crystals inside themselves.

Check yourself

About The Magnet Lab

An interactive guide to magnetism: the field, where magnetism comes from, why magnets pull iron, types of magnets, how they are made, make your own, Earth as a magnet, the strongest magnets, uses and experiments.

Topic: Magnets and magnetism · Format: interactive guide, sandbox and labs · Free, no sign-up · Updated 2026-11-17 · By Prince Vincent, WikiNano · Last reviewed 2026-11-17.

Inside this page

Common questions

Why does a magnet pick up iron but not copper?
Iron is ferromagnetic: each iron atom has unpaired electrons, so it is a tiny magnet, and the atoms line up in domains. A nearby magnet turns the domains its way, so the iron becomes a magnet itself and is pulled in. In copper all the electrons are paired, so it is only very weakly pushed away.
Where does magnetism come from?
From moving and spinning electric charges. In a permanent magnet it comes mostly from the spin of electrons, lined up across billions of atoms.
What are the strongest magnets?
The page lists record fields: about 1,200 tesla in a brief pulse in Tokyo, and steady fields of 35.1 T from an all-superconducting magnet in Hefei. Earth’s own field is only 25 to 65 microtesla, about a hundred times weaker than a fridge magnet.

Sources and further reading

Keep exploring