Compass Test
Test your device's digital compass. Point your device in different directions to see the heading.
How to Use This Test
- Open this page on a smartphone or tablet with a built-in magnetometer
- Grant motion and orientation sensor permission if your browser prompts you
- Point your device in different directions and observe the compass heading update in real time
What This Test Checks
The compass test reads your device's magnetometer through the Device Orientation API to display a real-time heading relative to magnetic north.
- Compass heading -- displays the current bearing in degrees (0-360) relative to magnetic north
- Cardinal direction -- shows N, NE, E, SE, S, SW, W, or NW based on your heading
- Sensor availability -- confirms whether your device has a functioning magnetometer
- Calibration accuracy -- helps you determine if the compass needs recalibration by comparing against a known direction
Troubleshooting
If you're having issues with the compass test:
- Move away from electronic devices, magnets, and metal objects that cause magnetic interference
- Calibrate your device by rotating it slowly in a figure-8 pattern three to four times
- Remove any magnetic phone case or mount, as these can distort compass readings significantly
- On iOS, grant motion permission when the browser dialog appears -- this is required since iOS 13
- If the heading is consistently off by a fixed amount, your device may be reporting magnetic north rather than true north
Frequently Asked Questions
Why is my digital compass showing the wrong direction?
An inaccurate compass reading is usually caused by magnetic interference from nearby electronics, metal objects, or magnetic cases. Try moving away from computers, speakers, and metal furniture. You can also calibrate your device's magnetometer by slowly rotating it in a figure-8 pattern several times.
Does this compass test work on a desktop computer?
No. Desktop computers and most standard laptops do not contain a magnetometer sensor, which is required for compass functionality. This test is designed for smartphones and tablets that have built-in magnetometers. Some 2-in-1 devices may also support it.
How do I calibrate my device's compass?
The most common calibration method is to hold your device and slowly rotate it in a figure-8 pattern three to four times. On Android, you can also open Google Maps and follow the calibration prompt. On iOS, the compass recalibrates automatically but you may need to move away from magnetic interference.
Time to upgrade? Consider these navigation devices:
Support Check A Device
If you find our free tools helpful, consider supporting us! Your contributions help us keep the site running and ad-free.