Science

How a compass finds north using Earth's magnetic field

By Rive News / Research desk | Rive News / Published October 26, 2026 at 9:00 AM PKT

Key takeaways

  • A compass needle is a small magnet free to spin, so it lines up with Earth's magnetic field.
  • It points toward magnetic north, which is not the same place as the geographic North Pole.
  • The gap between the two, called declination, changes with location and over time.
A navigational compass with a needle and card
A navigational compass with a needle and card

[A navigational compass showing its needle, rotating card, and direction markings.] Photograph: the subject

Image Credits: Wikimedia Commons

A compass does not know where north is. It feels a force, and that force turns its needle until the needle lines up with Earth's magnetic field.

This article explains how that alignment works, including the needle, the field, magnetic north, and declination. It also covers why a compass can mislead near metal, near the poles, and over long distances.

The needle is a magnet

The heart of a magnetic compass is a small magnetised needle. The needle sits on a pivot with very low friction, so it can spin freely in a horizontal plane.

Every magnet has two poles, north and south. Opposite poles attract, and like poles push apart, which is why a loose magnet turns toward another magnet nearby.

Earth itself acts like a giant magnet. Its magnetic field reaches far into space and surrounds the whole planet.

When the compass needle sits in that field, the field pulls on it. The needle rotates until it rests along the local direction of the field.

The United States Geological Survey explains it plainly. Its CoreFacts answer says the needle is a small magnet allowed to pivot freely, and it moves into its preferred alignment with the magnetic field.

Why the north end points north

This part confuses many people, because the naming seems backwards. The end of the needle marked north is the needle's north pole.

That north pole is attracted to a magnetic south pole. Earth's magnetic field behaves as if a magnetic south pole sits near the geographic North Pole.

So the needle's north end points roughly toward the geographic north. It is drawn there by attraction, not by any sense of direction built into the compass.

Live Science puts the same point simply. It notes that the north pole of one magnet is attracted to the south pole of another, and Earth is a magnet that interacts with other magnets in that way.

The compass therefore shows magnetic north, not true north. In many places the two are close, but they are not the same thing.

Magnetic north is not true north

True north is the geographic North Pole, where Earth's rotation axis meets the surface. Magnetic north is where a compass needle points, and it sits somewhere else.

The angle between magnetic north and true north is called magnetic declination, or variation. It changes from place to place, and it also drifts over time.

NOAA's National Centers for Environmental Information defines declination as the angle between magnetic north and true north. It states that declination changes with both location and time.

That is why maps often print a declination diagram. A walker who follows a magnetic bearing without correcting for declination can drift off course over a long route.

The correction itself is simple once you know the local value. Add or subtract the declination, following the sign convention for east or west, to turn a magnetic bearing into a true bearing.

Near the magnetic poles, the problem grows larger. The field there points steeply downward, so a horizontal needle has little direction to follow.

The pole keeps moving

Earth's magnetic field comes from moving molten iron in the outer core. Those flows shift, so the magnetic poles wander across the Arctic and Antarctic.

Recent movement has been fast by historical standards. The north magnetic pole raced from northern Canada toward Siberia at up to 50 kilometres per year in the 2010s, according to reports of NOAA and British Geological Survey data.

The 2025 World Magnetic Model update showed that pace easing to about 35 kilometres per year. That slowdown was the largest deceleration researchers had observed in the modern record.

Navigation models are updated to keep up. The World Magnetic Model, maintained by NOAA and the British Geological Survey, gives declination values for any location and date.

Phone compasses and aviation systems use these models in the background. A paper map, by contrast, carries the declination value from the year it was printed.

What can throw a compass off

Local metal is the most common problem. A nearby car, a steel bridge, or a phone case with a magnetic clasp can bend the local field.

Electrical systems can do the same. The USGS notes that a compass can be affected by local interference from a nearby electrical system.

