Digital Compass
Enable the compass to see your heading in degrees and as a direction such as NE, using your phone or tablet's orientation sensor.
Use the tool
Why this tool exists
A quick compass check is handy when pitching a tent, orienting a map, placing a solar panel or satellite dish, or just working out which way a window faces. Not everyone has a compass app installed, and many free ones are packed with adverts or ask for unrelated permissions.
This page reads the device orientation sensor directly in your browser. On iPhones and iPads the browser asks for permission first. On Android it uses the absolute orientation event when available. The needle and dial turn as you move, and the heading appears as degrees from north with a compass point. Desktop computers usually have no such sensor, and the page needs a secure connection, so you may see a message instead. Readings are affected by nearby metal and magnets, so move away from them.
How to use it
- Open the page on a phone or tablet.
- Press Enable compass and allow motion access if prompted.
- Hold the device flat and wait a moment for the heading.
- Move away from metal objects or magnets if the reading jumps.
Frequently asked questions
Why does it say No compass data?
Your device or browser has no orientation sensor, which is typical for desktop computers, or the page is not on HTTPS. Try a phone or tablet using a current browser.
Is it as accurate as a real compass?
It can be within a few degrees on a well-calibrated phone, but readings drift near speakers, cars, metal furniture and magnetic cases. Move your device in a figure of eight to help calibrate it.
Is this magnetic or true north?
The sensor measures magnetic north, which differs from true north by the local declination, from a few degrees to more than ten in some regions. Apply a correction for accurate navigation.
Is my location or sensor data sent anywhere?
No. The orientation readings are processed in your browser and are not uploaded. The tool does not use GPS or request your location.