Skip to main content
100% client-side. No sensor or calibration data leaves your device.

Online Compass

A free digital compass that runs right in your browser. See your heading in real time, find north, and orient yourself — no download, no account, no tracking.

Sensor Live100% client-side. No sensor or calibration data leaves your device.

Digital Compass

Tap Enable to grant magnetometer access and read your heading in real time.

Enable Compass

Authorize browser magnetometer access to receive live real-time heading.

000°
N (North)
0306090120150180210240270300330NESWNESESWNW
How to use the compass

Reading your heading and finding direction

Whether you need to find north on a hike or check which way a window faces, here is how the compass works and how to read it.

How to use the compass and read your heading

Hold your phone flat and tap "Enable Compass." Rotate slowly on the spot: the dial pivots in real time and the large digital readout shows your exact heading in degrees (0° to 359°).

The dial is built around the cardinal points: North (N) at 0° or 360°, East (E) at 90°, South (S) at 180°, and West (W) at 270°. When the indicator reads 0° and the letter N, the top of your device points north.

Magnetic North vs. True North

A compass can refer to two different reference points:

  • Magnetic North: the direction your phone's magnetometer detects from the Earth's magnetic field.
  • True North (geographic): the direction toward the geographic North Pole, where lines of longitude converge.

The gap between the two is called magnetic declination. The compass calculates this declination using the World Magnetic Model (WMM) and your approximate position, then lets you toggle between the two modes with a single tap.

Using on phone vs. computer

  • On phone or tablet: these devices have a built-in magnetometer. On iPhone (Safari), confirm the sensor-access prompt. On Android (Chrome, Firefox), access is usually granted automatically.
  • On desktop: without a physical magnetometer, live orientation is not available. You can drag the interactive dial to preview directions, or scan the QR code to open the compass on your phone.

Tips for better accuracy

  • Stay away from metal: keep the device clear of magnets, speakers, and magnetic phone cases.
  • Recalibrate if needed: if the heading seems stuck or offset, wave the phone in a figure-8 pattern to recalibrate the internal sensors.
  • Common uses: checking sun exposure of a room, aligning solar panels, or orienting a hiking map.
FAQ

Frequently asked questions

How do I use the online compass?
Open this page on your smartphone, hold the device flat, and tap "Enable Compass." Allow sensor access when the browser prompts you, then rotate slowly — the dial and heading update in real time as you turn.
How do I find north?
The compass dial is marked from 0° to 360°. North is at 0° (or 360°), East at 90°, South at 180°, and West at 270°. Rotate until the indicator points to 0° and the letter N — you are then facing north.
Can I use the compass on my phone?
Yes. On iPhone (Safari), tap the enable button and confirm sensor access when iOS asks. On Android (Chrome, Firefox), activation is usually automatic. Remove any magnetic-case accessories for best results.
Can I use the compass on a computer?
Desktop browsers typically lack a magnetometer. On a computer you can still drag the interactive dial to preview directions, or scan the QR code shown on screen to open the compass on your phone.
What do the degrees and heading mean?
The number shown (0°–359°) is your current heading — the direction the top of your device is pointing. 0° is north, 90° east, 180° south, 270° west. The compass also displays the corresponding cardinal direction (N, NE, E, etc.).
Does the compass need sensor permission or calibration?
On iOS 13 and later, Safari asks for permission before granting access to orientation sensors. On Android, access is usually granted automatically. No manual calibration is needed — if the heading seems off, try moving away from magnetic interference or metal objects.
What is the difference between Magnetic North and True North?
Magnetic North follows the Earth's magnetic field as detected by your phone's sensor. True North points toward the geographic North Pole. The compass can toggle between the two using the World Magnetic Model (WMM) to calculate declination for your approximate location.
100% client-side. No sensor or calibration data leaves your device.

No tracking pixels. No analytics. No account. Sensor data stays only in this browser tab.

Measurement suite

Tools in this suite

Pair the compass with other browser-based tools: check if a surface is level with the spirit level, measure slope angles with the inclinometer, calibrate a real-size screen ruler, or track the sun with the sun compass and moon position.

Measurement01

Online Ruler

Measure objects in centimeters, millimeters, and inches directly on your screen. Calibrate once for real-size physical measurement.

Measurement02

Online Spirit Level

Check if a surface is level directly in your browser. This digital spirit level reads your device's tilt sensors in real time, without installation.

Measurement03

Online Inclinometer

Measure the slope of any surface in degrees, grade percentage, rise/run ratio, and roof pitch — directly in your browser.

Celestial04

Sun Compass

See where the Sun is relative to where you're facing. Live solar azimuth, altitude, sunrise, sunset, solar noon, golden hour, and day length.

Celestial05

Moon Position

Where is the Moon in the sky right now? See its direction, altitude, phase, illumination, moonrise and moonset times, and upcoming lunar events.

100% client-side. No sensor or calibration data leaves your device.

What does not happen

No tracking pixels. No analytics. No account. Sensor data and your calibration stay only in this browser tab.