Tier A - Direct Browser Interaction Ready

Mobile Digital Compass & Magnetometer Heading Tester

Test mobile magnetometer compass orientation heading (0-360 degrees) and cardinal directions. Listens to deviceorientationabsolute and deviceorientation events to calculate azimuth heading and render an interactive rotating compass rose.

Digital Compass & Magnetometer Lab

--° (--)
N
S
E
W

How to use this test

  1. Hold your phone flat horizontally in your palm.
  2. Rotate your body slowly in a circle.
  3. Observe the compass needle and degree counter update in real time.
  4. If heading seems erratic, calibrate your phone by moving it in a figure-8 motion.

How to understand your result

Looks good: Compass needle rotated smoothly and aligned with physical orientation.
Unable to test: Device lacks a hardware magnetometer sensor or permission was not granted.

Troubleshooting: what to try next

  • Move away from large metal objects, speakers, or magnetic phone wallet cases.
  • Calibrate magnetometer by waving phone in a gentle figure-8 motion.

What this test cannot tell you

Requires hardware magnetometer chip. Magnetic interference from cases can distort readings.

Frequently Asked Questions

EP
Tested & Reviewed by [REAL AUTHOR NAME - OWNER TO COMPLETE]
Last Reviewed: 2026-10-17 • Test Method: deviceorientationabsolute and deviceorientation event alpha heading listener • How We Test