How to Calibrate Your Phone Compass

By Ethan · Published November 27, 2026 · 4 min read

Your phone does not contain a needle. It has a tiny magnetometer chip that senses the Earth's magnetic field, and that chip is easily confused by anything magnetic nearby.

The short answer

To calibrate a phone compass, move the phone slowly in a figure-8 pattern three or four times, tilting it as you go, away from metal and electronics. If it still points wrong, remove magnetic cases and accessories and try again outdoors.

Why phone compasses go wrong

  • Magnetic cases and mounts. Wallet cases with magnetic clasps and magnetic car mounts are the most common cause.
  • Metal and electronics nearby. Laptops, speakers, steel desks, car dashboards and reinforced concrete all bend the reading.
  • Not calibrated. The chip needs a fresh reference after a drop, a trip or time near strong magnets.
  • Tilt. Readings are best with the phone held flat.
Advertisement

How to calibrate, step by step

  1. Take off any magnetic case or accessory.
  2. Step away from cars, laptops and metal furniture. Outdoors is ideal.
  3. Hold the phone flat, then trace a large figure-8 in the air three or four times, rotating your wrist so the phone tilts in all directions.
  4. Open an online compass and check the heading against a known direction, such as a street you know runs north to south.

Magnetic north vs true north

A compass points to magnetic north, which is not quite the same as the geographic North Pole. The difference is called declination. Across India it is small, roughly 0 to 2 degrees, so it rarely matters for everyday use. In parts of North America and northern Europe it can exceed 10 degrees, which is enough to send a hiker the wrong way over a few kilometres.

How accurate can a phone compass be?

Calibrated and held flat in open space, a phone compass is usually within about 5 degrees. That is good enough for orientation, finding a direction for prayer, setting up a satellite dish roughly or reading a map. For precise surveying use a proper instrument.

Keeping the phone level helps: a bubble level shows when it is flat.

The takeaway

Most compass problems come from magnets, metal and missing calibration. Clear the area, do a figure-8, hold the phone flat, and expect accuracy within a few degrees.

Frequently asked questions

Why is my phone compass wrong?

Magnetic cases, nearby metal or electronics, and a lack of calibration are the usual causes.

How do I calibrate my compass on Android or iPhone?

Move the phone in a slow figure-8 three or four times, away from metal, until the heading settles.

Does a phone compass point to true north?

It senses magnetic north. Some apps correct to true north using your location.

Can I use a phone compass indoors?

Yes, but steel, wiring and electronics in buildings can throw it off by many degrees.

Written by Ethan

Ethan leads the tools and guides at Zpeedometer, building and testing free browser tools that use your phone's GPS and sensors. Spotted an error? Email contact@zpeedometer.com.

Recommended gear

Advertisement

Explore zpeedometer