Online Compass

Free online compass to find North, South, East, West, True North, live GPS coordinates, satellite map, and street address in your browser — no app needed.

0306090120150180210240270300330NSEWNESESWNW
N0°

Magnetic North

Latitude--
Longitude--
AltitudeN/A
Speed0 km/h

How to Use the Online Compass

01
01

Enable Location: Click 'Allow' when prompted to see True North.

02
02

Calibrate: Wave your phone in a figure-8 motion if the direction seems stuck.

03
03

Hold Flat: Keep your device parallel to the ground for best accuracy.

04
04

Open Live Map: Click the 🗺️ button to see your position on OpenStreetMap with a live heading beam.

05
05

Measure Distance: Click any point on the map to measure straight-line distance and compass bearing.

06
06

View Your Address: Your exact street address appears automatically below the GPS info cards.

▶ Video Tutorial: How to Use the Online Compass

What is an Online Compass?

🧲

Magnetometer

Uses your device's built-in magnetic sensor hardware.

🌐

No Install Needed

Works instantly in your browser without app downloads.

⚡

Real-time Data

Live orientation, GPS coordinates, and speed updates.

🌍

Global Access

Digital precision available anywhere on Earth.

Real vs. Online Compass

Traditional CompassOnline Compass
HardwareMagnetic NeedleDevice Magnetometer
FeaturesDirection OnlyDirection + GPS + Altitude
LightNeeds External LightBacklit High-Contrast Dial

Online Compass Troubleshooting & Sensor Guide

Important: Google Chrome has permanently removed the chrome://flags/#enable-generic-sensor and chrome://flags/#enable-generic-sensor-extra-classes flags. Many websites still show this old method, but it no longer works. Google has moved sensor controls to the main Chrome Settings. Here is the correct way to enable motion sensors in Chrome: Step 1 — Open Chrome on your phone, tap the three-dot menu (⋮) at the top right, and go to 'Settings'. Step 2 — Scroll down and tap 'Site settings' (under the 'Advanced' section). Step 3 — Tap 'Motion sensors' under Permissions. Step 4 — Make sure the toggle 'Sites can use motion sensors' is turned ON. After this, restart Chrome and the online compass will start working.
Go to Settings > Safari > Privacy & Security > Enable 'Motion & Orientation Access'. Then reopen Safari and visit the compass page. Tap 'Allow' when the browser asks for motion sensor permission.
Metal objects (phone cases, laptops, car engines, speakers) and electronics can disrupt the magnetometer sensor. Move at least 2 meters away from these objects for accurate readings. To calibrate your compass, hold your phone and slowly move it in a Figure-8 pattern 3–4 times. This resets the magnetometer and removes built-up magnetic interference.
Most laptops and desktop computers do NOT have a magnetometer (magnetic sensor). The online compass requires this hardware to detect Earth's magnetic field. For the best experience, use a modern smartphone (iPhone 6+ or Android 6.0+) instead.
The Generic Sensor API and Geolocation API only work on secure (HTTPS) connections. If you are testing on a local server or an HTTP website, the compass will not function. Online-Compass.com uses HTTPS by default, so this is handled automatically.
Free Sensor Tools

Specialized Online Compass & Navigation Tools

Accurate, browser-based utilities powered by your device's built-in magnetometer, GPS, and ambient sensors — 100% free with no app download required.

Learn & Explore

Popular Online Compass & Navigation Guides

N (Qibla)ESW
🕋Qibla Finder

The Ultimate Guide to Finding the Exact Qibla Direction Online Without Downloading an App

A technical, respectful 2026 guide on finding the exact Qibla direction from any location using Online-Compass.com — GPS, MEMS sensors, great circle trigonometry, and a 10-city Qibla bearing reference table.

Read Guide
ॐNESW
🕉️16 Vastu Zones

The Complete Guide to Vastu Shastra: How to Find the 16 Zones of Your Home Using an Online Compass

A step-by-step 2026 guide to mapping the 16 Vastu zones of your home using Online-Compass.com — covering Magnetic Declination, the Brahmasthan, room-by-room placements, and non-destructive Vastu Dosha remedies.

Read Guide
Pooja 🛕Kitchen 🍳Bedroom 🛏️Main Gate 🚪
🏡Home Vastu

Vastu Shastra for Home: How to Align Your Bedroom, Kitchen, and Pooja Room Using an Online Compass

A professional 2026 Vastu guide showing how to use Online-Compass.com to correctly position your bedroom, kitchen, and pooja room using True North, the 16-zone Mandala, and non-destructive remedies.

Read Guide
📱Live Phone Compass

Live Compass on Phone: How to Use a Digital Mobile Compass Without an App

