Skip to content
DeviceCheckHub

Online Compass

A compass on your phone with true north: lay it flat or aim it upright, read the heading in degrees or mils, and lock a bearing to follow.

The compass

3060120150210240300330NESW

Lying flat: where the top of the screen points

–

Tap Start the compass

Magnetic north

Works in phone and tablet browsers. The readings stay on your device.

Declination finder: true north for any place

Type a place, or use your location, for its declination and true north. It works on any device.

How to use the online compass

Tap Start the compass; on an iPhone or iPad, allow motion access when Safari asks. Lay the phone flat on your palm or a table and the heading is the direction the top of the screen points, as on a baseplate compass. Stand the phone upright and the heading becomes the direction the back of the phone points, so you can aim it at a landmark like a camera and read its bearing. The card turns so its N always points to north, and the red marker at the top is the direction you read.

True north and declination

A compass points to magnetic north, which wanders across northern Canada, not to the North Pole that maps are drawn to. The angle between the two is the declination. East of a line through the middle of North America it is west, and to the west of it east. Type your latitude and longitude, or share your location, and the page works out the declination from the World Magnetic Model 2025 and adds it, so the heading matches your map. The model is exactly the one NOAA publishes, checked against every one of its official test values.

Magnetic declination in mid 2026 for some cities
CityDeclination, mid 2026
Seattle14.9° E
New York12.5° W
Denver7.5° E
London1.2° E
Sydney12.8° E
Mumbai0°

Following a bearing

To walk a straight line, point the phone the way you want to go and tap Lock this bearing. A marker stays on that bearing on the card, and the page tells you how many degrees to turn left or right until you are back on it. Pick a landmark on the line, walk to it, and check again.

Getting a true reading

A phone's compass is a small magnetic sensor, and anything magnetic nearby pulls it off: a car, a steel table, a laptop, a speaker, a magnetic case or car mount. Step away from them and hold the phone level. If the reading still jumps or looks wrong, calibrate it by moving the phone in a slow figure 8 a few times. Near the magnetic poles, in far northern Canada, Greenland and Antarctica, the horizontal pull is so weak that no compass can be trusted, and the page says so.

Privacy

The compass and the declination are worked out on your device. Your location is not sent to this website; if you set a place, it is saved only on this device, rounded to about a kilometer.

Frequently asked questions

How do I use my phone as a compass?

Tap Start the compass, and allow motion access if the phone asks. Lay the phone flat and the heading is where the top of the screen points; stand it upright and the heading is where the back of the phone points, so you can aim it like a camera at a hill or a building. Keep it away from metal, magnets and other electronics.

What is the difference between true north and magnetic north?

A compass needle points to magnetic north, which is not the North Pole. The angle between them is the declination, and it changes from place to place and slowly year by year: in mid 2026 it is about 14.9° E in Seattle and 12.5° W in New York. Maps use true north, so set your place and choose True north to read headings that match a map.

How does the compass find true north?

From your latitude and longitude it works out the declination with the World Magnetic Model 2025, the model from NOAA and the British Geological Survey that phones, aircraft and navies use, and adds it to the magnetic heading. The calculation runs on your phone; your place is not sent anywhere.

Why is my compass reading wrong?

Metal and magnets nearby pull a compass off: a car, a steel desk, a speaker, a magnetic phone case or mount. Move a few steps away and try again. If it is still off, calibrate it: move the phone in a figure 8 a few times. On an iPhone, the page shows how accurate the reading is.

Does it work on an iPhone and on Android?

Yes. Safari on iPhone and iPad asks before a page may read motion: tap Start the compass and choose Allow. Chrome on Android reads the compass once motion sensors are allowed for the site, which they are unless you turned them off. Laptops and desktops have no compass, but the declination finder below works on any device.

What are mils?

A finer unit for bearings used by armies and in some orienteering: NATO divides the circle into 6,400 mils, so 1° is about 17.8 mils, and at 1 km one mil spans about 1 m. Choose Mils to show the heading that way.

Last updated · About DeviceCheckHub