A compass that points to true north, not just magnetic.
Real-time device heading with automatic declination, GPS coordinates, Qibla direction, and sun position — all in your browser. Nothing to install, nothing uploaded.
heading
Demo mode
Scan with your phone to open this page
https://accurateonlinecompass.com/
Calibration needed
true vs magnetic
Declination is computed automatically from the World Magnetic Model — see both headings at a glance.
privacy first
All sensor processing happens on-device. No accounts, no tracking, and nothing ever leaves your browser.
works everywhere
Chrome, Safari, and Firefox on iOS and Android, with a GPS heading fallback when you're moving.
the toolkit
One compass, every bearing you'll need.
Five focused tools, each on its own page, all running locally on your device.
compass
Live heading
Real-time 360° dial with a smooth needle, magnetic and true north, and live accuracy feedback.
location
GPS coordinates
Latitude, longitude, altitude, and accuracy in decimal and DMS — with copy, share, and open-in-Maps.
qibla
Direction to Makkah
Great-circle bearing and distance to the Kaaba from your coordinates, accurate to the degree.
bearing
Course calculator
Bearing and great-circle distance between any two points — perfect for navigation and route planning.
sun
Sun position
Solar azimuth and elevation right now, plus sunrise, solar noon, and sunset for any location.
No accounts. No trackers. Every calculation runs in your browser and is discarded the moment you leave.
how it works
Engineered for accuracy.
Your phone's magnetometer, gyroscope, and accelerometer feed a tilt-compensated heading engine, corrected against the World Magnetic Model.
Sensor fusion
Heading is derived from orientation and magnetometer data, smoothed in real time so the needle stays steady in your hand.
True north correction
Declination varies from −30° to +30° across the planet. We apply the World Magnetic Model so true north is exact, wherever you are.
Local by design
Coordinates, Qibla bearing, and solar calculations run entirely on your device. Your location never touches a server.
the free online compass
What is an online compass?
An online compass is a digital compass that runs directly in your web browser — no app to download, no install, and nothing to pay for. Open this page on your phone and, in a few seconds, you have a free online compass that shows your live heading in degrees, points toward north from wherever you are, and can even correct itself for the difference between magnetic north and true north.
Because it lives in the browser, it works exactly the same whether you are at home, in the field, or in a classroom. Just search "online compass" on Google, open this site, and your device's sensors take over. Unlike a traditional compass, this online compass uses your phone's magnetometer, gyroscope, and accelerometer together, which gives a more stable and reliable online compass direction than a needle that is always fighting gravity and drift.
Every tool on this site is designed to find north online and much more: a live heading readout in degrees, cardinal and intercardinal directions (N, NE, E, SE, S, SW, W, NW), a one-tap fullscreen mode, and an accuracy indicator so you always know how trustworthy the reading is. And because everything is processed locally, your location never leaves your device — a genuinely free online compass, not a data-harvesting one.
Online compass for geometry and math
An online compass tool is also a teaching aid. In geometry, a compass is used to draw circles and arcs and to measure distances; on this site, the online compass for geometry works with the math instead of the pencil. Measure the angle of any direction, convert between bearings and compass points, and use the bearing calculator to find the direction and great-circle distance between any two coordinates on Earth. It is the online compass math tool that turns abstract angles into a heading you can see on a dial.
Students can check their work against a real magnetic compass, and teachers can use the live dial to explain true north versus magnetic north with an example that moves as you turn the phone. This online compass free tool is used daily for simple tasks too — orienting a map, aligning a solar panel, or checking which way a room faces.
Online compass for Qibla — find the Kaaba from my location
This site includes a dedicated quibla finder online compass that computes the direction to the Kaaba in Mecca from your current coordinates. Wherever you are, the Qibla finder gives you a bearing in degrees and a compass direction, plus the great-circle distance to Makkah. For many travellers, the phrase they search for is "online compass kabba to find north from my location" — and this page answers it: locate yourself, read the Qibla bearing, then follow it on the live compass dial.
Because the online compass for Qibla runs entirely on your device, there is no server, no account, and no location stored anywhere. Enter coordinates manually, or grant one-time location access and the bearing is calculated instantly to within a fraction of a degree.
Why choose an online compass?
A physical compass is a wonderful instrument, but a digital online compass adds live accuracy: it shows not just north, but the exact degree of any heading, corrects for magnetic declination anywhere on Earth, and can be held in any orientation. This site's free online compass tool bundles that live compass with everything a navigator needs — GPS coordinates in decimal and DMS, the Qibla direction, a bearing calculator, and sun position for daytime orientation. It is fast, private, and ready whenever you need to find north.
calibration
Get the most accurate reading.
Phone magnetometers are sensitive to nearby metal and magnetic fields. A few seconds of calibration turns a drifting needle into a trustworthy heading.
- 01
Hold the phone flat
Keep the screen parallel to the ground, in your palm or on a stable surface.
- 02
Trace a figure-eight
Wave the phone gently in a figure-eight motion a few times, then hold still.
- 03
Move away from interference
Step away from laptops, phones, magnets, and metal tables before taking a reading.
- 04
Confirm with the sun
Use the sun position marker on the dial as an independent cross-check in daylight.
faq
Questions, answered.
Which direction am I facing — online compass?
Open this page on your phone and the live heading readout below the dial shows the exact degree and compass direction (N, NE, E, SE, S, SW, W, NW) you are facing, updated in real time as you turn.
Online compass — where is north?
The red end of the needle always points north, which reads 0°/360° at the top of the dial. Toggle to "True north" and the site corrects for magnetic declination at your location so north lines up with maps.
What direction am I facing — online compass?
Hold your phone flat, grant sensor access, and the heading below the dial tells you the direction you are facing both in degrees and as a compass point — for example 274° or W.
How to know direction without a compass online?
Use the sun: around local noon it sits due south in the northern hemisphere and due north in the southern hemisphere. This site's Sun tool shows the exact solar azimuth for any location, and the Qibla finder works as a fixed reference direction too.
What way am I facing — online compass?
Grant sensor access, hold the phone flat away from metal, and read the heading readout. It updates continuously as you rotate, so you always know which way you are facing.
How to use an online compass?
Open this page on a phone, tap "Enable live compass", hold the device flat, and read the heading. If the needle drifts, trace a figure-eight motion a few times to recalibrate the magnetometer.
Can I use my phone as a compass?
Yes. Modern phones contain a magnetometer, and this website turns that sensor into a compass right in your browser — no app to download and nothing to install.
Where is my compass in Google?
Google Maps shows a small compass at the top-right of the map view. For a live heading in degrees, just search "online compass" on Google and open this page — it becomes a compass the moment you grant sensor access.
Can my phone tell me what direction I'm facing?
Yes. Your phone's magnetometer combined with this page gives a live heading, and the site automatically corrects for magnetic declination so north matches your maps.
How to see a compass on mobile?
Open this page on your phone and the compass appears instantly — no app needed. On Android, Google Maps also includes a compass, and some phones ship a built-in compass app.
Which is my north direction?
True north is the geographic North Pole; magnetic north is where a compass needle points. The angle between the two (declination) varies by location, and this site corrects for it automatically.
Where is the compass on my phone?
Many phones do not ship a dedicated compass app — but the sensor is built in. Open this website on your phone and it becomes a compass with no install.
Which mobile phones have a compass sensor?
Virtually every modern smartphone — every iPhone since the iPhone 3GS and almost all Android phones — includes a magnetometer, so this online compass works on nearly any device.
Why does my heading jump around?
Nearby metal and electronics distort the magnetometer. Follow the calibration steps above, and make sure the phone is flat. Drift of a few degrees is normal indoors.
What's the difference between magnetic and true north?
Magnetic north is where your compass needle points. True north is the geographic North Pole, which is what maps and navigation use. The angle between them — the declination — varies by location, and this tool corrects for it automatically.
Why does it ask for my location?
Location lets us compute magnetic declination, Qibla bearing, and sun position with precision. It is optional — every tool works with manual coordinates too — and it never leaves your device.
Do you store or sell my location?
No. There are no trackers, no analytics, and no backend. All sensor and location data is processed locally in your browser and discarded when you leave.
ready when you are
Find your bearings.
Point your phone north, check your Qibla, or plot a course — all in one free tool.