Learn how modern mobile browsers process GPS and magnetometer data locally to provide a live working compass online—with zero app downloads required.

Read Guide
★ True North🧲 Magneticδ°
🌍True vs Magnetic

The Difference Between True North and Magnetic North (2026 Update)

Understand the key differences between True North and Magnetic North, how declination works, and why it affects real-world navigation.

Read Guide
NESW
🧭Ultimate Compass

The Ultimate Guide to Using an Online Compass for Directions

Learn everything about how an online compass works, how to use it in your browser, and the device requirements for accurate digital navigation.

Read Guide
Discovery

How to Use a Free Online Compass to Find North Direction

What is an Online Compass and How Has Navigation Evolved?

For thousands of years, navigation relied on a simple phenomenon: a magnetized needle floating in water or balanced on a pin would always point North. This was the era of the lodestone and the physical compass, tools that guided explorers across oceans.

Today, that same directional utility fits inside your smartphone, powered by MEMS (Micro-Electro-Mechanical Systems) sensors. Whether you are checking room directions with our Vastu Compass, locating Mecca with our Qibla Finder, or checking trail headings outdoors, a browser-based compass gives you live orientation readings directly from your phone's built-in hardware without installing an app.

How Does an Online Compass Work on Your Phone?

Unlike a traditional compass that uses a physical magnetic needle, your phone has no moving parts for navigation. Instead, it relies on a trio of sensors working together:

  • The Magnetometer: A tiny silicon sensor detects the intensity and direction of the Earth's magnetic field on three axes (X, Y, Z) by measuring the Hall Effect or magnetoresistance.
  • The Accelerometer: This sensor measures gravity. It tells the compass which way is 'down' and 'up', allowing it to compensate for tilt even when your phone is not completely level.
  • GPS & Geolocation: While not required for Magnetic North, GPS allows the tool to calculate True North. Using your exact latitude and longitude, the World Magnetic Model automatically corrects for Magnetic Declination—the angle between Magnetic North and the Geographic North Pole.
📡

🎯 Why Is My Compass Not Accurate? How to Calibrate Your Online Compass

Many users wonder why their online compass sometimes points in the wrong direction. The cause is usually Magnetic Interference. Because smartphone magnetometers are sensitive, nearby metal and electronics distort their readings.

  • Common Culprits: Metal phone cases, car engines, laptops, speakers, and reinforced steel inside walls can pull the heading off by 15° or more.
  • The Figure 8 Solution: To recalibrate, wave your phone slowly in a 'Figure 8' motion. This lets the magnetometer sample the ambient magnetic field from all angles so the operating system can identify constant hard-iron and soft-iron offsets and subtract them to isolate the Earth's magnetic field.

💡 What Can You Use an Online Compass For? (Vastu, Qibla, Photography & More)

Why use an Online Compass instead of a map app? Because sometimes you need live orientation, not just location.

  • Vastu Shastra & Feng Shui: Accurate directional alignment matters for room layout planning. Use our dedicated Vastu Compass to check the 16 Vastu zones and entrance degrees of your home.
  • Qibla Direction: For locating Mecca (Kaaba) from anywhere on Earth, our Qibla Finder computes the exact great-circle bearing from your GPS coordinates.
  • Driving, Cycling & Outdoor Tracking: Combine heading checks with our live GPS Speedometer to track real-time travel velocity in mph or km/h.
  • Photography & Solar Planning: Photographers check compass azimuths to predict sunrise and sunset angles, and pair them with our Online Light Meter to measure ambient lux before shooting.

Every tool runs directly inside your browser on iOS and Android with no app install, and the core magnetic compass works even offline.

🧭 What is the Difference Between True North and Magnetic North?

One of the most common questions about compasses is: Why doesn't my compass point to the 'real' North Pole? The answer lies in the difference between True North and Magnetic North.

  • Magnetic North: This is where a magnetic compass needle points. Earth's magnetic north pole shifts over time—as of 2026, it sits in the Arctic Ocean and drifts roughly 35 km per year toward Siberia according to the World Magnetic Model (WMM).
  • True North (Geographic North): This is the fixed geographic point where all lines of longitude meet at the top of the Earth, matching standard maps.
  • Magnetic Declination: The horizontal angle between True North and Magnetic North at your location. By convention, West declination is negative and East is positive. In New York, USA, it is about -13° (13° West); in Mumbai, India, it is close to 0°; and in London, UK, it is about +1.3° (1.3° East).

Our online compass uses your GPS coordinates and the World Magnetic Model to calculate local declination automatically so you can switch directly to True North.

