Online Compass with True North
An online tool for finding your way outdoors: it shows the cardinal directions, your heading in degrees and any bearing you take, using the smartphone’s magnetic sensor. Unlike a plain needle it applies the local magnetic declination, so north lines up with your map instead of the magnetic pole. Works offline, with no app to install.
How to use it
Open the page on a phone and tap “Turn on the compass”. On iOS 13 and later the browser asks once for motion and orientation access — allow it.
Trace a figure of eight in the air, turning the phone about every axis. The calibration segments fill in as the sensor sees new directions; it takes a few seconds.
Coordinates are what make the declination correction and the sun and moon markers possible. Without them the compass still works, but it can only show magnetic north.
Flat, and the direction comes from the top edge of the screen, like a map. Lift it upright and the compass switches to sighting mode, reading the direction from the rear camera.
Aim at your landmark and tap “Take current”. The deviation bar shows which way to turn, and the back bearing brings you back to where you started.
Find directions and hold a bearing using your phone’s sensors
Sensor access is required
The compass reads your phone’s magnetometer. Tap the button to allow access — on iOS the system prompt appears once.
Open this on your phone
Computers have no magnetometer. Scan the QR code with your phone camera to open the compass on a mobile device.
Or type the address into your phone browser.
This browser will not give a direction to north
The sensor responds, but its zero is not tied to the Earth: the browser only reports relative rotation. Drawing that as a compass needle would be a lie. Below is a way to orient yourself by the sun — it needs no magnetometer.
This device has no magnetometer
A compass needle needs a magnetic sensor, and many tablets and almost all laptops have none. Below are sun-based orientation and the declination calculator: both work on any device.
Hold the phone level: the direction is taken from the top edge of the screen.
Bearing
Set a bearing and the deviation bar shows which way to turn; the back bearing walks you home along the same line.
Position
An independent check: while you are moving, GPS derives your direction without any magnetometer.
Sun and moon
The sun and moon markers on the dial are an independent check: if they disagree with the needle, metal is disturbing the magnetometer.
Target by coordinates
Way back
Mark the car or the camp before you set off, and the compass will point the way back.
Magnetometer
The live magnetic field around the phone. Use it to find metal and magnets — close up they multiply the reading. Note it responds to iron and magnets, not to copper wiring or gold.
Modes
Orienting by the sun
This needs no magnetometer: the sun’s position is computed from the time and your coordinates. Turn until the sun sits in the direction shown, and you know every cardinal point.
Magnetic declination at a point
The correction between magnetic and true north — the number you write on a paper map. Computed on your device; no internet needed.
Magnetometer calibration
Trace a figure of eight in the air, turning the phone around all three axes. The segments below fill in as the sensor sees new directions.