Choose your place
Press the place button at the top and pick a town, type coordinates in any format or choose a point on the map. Your place gives true north, the Sun, the Moon and the Qibla; magnetic north needs nothing.
A compass in your browser with magnetic, true and grid north, bearings and distances to your saved places, the Sun, the Moon and the Qibla on the dial, a world map and every common coordinate format, with nothing uploaded.
Waiting for the compass
Starting
Your browser asks before a page can read the compass in your phone.
Course
Where the Sun, the Moon, the pole star and the Qibla lie from your place, now or at any time you choose.
The world drawn from your place: every straight line from the centre is a true bearing, and the distance from the centre is the real distance.
Click or tap the map to see the bearing, distance and magnetic field at that point.
Convert coordinates and bearings, measure slopes and heights, and practise pointing the right way.
Stand back from a tree or building, hold the phone upright and aim the top edge at the top of it, or type the angle.
Keys while you use the tool: H hold the reading, F follow the current bearing, N switch the north. Calculated on this device with the World Magnetic Model 2025.
Press the place button at the top and pick a town, type coordinates in any format or choose a point on the map. Your place gives true north, the Sun, the Moon and the Qibla; magnetic north needs nothing.
On a phone, hold it flat and the card turns like a real compass; held upright it reads the way the camera faces. iPhones ask first: tap Start the compass. On a computer, drag the dial to the way you face.
Magnetic follows the needle, True points to the North Pole and Grid matches a map's kilometre grid. The facts under the dial give the declination at your place and how fast it is changing.
Face the way you want to go and press Follow this bearing, or type the bearing. A magenta line marks it on the dial and the panel says how far to turn. Way back follows the reverse.
On the Navigate tab, add places from coordinates, the map or a GPX file. Each shows its bearing and distance from your place; Go here puts it on the dial as a destination.
Turn on Sun, Moon, Qibla or Pole star under the dial to see them as marks on the card. The Sky tab charts their paths over your place for any day, and how to find north without a compass.
Switch between magnetic, true and grid north and every bearing on the page follows: the dial, your saved places, the calculators and the sky. The declination comes from the World Magnetic Model 2025.
The heading combines the phone's compass with its tilt sensors, so it stays right when the phone is not flat, and switches to the camera direction when you hold it upright for Sight.
Bearings and distances are worked out on the same Earth shape that GPS uses, so a saved place a few metres or half the world away gets the right bearing and distance.
The Qibla, the Sun, the Moon and the pole star can ride on the dial. The Sky tab gives the times the Sun stands in the Qibla direction and the two days a year it passes over the Kaaba.
Paste decimal degrees, degrees and minutes, UTM, MGRS, a plus code or a map link, and see the same place in all six formats, with its bearing and distance from you.
Every bearing and position is worked out in your browser, and the camera picture in Sight never leaves your screen. Your places and settings stay in this browser between visits.
A compass points along the Earth's magnetic field, which does not line up with its axis. The angle between magnetic and true north, the declination, changes from place to place and slowly year by year. NOAA and the British Geological Survey publish a model of it, renewed every five years; this tool carries the 2025 edition, valid to the end of 2029.
A map with a kilometre grid flattens the Earth, so its grid lines lean a little away from true north, more so towards the edge of each zone. That lean, the grid convergence, is shown with the declination, and the Bearings tool converts between all three norths.
The Qibla is the direction of the Kaaba along the shortest path over the Earth's surface, the great circle. That is why it can differ from the direction on a flat world map: from North America, for example, it points north-east, not south-east.
It is free, with no registration. Like every page on ZeroDataUpload, it is supported by advertising. Every bearing, distance and position is worked out in your browser. Your place, saved places and settings are kept in this browser between visits and never sent to a server; Delete everything, under Settings, removes them.
Location is turned off for this page, as for every page of zerodataupload.com except the GPS Speedometer, so the compass cannot ask your browser where you are. Choose a town from the list, type coordinates in any common format, pick a point on the map or work out your position from two bearings under Navigate. The compass itself does not need your location: magnetic north comes from the phone's own sensor, and your place is only needed for true north, the Sun, the Moon and the Qibla.
Most computers have no compass sensor, and the page says so instead of showing a needle that does not move. You can still drag the dial, or click it and use the arrow keys, to set the direction you face, and every other part of the tool works: bearings and distances, the sky, the map and the coordinate tools. On a phone or tablet the dial follows the built-in compass; iPhones and iPads ask first, after you tap Start the compass.
A phone measures the Earth's magnetic field with a small sensor, and steel, magnets, cars, speakers and phone cases with magnets can pull it off by several degrees. Step away from metal, use Calibrate to move the phone in a figure 8, and check the heading against a direction you know, such as a straight street on a map. For anything where an error matters, carry a real compass as well.
Magnetic north is where a compass needle points. True north is the direction of the North Pole. The angle between them is the declination, worked out for your place and today's date from the World Magnetic Model 2025 of NOAA and the British Geological Survey. Grid north is the up direction of a UTM or MGRS map grid; it differs from true north by the grid convergence, which matters when you work with a paper map that has a kilometre grid.
No. Sight shows the camera picture on your screen with a strip of bearings over it, so you can aim at a hill or a mast and take its bearing. The picture is never recorded, saved or uploaded, and the camera turns off when you close Sight. Your browser asks before the camera is used; without it the bearing strip still works.
Sun and Moon is a calendar of the sky: sunrise, sunset, twilight, moon phases, eclipses and the panchang for any day. CompassPro is a compass: its Sky tab shows the same sunrise and sunset, worked out with the same astronomy, but turns them into directions, such as where the Sun rises on the dial, when the Sun stands in the Qibla direction and how to find north from the Sun, a watch or the pole star.