Online Compass
A free mobile compass that uses your phone sensors to show which way is north, plus your GPS coordinates on tap. Works in the browser on phones and tablets, no app.
the way you are facing
No live compass reading on this device. Enter a heading manually to see the compass direction:
A back bearing is the way you came: the current heading turned by 180 degrees. Saved bearings stay on this phone.
Your location is read once on this phone and never sent anywhere. Handy for telling a rescuer or a friend exactly where you are.
How Online Compass Works
Online Compass is a free, browser-based digital compass that reads your phone's magnetometer through the DeviceOrientationEvent API and shows your heading in degrees plus the 16-point cardinal direction in real time. It needs no app install, works offline once the page has loaded, and never sends sensor data to a server. Updated 2026-08-26.
Live Compass on Your Phone Online — No App Needed
This live compass runs in your phone's browser, so there is nothing to download. Open this page on the phone you want to use, then:
- iPhone (Safari): tap Enable Compass, then tap Allow when Safari asks for Motion & Orientation access. The dial turns as you turn.
- Android (Chrome): the dial starts by itself; if it stays still, check that Chrome has motion-sensor access under Site settings.
- Keep it one tap away: in Safari tap Share → Add to Home Screen; in Chrome tap ⋮ → Add to Home screen. The compass then opens from an icon like an app, with no install and no account.
On a laptop or desktop there is usually no magnetometer, so use the manual dial or open this page on your phone. The live reading is a magnetic heading; to turn it into a true-north heading, look up the declination for your location in NOAA's World Magnetic Model and add it as described in the accuracy section below. Updated 2026-11-03.
How to Use a Compass
A compass is one of the most fundamental navigation tools. Whether digital or analog, understanding how to read a compass heading is an essential outdoor skill that can help you find your way when GPS fails or batteries die.
Understanding Compass Bearings
A compass measures direction in degrees from 0 to 359. North is 0 (or 360) degrees, East is 90, South is 180 and West is 270. The 16-point compass rose adds intercardinal (NE, SE, SW, NW) and secondary intercardinal directions for more precision.
Magnetic North vs True North
Digital compasses (and magnetic compasses) point to magnetic north, which differs from geographic (true) north. This difference is called magnetic declination and varies by location. In some areas the difference can be 15 degrees or more. For precise navigation, you need to adjust for your local declination.
Compass Navigation Basics
To navigate with a compass, take a bearing to your destination, then walk following that bearing. Check your compass frequently and pick a landmark in line with your bearing to walk toward. When you reach that landmark, take another bearing and pick a new target. This technique keeps you on course even in poor visibility.
Digital vs Analog Compasses
Digital compasses in smartphones use a magnetometer sensor. They are convenient but can be affected by nearby electronics, metal objects and magnetic fields. For wilderness navigation, always carry an analog compass as a backup — it needs no batteries and works in any conditions.
When GPS Fails
A compass combined with a topographic map is your most reliable navigation system in the backcountry. GPS devices can lose signal in deep canyons, dense forests and during storms. Knowing basic compass and map skills is a critical safety practice for any outdoor enthusiast.
Online Compass Accuracy: Correcting for Magnetic Declination in 2026
An online compass reads magnetic north, not true north, so every heading it shows is off by your local declination until you correct it. The correction is one subtraction: true bearing = magnetic bearing + east declination, or magnetic bearing − west declination. Declination changes with both place and year, which is why the current World Magnetic Model epoch runs 2025–2030. Look up your exact figure by postcode or coordinates with the NOAA NCEI magnetic field calculator before you rely on a bearing for navigation.
Typical 2026 values to sanity-check your reading:
- Seattle, WA — about 15.5° east: a compass reading of 90° is a true bearing of roughly 105.5°.
- New York, NY — about 12.8° west: a compass reading of 90° is a true bearing of roughly 77.2°.
- London, UK — about 1.5° east, small enough to ignore on short day hikes.
- Sydney, Australia — about 12.7° east.
Over a 5 km leg, an uncorrected 12° error puts you roughly 1 km off target, which is the difference between hitting a trail junction and missing it entirely. Declination also drifts by up to 0.2° per year in some regions, so a figure copied off an old map sheet can be several degrees stale. Updated 2026-08-26.
How to Calibrate an Online Compass on iPhone and Android
If the online compass needle drifts, jumps or points the wrong way, the phone's magnetometer needs calibrating. It takes about 20 seconds:
- Step 1 m away from cars, laptops, speakers, magnetic phone cases and steel railings.
- Hold the phone flat, then sweep it in a slow figure-8 three or four times, tilting it through every angle.
- On iPhone, allow Motion & Orientation when Safari asks; if you denied it, reload the page to get the prompt again.
- On Android, a low accuracy warning in Google Maps means the same figure-8 fix applies here.
Then compare the reading with a known landmark or the free NOAA magnetic field calculator for your location. Updated 2026-10-21.
Frequently Asked Questions
How do I calibrate my online compass?
Move away from metal and magnets, then sweep your phone in a slow figure-8 three or four times. On iPhone, also allow Motion and Orientation access when Safari asks, or reload the page to see the prompt again.
Why does the compass point the wrong way on my iPhone?
Usually the magnetometer needs a figure-8 calibration, or a magnetic case or MagSafe accessory is pulling the needle. Remove the case, recalibrate, and check the reading against a known landmark.
How does the online compass work?
This compass uses the DeviceOrientationEvent API to read your phone or tablet magnetometer sensor. It detects magnetic north and displays the heading in real-time. On desktop browsers without orientation sensors, you can enter a heading manually.
Why is my compass not accurate?
Compass accuracy can be affected by nearby metal objects, magnets, electronic devices and magnetic interference. Try calibrating by moving your phone in a figure-8 pattern. Move away from large metal objects for better accuracy.
Does the online compass work on desktop?
Desktop computers typically lack magnetometer sensors, so the live compass feature requires a mobile phone or tablet. On desktop, this tool provides a manual heading input and compass education.
What is magnetic declination?
Magnetic declination is the angle between magnetic north (where a compass points) and true geographic north. It varies by location and changes slowly over time. For precise navigation, you need to add or subtract your local declination from compass readings.
Why does my compass show nothing or stay on one number?
Two reasons. Some phones and nearly all laptops have no magnetometer, and a browser cannot invent one; this page says so and offers a manual dial instead. The other reason is that a phone lying still sends no new readings, so move it in a figure-8 and the heading appears. A reading that never changes as you turn means the sensor is not compass-referenced on that device.
Can I use this compass without internet?
Once this page is loaded, the compass works without an internet connection. It uses your device hardware sensors directly. However, you need to load the page initially while connected.
How accurate is an online compass compared to a real compass?
On a calibrated modern phone held flat and away from metal, an online compass is typically accurate to within 2-5 degrees, which is close to a hand-held baseplate compass. The bigger error is magnetic declination: the reading points to magnetic north, so you must add east declination or subtract west declination to get a true bearing. Check your local value with the NOAA NCEI magnetic field calculator.
How do I convert an online compass reading to true north?
Use true bearing = magnetic bearing + east declination, or magnetic bearing - west declination. For example, a 90 degree reading in Seattle (about 15.5 degrees east in 2026) is a true bearing near 105.5 degrees, while the same reading in New York (about 12.8 degrees west) is near 77.2 degrees. Declination drifts slightly each year, so use a current figure rather than one printed on an old map.
Is there a live compass on my phone without an app?
Yes. Open this page in Safari or Chrome on your phone and the compass reads the phone sensor live in the browser. On iPhone tap Allow when Safari asks for Motion & Orientation access. Nothing is installed and no data leaves your phone.
Can this online compass show my GPS coordinates?
Yes. Tap Show my GPS coordinates and allow location access. The page shows your latitude and longitude in decimal degrees and in degrees, minutes and seconds, with a Copy button. The position is read once on your phone and is never uploaded.
Is a mobile compass in the browser as good as a compass app?
For heading it uses the same magnetometer a compass app uses, so after a figure-8 calibration the reading is the same. The browser version needs no install and no account. A dedicated app can add map layers; for direction, back bearings and coordinates this page covers it.
How do I put the online compass on my home screen?
On iPhone, open this page in Safari, tap Share, then Add to Home Screen. On Android, open it in Chrome, tap the three-dot menu, then Add to Home screen. The compass then opens from an icon like an app.