Compass test

The compass test shows the heading the phone reports and marks 12 directions around a dial. Hold the phone flat and turn around once. If the heading follows you through the full circle, the magnetometer responds.

Updated:

How the test works

The page reads the compass heading and shows it in degrees, with an arrow that points north. The dial has 12 marks, one for every 30°. A mark turns yellow when the heading passes through it, and the step passes when all 12 are yellow.

To judge accuracy, compare with a direction you know, for example a street whose direction you can see on a map.

What a failure means when you buy

  • The heading does not change when you turn: the magnetometer is dead or a magnet sits next to it. In maps the arrow will not show which way you face.
  • The heading jumps or gets stuck in part of the circle: the sensor needs calibration or a magnet is close. Take off a magnetic case or the metal plate of a car mount and repeat.
  • No data: the phone has no magnetometer, or the browser does not share it.

What this test cannot show

Metal throws a compass off easily: a car, a steel table, a laptop, a magnetic case. So the test checks that the sensor responds through the whole circle and does not grade accuracy. If the heading looks wrong, move the phone in a figure of eight several times and repeat outdoors.

Questions

The heading is off by 20° or more. Is the compass broken?
Probably not. Move away from metal and electronics, take off the case and move the phone in a figure of eight. An error that stays large outdoors without a case points to a fault.
Does a magnetic case or a car mount harm the compass?
They do not damage the sensor, but while the magnet or the metal plate is on the phone the heading is wrong. Remove them for the test.
Why does the page say there is no compass data?
Some browsers do not give websites the compass heading, and some budget phones have no magnetometer. Open a maps app: if the arrow turns with you, the sensor works.
Does it show true north or magnetic north?
Magnetic north. The difference from true north depends on where you are and can reach 10° or more.
Nothing happens after I tap start on iPhone.
If you tapped "Cancel" on the motion question, Safari does not ask again in the same session. Close Safari completely, open the page again and tap "Allow".

Run the full 19 step check