How to calibrate the iPhone compass and fix a wrong heading
If your iPhone compass points the wrong way, the cause is usually metal or a magnet nearby. How to calibrate it, what interferes, and how to check it's right.
In short
- Current iPhones calibrate the compass by themselves as you move. There's no calibrate button.
- A wrong heading nearly always means interference: a car, a magnetic case or mount, steel or electronics close by.
- The fix: move away from metal, remove magnetic accessories, and tilt and turn the phone through a figure eight for a few seconds.
- Check that Compass Calibration is on under Location Services.
The compass in your phone is a small sensor that measures the Earth's magnetic field, which is weak. A fridge magnet held nearby is thousands of times stronger. So the sensor has to work out, continuously, which part of what it feels is the planet and which part is the phone and its surroundings. That working out is calibration.
How the iPhone calibrates
As you carry and turn the phone, the sensor sees the Earth's field from many angles while any field from the phone itself stays fixed. iOS uses that difference to subtract the phone's own magnetism. On older versions you were asked to roll a ball around a circle. Now it happens in the background, helped by the motion sensors and your location.
It needs two things: movement, and a setting that's on by default.
Steps to fix a wrong heading
- Step away from interference. Get out of the car and a few meters from metal railings, steel doors, reinforced walls and parked vehicles.
- Take off magnetic accessories. Magnetic wallets, cases with magnetic clasps, car mounts and some charging pucks sit right over the sensor. Remove them and try again.
- Move the phone in a figure eight. Hold it out, and sweep it through a large figure eight a few times, tilting and twisting your wrist so the phone points in every direction. A few seconds is enough.
- Check the setting. Open Settings › Privacy & Security › Location Services › System Services and make sure Compass Calibration is on. Location Services itself must be on too.
- Restart the phone if the heading is still stuck or wildly off.
What throws a compass off
| Source | How far to move |
|---|---|
| Inside a car | Get out. A phone compass is unreliable in any vehicle |
| Magnetic case, wallet or mount | Remove it |
| Steel beams, rebar, railings, manhole covers | A few meters |
| Laptops, speakers, headphones | Half a meter or more |
| Power lines and electrical substations | Tens of meters |
| Watch bands with magnets (Apple Watch) | Swap the band if readings are off |
| Iron-rich rock, in some mountain areas | Compare with a second method |
Interference is local. Walk ten steps and it's often gone, which is the quickest test there is.
How to check it's right
- Use the sun. At midday it's roughly south in the Northern Hemisphere and north in the Southern. Early and late, it's toward the east and west.
- Use a straight road or a building you can see on the map, and compare its direction with the heading.
- Walk. Once you're moving steadily, GPS knows your direction of travel independently of the compass. If the map's direction of travel and the compass heading disagree while you walk in a straight line, the compass is being disturbed.
- Look for an accuracy figure. GoBack shows the heading's estimated accuracy beside it, as ±N°. A large number is a warning to move and recalibrate.
True north and magnetic north
If the heading is consistently off by the same amount everywhere you go, the cause may not be a fault at all. A compass can be set to magnetic north or to true north, and the two differ by up to 20° or so depending on where you are. For the iPhone's Compass app, the switch is Use True North in Settings › Apps › Compass. GoBack uses true north automatically once it has a GPS fix. The background is in true north vs magnetic north.
In GoBack
- GoBack reads the same sensor as every other app, so the steps above apply. There's nothing extra to calibrate inside it.
- The heading is blended with the phone's gyroscope, which keeps the dial smooth while you turn and stops it twitching when you pass something metallic.
- On Apple Watch, the dial shows Calibrate when the heading isn't valid. Turn your wrist through a few figure eights, and check the band for magnets.
- Once you're walking toward a saved place, small compass errors matter less than you'd think, because the distance keeps counting down and the bearing is recalculated from GPS as you move.
Common questions
How do I calibrate the compass on my iPhone?
Move away from metal and magnets, then sweep the phone through a figure eight a few times while tilting it in all directions. Make sure Compass Calibration is turned on in Settings under Privacy & Security, Location Services, System Services.
Why is my iPhone compass pointing the wrong way?
Most often because of magnetic interference from a car, a magnetic case or mount, or steel nearby. Less often, Location Services or Compass Calibration is switched off, or the compass is set to a different north than you expect.
Does the iPhone compass work in a car?
Not reliably. The steel body and the electronics distort the magnetic field. While driving, navigation apps use your direction of travel from GPS, not the compass.
How accurate is the iPhone compass?
Usually within a few degrees when it's calibrated and away from interference. It's suitable for general navigation, not for surveying, and Apple advises against relying on it alone where precision matters.
Do MagSafe accessories affect the compass?
They can. Magnets close to the phone's sensor may disturb the reading. If the heading looks wrong with a magnetic wallet, case or mount attached, remove it and recalibrate.
Save a spot with one tap. The compass, your breadcrumb trail and offline maps bring you back to it.