When you enable GPS inside the compass interface, the True North toggle applies your local World Magnetic Model declination offset automatically—useful for Vastu layout checks, Qibla alignment, and map-based trail orientation where even a 10° declination error throws off your reading.

🔧 Online Compass Not Working? Here's How to Fix It (2026 Updated Guide)

If your dial is stuck at 0° or jumping erratically, check these three browser and hardware items first:

  • Chrome Android Permissions: Open Chrome → tap (⋮) → Settings → Site settings → Motion sensors → turn ON 'Sites can use motion sensors', then reload. (Google permanently removed the old chrome://flags/#enable-generic-sensor-extra-classes flag; use Settings instead.)
  • iPhone & iPad (Safari): Tap the blue Enable Compass Sensor (iOS) button above the dial and choose 'Allow'. If you previously denied access, clear Safari website data or check iOS Safari privacy settings.
  • Hardware & Interference Check: Step 2 meters away from magnets, metal phone mounts, or laptops and trace a slow Figure-8 three times. Desktop PCs and most laptops lack a magnetometer chip, so use a smartphone for live heading readings.

▶ Video Guide: Quick Fixes

📱 Does Online Compass Work on iPhone, Android, and Laptop?

This online compass works on any device with a built-in magnetometer sensor. Here's a quick compatibility summary:

  • ✅ Works Great: iPhone (all models), Android smartphones, iPad, Android tablets, and most smartwatches.
  • ⚠️ Limited Support: Some budget Android phones use lower-resolution magnetometers that require frequent Figure-8 calibration.
  • ❌ No Magnetometer Hardware: Most laptops and desktop computers do not contain a magnetic sensor, though you can still open the Live Map to measure distance and compass bearings between points.

For live heading rotation, use a modern smartphone in Safari (iOS) or Chrome (Android) with an up-to-date browser.

📅Last Updated: November 2026
P

Prakhar Gothi

Founder & Lead Developer, Online-Compass.com

Prakhar Gothi is a web developer focused on browser sensor APIs, GPS geolocation, and mobile web performance. He built Online-Compass.com so anyone with a smartphone browser can check Magnetic North, True North, live map bearings, and street addresses without installing native apps.

Connect on LinkedIn
🔬

How We Tested

Every tool on Online-Compass.com is rigorously tested on 40+ device models including Samsung Galaxy S21–S24, Google Pixel 6–8, iPhone 12–15, iPad, and various budget Android devices. We verify sensor accuracy against professional-grade navigation instruments and continuously update our calibration algorithms based on real-world field data.

🛡️

Why Trust Online-Compass.com?

All magnetometer and GPS sensor readings are processed 100% locally inside your browser — we never store or track your location history on our servers. Our declination calculations follow the NOAA World Magnetic Model (WMM), and our compass widget code is open for inspection so every reading stays transparent and private.

Frequently Asked Questions About Online Compass

Online Compass is a free web-based tool that works directly in your browser. It uses your device's built-in magnetometer sensor to display live magnetic and True North directions without requiring an app download.
It is highly accurate as it uses the same magnetic sensor hardware inside your phone that map apps use. For best results, calibrate your device by moving it in a figure-8 motion.
No! Online Compass works instantly in Chrome, Safari, and other modern mobile browsers without downloading or installing an app.
Open the compass, hold your phone flat, and turn until 'E' (90°) lines up with the fixed yellow pointer at the top of the dial — you are now facing exact East.
Hold your phone flat and rotate until the 'N' marker lines up with the fixed yellow triangle pointer at the top of the dial. That direction is North (0°). Behind you is South (180°), to your right is East (90°), and to your left is West (270°).
Ensure you have granted motion sensor permissions. For Android Chrome, go to Chrome Settings → Site settings → Motion sensors and turn it ON. (Note: The old chrome://flags method no longer works in 2026). Also, make sure you are not using a desktop PC, as most lack the necessary magnetic hardware.
Yes, the magnetic compass and your phone's GPS satellite coordinates (Latitude and Longitude) can work offline. However, loading Live Map tiles and fetching your street address require an internet connection.
Yes! Click the 'Open Live Map' button below the compass dial. You get both OpenStreetMap (street view) and Esri satellite imagery. A live 45° heading beam rotates in real-time showing your facing direction on the map.
Open the live map, then click any point on it. A dashed line appears from your location to the clicked point, showing the straight-line distance (in meters or km) and compass bearing (degrees and 16-point direction like NNE, SSW).
When you enable GPS location, the compass automatically fetches your exact street address using OpenStreetMap Nominatim reverse geocoding. Your road, neighborhood, city, state, and country appear in a card below the GPS coordinates. Click the Copy Address button to copy it to your clipboard.
Online Compass - Featured on Startup Fame