Hot topics

How to calibrate the compass on your Android phone

androidpit google maps location tracking gps 02
© nextpit

It's happened to almost everyone. You're trying to find your way around, and the arrow in your navigation app doesn't point in the right direction, moves around arbitrarily or doesn't move at all. If you're having a hard time using your smartphone to tell the direction you're facing, your phone's compass needs to be recalibrated. In this article, we'll show you how to do it.

Jump to:

Calibrate the compass with Google Maps

Calibrating your phone's compass is actually easy. Assuming you have Google Maps (who doesn't?), open the app and follow these simple steps:

  • Tap the blue dot on Google Maps that indicates your location
  • Follow the instructions according to the diagram shown.
  • Presto! A new calibrated compass. The blue dot should now be facing the right direction.
Google Maps will help you calibrate your device's compass. / © NextPit

Do you find Google's diagram hard to follow? We've put together a video showing the motions:

How to calibrate the compass without Google Maps

This method involves using one of Android's secret dial codes to access the sensor information. Depending on your manufacturer however, it might not work, or require root. Nonetheless, if you don't want to use Google Maps or a 3rd party app, this is worth a shot.

Blue line? Check. Number 3? Check. A well-calibrated compass. / © NextPit
  1. On your phone dial on the telephone keypad *#0*# This brings up a "secret" service menu as shown above.
  2. You will see a list of tiles, tap one named "sensor"
  3. Now in real time you can see all the sensors on your phone, the compass is the circle at the bottom with a line through it pointing to north.
  4. If the compass on the phone is calibrated correctly the line going through the circle should be colored blue with a  number 3 next to it. 
  5. If you have a green line going through it and a number 2 this means it is not properly calibrated on one axis, so you need to do the figure 8 dance as described in the above method (preferably outside not near any magnetic fields).
  6. The check that the line going through the circle is now blue with number 3 next to it.

Third party apps

You can also install an app from the Play Store to tell you the status of your compass and other sensors, which will then help you know when to calibrate them. GPS Essentials, for example, does just this.

If you're still having trouble with your GPS, compass or navigation app, try our tips to improve GPS signal. Got any questions? Let us know in the comments!

The current best Samsung phones to buy

  Editor's choice S23 with a bigger display 2023 flagship 2023 foldable flagship 2022 fodlable flagship 2023 compact foldable 2022 compact foldable Affordable flagship The popular mid-ranger
Image Samsung Galaxy S23 Ultra Product Image Samsung Galaxy S23+ Product Image Samsung Galaxy S23 Product Image Samsung Galaxy Z Fold 5 Product Image Samsung Galaxy Z Fold 4 Product Image Samsung Galaxy Z Flip 5 Product Image Samsung Galaxy Z Flip 4 Product Image Samsung Galaxy S23 FE Product Image Samsung Galaxy A54 Product Image
Review: Samsung Galaxy S23 Ultra
Review: Samsung Galaxy S23+
Review: Samsung Galaxy S23
Review: Samsung Galaxy Z Fold 5
Review: Samsung Galaxy Z Fold 4
Review: Samsung Galaxy Z Flip 5
Review: Samsung Galaxy Z Flip 4
Not yet tested
Hands-on: Samsung Galaxy S23 FE
Review: Samsung Galaxy A54
  • $1,199.99
  • $999.99
  • $799.99
  • $1,799.99
  • $1,799.99
  • from $999.99
  • $999.99
  • $699.99
  • $449.99
Go to comment (12)
Brittany McGhee

Brittany McGhee

Brittany loves to keep up with the latest technology and innovation, so she is excited to have the opportunity to write about the wonderful world of Android. She thinks spreadsheets and numbers are fun, in addition to reading books and volunteering.

To the author profile
Liked this article? Share now!
Recommended articles
Latest articles
Push notification Next article
Write new comment:
All changes will be saved. No drafts are saved when editing
Write new comment:
All changes will be saved. No drafts are saved when editing

  • Lennart Borgman 1
    Lennart Borgman Jun 25, 2018 Link to comment

    The article doesn't even mention how to find out if your mobile has a built in compass. 😐

  • Walter Anthony Celi Vaca 1
    Walter Anthony Celi Vaca Mar 6, 2018 Link to comment

    Good advice you g

  • Dwarfer66 25
    Dwarfer66 Jan 22, 2018 Link to comment

    More rehashed articles, they all seem to be this lately.

    • 10
      Jay Viper Jan 23, 2018 Link to comment

      don't see any problem with this. any new Android user shouldn't have to dig through years of articles for something that still applies today

  • Billy Sargent 1
    Billy Sargent Jul 27, 2017 Link to comment

    This isn't useful for recalibrating. How do you deliberately calibrate the compass? This is just repeating the instructions the app gives! I did that then, I need to recalibrate NOW.

    • Hadif Nazhan 1
      Hadif Nazhan Oct 17, 2017 Link to comment

      Maybe by factory resetting the phone? I did that a few days ago to clear up the mess on my phone but I did not notice that it did reset the compass until I opened Google Maps and noticed that the blue arrow was pointing perfectly towards the direction of the the road because, few months before resetting it was pointing to the wrong direction... And this reset also applies to 3rd party compass apps; they finally showed the correct magnitude

  • 31
    Deactivated Account Apr 18, 2017 Link to comment

    lots of nice compass apps available, some also include extra info like sensor accuracy and status etc
    figure of eight works most of the time for calibration when it doesn't.. giving the device a couple of short sharp taps on my palm does.

    Brittany McGhee

    • Brittany McGhee 21
      Brittany McGhee Apr 18, 2017 Link to comment

      Thanks for the tip! We'll try that out next time to see if it works on some of our phones in the office.

  • Albin Foro 30
    Albin Foro Apr 17, 2017 Link to comment

    Article's a little confusing, in that the compass works on a magnetometer and doesn't need GPS or data radios activated to work with offline maps - though GPS can add latitude, longitude to functionality. I have a cute one (Marine Compass, PierroX) with a plug in that overlays direction through the camera view. I've always used 8 to calibrate, but knowing directionality from home it's easy to do a reality check before a trip that needs it.

  • Mark G. 28
    Mark G. Apr 17, 2017 Link to comment

    It is recommended that you calibrate your devices compass at least weekly, though I would suggest that if you are reliant on the compass that you calibrate it every time you leave a building or vehicle. (or any strong magnetic interference).

    I use the GPS app - GPS status which has great features and calibration tools.

    Remember that the compass in your device may not be the best, or will at least be affected by magnetic anomalies and interference so try and calibrate it in a open space.

    Peace 🖖🏼

  • 46
    Deactivated Account Apr 17, 2017 Link to comment

    Calibrate my boat's compass every year, it never occurred to me to calibrate my phones compass. I will do it now, good tips.

  • 10
    Jay Viper Apr 17, 2017 Link to comment

    great tip! now I know what to do next time

    Brittany McGhee

Write new comment:
All changes will be saved. No drafts are saved when editing