Short answer
Yes, in most cases. Most modern smartphones have a magnetometer, a sensor that detects magnetic fields, and compass and map apps use it to show direction. It works without a cell signal, so you can use it offline. It has limits, though. It points to magnetic north rather than true north, it needs calibration, and metal, magnets, and electronics can throw it off. A phone compass is a useful backup, but in harsh conditions it is not a replacement for a dedicated compass.
Why a phone can act as a compass
The phone’s magnetometer senses the Earth’s magnetic field, the same field that turns a magnetic compass needle. Apps combine that reading with motion sensors so the arrow stays steady when you tilt the phone. Because the sensor reads a magnetic field, it does not need a cell signal or a GPS fix to show direction.
Does a phone compass point true north?
Usually not. A phone compass points to magnetic north, while most maps are drawn using true north. The difference between the two is called magnetic declination, and it changes from place to place. Some apps let you see or adjust for declination in their settings, so check before you rely on the reading. Knowing which north your app shows matters when you match it to a map.
Calibrating the sensor
If the reading seems off, move the phone through a figure-eight pattern a few times. Many compass apps prompt you to do this. Calibrate away from metal objects and other sources of magnetic interference, because the calibration itself can pick up those fields.
What throws off a phone compass
- Metal objects, including belt buckles, keys, knives, and the body of a vehicle.
- Magnets, including speakers, magnetic phone mounts, and cases with magnetic clasps. A phone can detect magnetic fields, which is why it reacts to them.
- Electrical equipment, such as power cables and other electronics nearby.
- Thick or metal-backed cases, which can sit close to the sensor.
If the arrow swings when you move the phone toward something, that object is the likely cause.
Using a phone compass in the field
- Hold the phone flat and level when you read it, and keep it away from your body and your gear.
- Take a reading, then check it against a landmark or a map before you walk on it.
- Download offline maps before you go. The compass sensor works without a signal, but map data may not load without one.
- Keep the battery charged. Cold weather drains batteries faster, and a dead phone gives you no compass at all.
- Carry a backup compass, especially on longer trips.
Asking which compass app is good is less useful than checking whether the app shows the declination setting and works offline. Look for those features before a trip.
When to use a dedicated compass
A phone compass is fine for a quick check, but a baseplate compass has no battery, no screen to fail, and no electronics to interfere with its needle. For off-trail travel, cold or wet conditions, or any situation where a wrong direction matters, carry a dedicated compass and learn to use it.