Why Calibration Is Necessary

Your phone's magnetometer is sensitive to magnetic fields from its own internal components — the speaker magnets, battery, and other electronics. These create a constant magnetic offset called hard iron distortion. Calibration lets the sensor firmware measure and cancel this internal interference, leaving only Earth's magnetic field to compute direction from.

Calibration can drift over time, especially if you've been near strong magnetic fields or changed environments dramatically (moved from indoors to outdoors, traveled internationally, etc.).

The Figure-8 Method (Works on All Phones)

This is the universal calibration method. It works because moving through a complete figure-8 exposes all three axes of the magnetometer to the full range of magnetic field directions, giving the firmware enough data to solve for the offset correction.

  1. Hold your phone comfortably — face up or face forward, either way works. Move away from metal furniture and electronics.
  2. Slowly trace a figure-8 in the air with your phone. Make the loops large — roughly 30–40cm diameter each. Don't rush.
  3. Complete 3–5 full figure-8 cycles. Some phones complete calibration faster; you'll often see the compass stabilize mid-way through.
  4. Verify the reading. Point your phone toward a known direction (the sun rises in the East, sets in the West — easy daytime cross-check) and confirm the compass matches.

iPhone-Specific Calibration

iOS has a built-in calibration prompt in the Compass app — a ball-rolling animation where you tilt the phone to roll a ball around a ring. This effectively exposes all axes, similar to the figure-8 method. To force this:

Ensure Settings → Compass → Use True North is configured as you prefer. True North requires Location Services to apply the local declination correction.

Android-Specific Calibration

Android doesn't have a single universal calibration screen — it varies by manufacturer:

When Calibration Doesn't Help

If the compass remains inaccurate after multiple calibration attempts:

Tip: After calibrating, test your compass against the sunset/sunrise direction. The sun rises within a few degrees of East in most seasons, making it a convenient real-world reference.