Skip to content
QUEST · LV.12

Compass Test

Find out whether your phone’s magnetic sensor gives a steady heading. Turn once in a full circle to check all four directions, and calibrate with a figure-eight if it’s off.

Runs in your browser · Nothing uploadedFree · No install

Compass Test

Hold the phone flat and turn slowly in a full circle.

On iPhone and iPad, tap “Allow” when asked. If you denied it, Safari won’t ask again: clear this site’s data in Settings or restart Safari, then reopen the page.

—

Accuracy
—
Source
—
  • N–E·
  • E–S·
  • S–W·
  • W–N·

Heading jumps or points the wrong way? Move away from metal and magnets, then draw a large figure-eight in the air 3–4 times.

Phones show magnetic north. True (map) north can differ by a few degrees depending on where you are.

Result

Waiting

Waiting for you to start the test.

How to use

  1. 1Tap “Start sensor test” and allow motion access if asked.
  2. 2Hold the phone flat and turn slowly in a full circle.
  3. 3If the heading jumps or the page asks for it, draw a figure-eight in the air a few times.

Troubleshooting guide

The FreeComTools mascot drawing a figure-eight in the air with a smartphone above a large compass rose

What this compass test checks

  • Heading from 0 to 360° with the direction (N, NE, E …), corrected for the screen rotation.
  • Full-turn check: the test passes once the heading has passed through all four quarters (N–E, E–S, S–W, W–N).
  • Accuracy on iPhone: Safari reports how many degrees the heading may be off. More than ±25° means the compass needs calibrating.
  • The page never asks for your location — the compass works from the magnetic sensor alone.

Compass wrong or jumping? Try these in order

  1. Move away from metal tables, cars, speakers, laptops and magnetic cases or mounts.
  2. Calibrate: hold the phone and draw a large figure-eight in the air 3–4 times, rotating your wrist.
  3. Restart the phone and test again outdoors or near a window.
  4. iPhone: Settings → Privacy & Security → Location Services → System Services → Compass Calibration should be on. Android: Google Maps’ blue-dot calibration also helps.
  5. If the heading stays far off everywhere, the magnetometer may be magnetised or damaged and needs a service check.

Android, iPhone and what the web can’t see

  • iPhone gives the heading through Safari’s own compass value after you allow motion access. If you denied it, Safari won’t ask again until you clear this site’s data or restart Safari.
  • Android Chrome and Samsung Internet use the absolute orientation event, which needs no prompt but can be blocked under Site settings → Motion sensors.
  • The Generic Sensor API (Magnetometer) isn’t available on iPhone and is behind a flag on most Android browsers, so the test uses orientation events instead.
  • Phones show magnetic north. True north on maps differs by the local magnetic declination (a few degrees in most places). Proximity and ambient-light sensors aren’t exposed to the web at all.

Your privacy

The heading is calculated in your browser’s memory and never saved or sent. No location permission is requested. Revoke motion access in Safari’s website settings (iPhone) or Chrome’s Site settings (Android).

Frequently asked questions

How do I calibrate my phone’s compass?

Move away from metal and magnets, then draw a large figure-eight in the air with the phone 3–4 times. On iPhone keep Compass Calibration on in the Location Services system settings.

Why does it say there is no compass?

Some browsers only give relative tilt, not an absolute direction. Try Chrome or Samsung Internet on Android, or Safari on iPhone.

Why does my compass differ from a map?

The phone points to magnetic north, maps to true north. The difference (declination) depends on where you are, and metal nearby can add more.

Does the compass test need my location?

No. It only reads the motion and magnetic sensors in your browser; location stays off.

All 29 smartphone tests →