Home › Tools › Online Compass

Free · best on a phone

Online Compass

Hold your phone flat to see which way it is pointing, in degrees and compass direction.

—

Tap Start, then hold your phone flat.

How it works

Phones carry a magnetometer, a tiny sensor that measures the Earth's magnetic field, along with an accelerometer and gyroscope that tell which way the phone is tilted. The phone combines them into a heading and shares it with the browser. This page displays that heading in degrees and as one of the main compass points.

DirectionDegrees
North (N)0° (or 360°)
Northeast (NE)45°
East (E)90°
Southeast (SE)135°
South (S)180°
Southwest (SW)225°
West (W)270°
Northwest (NW)315°

iPhone, Android and desktop

  • iPhone and iPad: tap the start button and allow motion and orientation access when Safari asks. Without that tap, the browser gives the page no sensor data.
  • Android: most phones with Chrome work straight away.
  • Desktop and laptop: usually no compass sensor, so no reading.

Magnetic north vs true north

A magnetic compass points to magnetic north, which is not the geographic North Pole. The angle between the two is the magnetic declination, and it depends on where you are. In the contiguous US it is close to zero along a line through the middle of the country and grows to more than 10 degrees in the Pacific Northwest and in New England, in opposite directions. In Alaska it is larger still. It also drifts slowly over the years.

Some phones correct for declination and report a true-north heading when they know your location; others report magnetic north. This page shows the heading your device reports, without further correction. For map and compass navigation, where a few degrees matter, look up the current declination for your area from NOAA and use a proper baseplate compass.

Calibration and interference

If the heading jumps, lags or is clearly wrong, recalibrate: hold the phone and trace a slow figure-eight in the air several times, turning the phone as you go. Then check your surroundings. Steel beams, car bodies, rebar in concrete, magnets in phone cases and mounts, speakers and laptops all bend the local magnetic field. Indoors and in vehicles, readings can be off by tens of degrees. Outdoors, a step or two away from metal usually fixes it.

Hold the phone flat for the best result. Tilting it far from level makes the reading less reliable on many devices.

Related tools

To get the coordinates of where you are standing, use what are my coordinates. To find the bearing from one place to another, use distance between addresses, which gives the initial heading in degrees from true north.

Questions

How do I use my phone as a compass?

Open this page on your phone, tap the button to start, and hold the phone flat. The top edge of the phone is the pointer; the readout shows its heading in degrees and as a compass direction.

Why does it ask for permission on iPhone?

Safari on iPhone and iPad only shares motion and orientation sensor data after you tap a button and allow it. If you denied it, close and reopen the tab to be asked again.

Why does the compass not work on my laptop?

Most laptops and desktop computers have no magnetometer, the sensor a compass needs. Use a phone or tablet instead.

What direction am I facing?

Hold the phone flat with the top edge pointing straight ahead of you. The heading shown is the direction you are facing: 0° is north, 90° east, 180° south and 270° west.

How do I calibrate my phone compass?

Move the phone slowly in a figure-eight pattern a few times, rotating it as you go. Step away from metal and electronics first. Most phones recalibrate on their own after this.

Is this compass accurate?

Phone compasses are usually within a few degrees when calibrated and away from interference. Near steel, magnets, speakers or inside a car they can be off by tens of degrees.

Does this point to true north or magnetic north?

It shows the heading your device reports. Depending on the phone and whether location services are on, that may be referenced to magnetic north or adjusted to true north.

Boundaries: US Census Bureau TIGER/Line 2026 and cartographic boundary files. Time zones: timezone-boundary-builder 2026f (© OpenStreetMap contributors, ODbL). Elevation: AWS Terrain Tiles (USGS 3DEP, SRTM). Last checked 2026-11-18. How it works · Sources