Online Compass
Use your phone as a compass with heading, bearing and your coordinates.
How to use the Online Compass
- 1Open the page on a phone and allow motion access.
- 2Hold the phone flat and read the heading.
- 3Set a target bearing and follow the arrow.
About Online Compass
The Online Compass turns a phone or tablet into a compass in the browser. Open the page, tap Start compass and allow motion access, and the dial shows your heading in degrees with the compass point, such as NE or SSW. It reads the device's orientation sensor, so it works on most phones and tablets; most desktop computers and laptops have no compass sensor, and a demo mode lets you turn the dial by dragging instead.
Compasses point to magnetic north. Enter your local magnetic declination and the Online Compass corrects the heading to true north. You can set a target bearing and follow the arrow, with hints like turn left 20°, or pick a destination city to get its bearing and distance from where you are. The page also shows your coordinates with their accuracy, and the sensor accuracy when the device reports it.
Use the phone compass to orient a paper map on a hike, find the direction of a place, line up a satellite dish or solar panel, or check which way a window or balcony faces. Where safety matters, carry a magnetic compass as well, since phone sensors can be thrown off by magnets, metal and electronics.
Frequently asked questions
What is the difference between magnetic north and true north?
True north is the direction to the geographic North Pole; magnetic north is where a compass needle points, following the earth's magnetic field. The angle between them, the magnetic declination, depends on where you are and changes slowly over the years.
Why does my phone compass show the wrong direction?
Magnets in cases and mounts, nearby metal and electronics disturb the sensor. Move away from them, calibrate the compass by moving the phone in a figure-eight, and turn on rotation lock so the screen doesn't flip.
Why does the compass ask for motion access?
Browsers only share orientation sensor data after you allow it. Tap Start compass and confirm the prompt; if you declined it, allow motion and orientation access for the site in your browser settings and try again.
How do I follow a bearing with a compass?
Set the bearing as the target, hold the phone flat in front of you and turn until the arrow points straight ahead. Then pick a landmark in that direction, walk to it and check again, rather than watching the screen while you walk.
More in Maps & Geo
Measure the distance between places or coordinates, as the crow flies.
Convert coordinates between decimal degrees, DMS, UTM, MGRS and more.
Sunrise, sunset, golden hour and twilight for any place and date.