Skip to content

Magnetic Fields and Field Lines: Poles, Compasses and the Earth's Magnetism

Learn how poles push and pull, how permanent and induced magnets differ, how to draw and plot the field of a bar magnet, where neutral points appear, and why the Earth's geographic north sits near a magnetic south pole.

Published · 8 min read

On this page

A magnetic field is the space around a magnet in which another magnet, or an object made of iron, steel, nickel or cobalt, feels a force. We picture the field with field lines. Outside a magnet, the lines leave its north pole and curve round into its south pole. Lines packed tightly mean a strong field. Lines far apart mean a weak one.

A compass needle is a tiny magnet that turns to line up with the field around it. Far from any other magnet, the only field is the Earth's, so the needle's north-seeking end swings towards the Arctic. Unlike poles attract. So the Earth's magnetic pole in the far north must behave like the south pole of a magnet.

What happens when two magnets meet?

Each magnet has two poles. These are the parts of the magnet, usually at its ends, where its field is strongest. Hang a bar magnet from a thread and it twists until one end faces roughly north. We call that end the N pole (north-seeking) and the other end the S pole.

Bring two magnets near each other and they push or pull without touching:

  • Two N poles push each other away, and so do two S poles. Like poles repel.
  • An N pole and an S pole pull together. Unlike poles attract.

These non-contact forces act through paper or plastic and grow quickly as the gap shrinks. A magnet never has just one pole: break one in half and each piece has both poles.

How is a permanent magnet different from an induced one?

A permanent magnet makes its own field all the time. Compass needles, fridge magnets and loudspeaker magnets are permanent.

An induced magnet is an object made of magnetic material, such as an iron nail, that turns into a magnet only when a permanent magnet is near it. Hold the nail near an N pole. Its nearer end becomes an S pole, so opposite poles face each other and the nail is attracted. Near an S pole, the nail's poles swap round, so it is attracted again. Induced magnetism always attracts, never repels. Remove the magnet and the iron's magnetism fades almost at once.

The magnetic materials you need to know are iron, steel, nickel and cobalt. Most metals are not magnetic. A magnet does not noticeably pull on aluminium, copper, brass, silver or gold.

Worked explanation 1: is the bar a magnet?

A student in Manila finds an unlabelled metal bar. One end of it pulls the N end of a compass needle towards it. Does that prove the bar is a magnet?

No. That end could be an S pole, but a plain iron bar would attract the needle too. Attraction cannot tell the two apart.

The test: hold each end of the bar near the N end of the needle in turn. If either end repels it, the bar is a magnet, because only a pole can repel a pole. If both ends attract, the bar is an unmagnetised magnetic material, such as iron or steel. If nothing happens, it is a non-magnetic metal.

How do you draw magnetic field lines?

A field line shows the way a free N pole would be pushed at each point. A good bar magnet diagram has:

  1. arrows pointing away from the N pole and towards the S pole;
  2. lines bunched near both poles and spaced widely further out;
  3. lines that never touch or cross, because the field can point only one way at any place;
  4. a symmetrical pattern, including one straight line out from each end.

Inside the magnet, the lines carry on from S back to N, so each one is really a closed loop. Most course diagrams show only the part outside.

When two magnets are close, their fields add. Between flat, unlike poles held close together, the lines run almost parallel and evenly spaced: a uniform field, with the same strength and direction everywhere. Between like poles, the lines swerve aside and none cross the gap.

How do you plot field lines with a compass?

  1. Fix a bar magnet to the middle of a large sheet of paper, draw its outline and label the poles.
  2. Set the compass next to the N pole. Mark a dot just past the needle's N end.
  3. Move the compass so the needle's other end covers that dot, then mark the next dot ahead of it.
  4. Repeat until the line of dots reaches the S pole or the edge of the sheet.
  5. Draw a smooth line through the dots and arrow it the way the needle pointed. Then start again from a new point.

Keep steel rulers, phones and other magnets away. Iron filings show the whole shape in seconds, but no direction, because a filing has no marked N end.

What is a neutral point?

A neutral point is a spot where two fields have the same size but point opposite ways, so they cancel. The total field there is zero, so a compass at that exact spot does not settle in any particular direction.

  • Two identical magnets lying end to end, N pole facing N pole, have a neutral point midway between them.
  • With opposite poles facing, there is none in the gap, because both fields point the same way there.
  • Beside a single magnet, neutral points appear where its field exactly matches the Earth's in strength but points the other way.

Worked explanation 2: a strong magnet and a weak one

A strong magnet and a weak one lie end to end, N pole facing N pole, 10 cm apart. Is the neutral point nearer the strong magnet or the weak one?

Direction: each N pole's field points away from it, so in the gap the two fields oppose each other.

Size: at the midpoint, the strong magnet's field wins. To balance, you must move closer to the weak magnet, where its field grows and the strong magnet's field shrinks.

Answer: the neutral point is nearer the weak magnet.

Why does a compass point north?

A compass settles in one direction almost anywhere on Earth, even with no magnet nearby. A magnet only does that in a magnetic field, so the Earth must have one, coming from deep inside, in its core. That is why a compass counts as evidence that the Earth's core is magnetic.

The Earth's field is shaped roughly like the field of a huge bar magnet. The needle's N end is attracted towards the pole in the Arctic, so that pole must be a magnetic S pole. It is still called the "north magnetic pole" because of where it is, not what kind of pole it is. It is not exactly at the geographic North Pole, and it drifts a little each year, so maps give the small angle between true north and magnetic north.

Worked explanation 3: a compass moving away from a magnet

In Cape Town, a student lays a bar magnet on a table with its N pole pointing towards magnetic north, the same way as a compass needle. They put a compass just east of the magnet's middle, then slide it further east. Describe what the needle does.

Close to the magnet: beside the middle, the magnet's field runs from its N end towards its S end. That is southwards, and here it beats the Earth's field. The needle points south.

Further out: the magnet's field weakens quickly with distance, but the Earth's does not. At one point they cancel: a neutral point, where the needle has no preferred direction.

Far away: the Earth's field wins and the needle points north again.

Try these ideas in the bar magnet field simulation. Choose Like poles facing (N to N) to find a neutral point marked with a cross. Choose With the Earth's field to see two neutral points appear beside a single magnet. To trace a line as you would in the lab, turn the field lines off and press Plot again and again.

Common mistakes

  • Drawing arrows from S to N outside the magnet. Outside, they run from N to S.
  • Letting field lines cross. At any point the field has only one direction.
  • Saying a magnet attracts all metals. Only a few metals, such as iron, steel, nickel and cobalt, are magnetic.
  • Using attraction to prove something is a magnet. Only repulsion proves it.
  • Calling the Arctic magnetic pole a magnetic N pole. It attracts the N end of a compass, so it is an S pole.
  • Thinking iron filings show direction. They show the shape only.

Key points

  • A magnetic field is the space where a magnet or magnetic material feels a force.
  • Like poles repel and unlike poles attract. Induced magnetism always attracts.
  • Field lines run from N to S outside a magnet. Closer lines mean a stronger field.
  • At a neutral point, two fields cancel to give zero field.
  • A compass points north because the Earth has a magnetic field, and the magnetic pole near the geographic North Pole is a magnetic S pole.