How does a compass work?
A compass works because its needle is a small magnet that can turn freely, so it lines up with Earth’s magnetic field. The end marked north settles towards the region called magnetic north, giving you a steady reference for direction. Once you know north, you can orient a map, follow a bearing, or work out the other main directions. This simple magnetic response is why compasses have helped explorers, sailors and travellers move through unfamiliar places for centuries.
Earth’s magnetic field gives the needle a reference
Earth has a magnetic field around it. The field comes from movement deep inside the planet, where hot, electrically conducting material circulates and creates magnetism on a planetary scale. A compass does not need to know any of that. It only needs the field at the place where you are standing.
The compass needle is magnetised. Like any magnet, it responds to other magnetic fields. Because the needle is light and balanced, Earth’s field can turn it until it settles in line with that field. The north-marked end points towards magnetic north, not exactly towards the geographic North Pole.
That difference matters. Geographic north is tied to Earth’s spin axis. Magnetic north is tied to Earth’s magnetic field, and it shifts slowly. The angle between the two is called magnetic declination. For simple orientation, the difference may not matter much. For careful navigation, it must be allowed for.
What happens inside the compass
A basic compass has a magnetised needle mounted so it can rotate with little friction. In many hand compasses, the needle sits inside a clear housing that slows its movement, so it settles instead of swinging back and forth for too long.
The compass base or dial shows directions. When the needle settles, you rotate the compass or the map to match the direction you need. That turns an invisible magnetic field into something you can use with your eyes and hands.
This is the reason a compass remains useful without batteries, signals or satellites. It is not calculating your position. It is giving you a direction reference. You still need a map, landmarks or a planned route to know where that direction will take you.
Why metal can make a compass wrong
A compass needle follows the strongest magnetic influence acting on it. Most of the time, that is Earth’s field. Nearby metal or magnets can change the local field around the needle, so it no longer points where you expect.
Steel objects are the usual problem. A vehicle, railing, tool, watch strap, belt buckle, speaker magnet or magnetic phone case can pull the needle away from Earth’s field. Some rocks and mineral deposits can also disturb a compass reading. The closer the object is, the more likely it is to matter.
That does not mean the compass has failed. It means it is doing exactly what it is built to do: respond to magnetism. The answer is to use it away from metal objects, hold it level, and check whether the needle behaves consistently when you move a short distance.
Why the idea has lasted
A compass works by joining a local tool to a planetary pattern. The tool is small enough to carry in a pocket. The pattern is large enough to be present almost everywhere on Earth.
That combination made the compass valuable long before modern navigation systems existed. It gave travellers a repeatable way to keep a direction when landmarks were hidden, weather changed, or open water offered few visual clues. Modern tools can add position, speed and route planning, but the compass still explains the core idea plainly: direction begins with a reliable reference.