Geology matters too. Large deposits of magnetic rock, especially volcanic rock, can magnetise the crust locally and shift readings.

Human bodies carry little magnetic material, but gear does. Keep the compass away from knives, radios, and other magnets when taking a bearing.

Altitude does not break a compass on its own. The field weakens with distance from Earth, but a hiker or pilot stays well within the range where a needle works.

A short history of the device

Early compasses floated a magnetised needle on wood in water. Later designs suspended the needle on a pin, and a card marked with directions was mounted beneath it.

Britannica traces that development from a needle floated on a stick to a pivoted needle with a wind rose card. By the 15th century, sailors had noticed that needles did not always point true north.

That gap, now called declination, was a real hazard at sea. A ship that steered by compass alone could miss a port by miles on a long crossing.

Modern compasses still use the same principle, with better damping and housings. Ships and aircraft also carry gyrocompasses and satellite navigation, but a magnetic compass needs no power and no signal.

That independence is why it survives. A device with no battery still points north when electronics fail.

A small plastic compass held for navigation
A small plastic compass held for navigation

[A small plastic compass of the kind used for basic navigation practice.] Photograph: the subject

Image Credits: Wikimedia Commons

Using a compass well

Hold the compass flat and level. A tilted compass lets the needle drag, and the reading becomes unreliable.

Step away from metal before reading. Even a few steps from a car or fence can change the result.

Take two readings and compare them. If they disagree, look for a nearby magnet or power source before trusting either one.

Apply declination when accuracy matters. For a short walk to a visible landmark, the gap may not matter, but for map work it does.

Practise in a known place first. Walk a bearing to a landmark you can see, and check that the compass reading matches what the map predicts.

Why phones still need the same physics

A phone compass uses a magnetometer, a sensor that measures the magnetic field. It does not use a swinging needle, but it reads the same field.

Phone makers add calibration steps for that reason. Waving the phone in a figure of eight helps the sensor separate Earth's field from the phone's own magnets.

Software then applies the World Magnetic Model to show true north if asked. Without that model, the phone would show magnetic north, just like a needle compass.

That is also why a phone compass can fail near a magnetic mount. The sensor measures the strongest local field, and a mount magnet can win.

What a compass cannot do

A compass shows direction, not position. It cannot tell you where you are, only which way you are facing.

It cannot find true north on its own. That needs a declination value from a map, a model, or a known landmark.

It struggles near the magnetic poles, where the field points down rather than sideways. Explorers there use other methods, including sun compasses and satellite navigation.

It also cannot warn you about terrain. A correct bearing can still lead across a cliff, a river, or private land, so a map stays essential.

Frequently asked questions

Does a compass point to the North Pole?

No, it points toward magnetic north, which sits apart from the geographic North Pole. The gap is declination, and it varies by location and year.

Why does my compass needle wobble?

A needle wobbles when it is still settling, when the compass is tilted, or when nearby metal disturbs the field. Hold it flat, step away from metal, and let it settle before reading.

Can a compass work at the South Pole?

A compass still responds to the field there, but its horizontal direction becomes unreliable near either magnetic pole. The field points steeply downward, so the needle has little sideways direction to follow.

Do I need to adjust for declination on a short walk?

Not usually, if your destination is visible and close. For map navigation over distance, apply the local declination, or your route can drift off target.

The bottom line

A compass works because its needle is a magnet and Earth is a bigger one. The needle turns until it lines up with the local magnetic field, and that direction is magnetic north.

Remember the gap to true north, keep metal away, and update old declination values. With those three habits, a simple needle remains a reliable guide.

Tags: compass, magnetism, navigation

Rive News's research desk covers everyday science and pet behaviour from public sources, with no invented experts or first-hand claims.

Related

Subscribe for one plain-English explainer each day, with sources you can check.

Rive News publishes explainers from verifiable public sources; corrections are made openly when a source is shown to be wrong.

Taggedcompassmagnetismnavigation