N E S W
0°
North (N)
Azimuth / Heading 0.0°
Cardinal Quadrant North
Reverse Bearing (Back-Azimuth) 180.0° (S)
Sensor Source Device Orientation API

How Digital Compass Sensors Work

Modern mobile devices determine orientation using a microscopic tri-axis Hall-effect magnetometer paired with solid-state MEMS gyroscopes and accelerometers.

The magnetometer measures the local magnetic flux density of the Earth's geomagnetic field in microteslas (µT). The device fusion algorithm combines these readings with gravitational accelerometer vectors to compute the precise tilt-compensated azimuth bearing relative to Magnetic North.

True North vs. Magnetic North

  • True North (Geodetic North): The northern axis of rotation of the Earth (the North Pole).
  • Magnetic North: The location where the geomagnetic field points vertically downwards into the Earth. The magnetic pole currently wanders near the Arctic Ocean.
  • Magnetic Declination: The angular difference between True North and Magnetic North at your specific location. Navigators add or subtract declination to convert magnetic compass bearings to true paper map headings.

Frequently Asked Questions

Key answers and technical notes regarding compass heading & bearing.

How do I activate the compass on iPhone and Android?

Click 'Calibrate / Start Sensors'. On iOS, confirm the sensor permission prompt. On mobile, hold your phone flat horizontally for maximum accuracy.

Why does my compass dial wobble or need calibration?

Nearby electrical wiring, metal objects, laptops, and speaker magnets produce magnetic interference. Calibrate your sensor by moving your phone in a slow 'figure-8' motion in the air.

What is back-azimuth?

Back-azimuth (or reverse bearing) is the exact opposite heading (180° away), essential for retracing your trail back to camp.

Related Location Tools

Need Your Exact Location Right Now?

Visit the My Location Lab home lab to get complete street address, city, district, and instant location sharing.

Launch Full Location Lab