
Summarise this article with:
The 30-Second Fix
If your navigation arrow points the wrong direction, open Google Maps, tap the blue dot, and tap "Calibrate compass." Move your phone in a figure-8 pattern until the accuracy indicator reads "High." That takes about 15 seconds. On iPhone, the Compass app will prompt you with a rolling-ball screen when calibration is needed; tilt the phone to roll the ball all the way around the circle. Both fixes address heading, not position. If your blue dot is in the wrong place entirely, skip to the GPS section below.

What Compass Calibration Actually Does (and Does Not Do)
This is the most important thing to understand before you start: compass calibration fixes the direction your arrow points, not where you appear on the map.
Your phone has two separate systems for location:
- GPS (and Wi-Fi/cell positioning): Determines your coordinates. This is what places the blue dot on the map.
- Magnetometer (compass): Determines which way you are facing. This is what rotates the map and points the navigation arrow.
If your blue dot is two blocks off your real location, calibrating the compass will not fix that. If the arrow spins erratically or points 90 degrees wrong while your dot is in the right spot, compass calibration is exactly what you need.
Both sensors work together for walking navigation. GPS alone cannot determine facing direction when you are stationary or walking slowly, so the compass fills that gap.
Why the Figure-8 Works
Your phone's magnetometer is a three-axis chip that measures Earth's magnetic field along X, Y, and Z axes simultaneously. Over time, the phone's own internal components, including the battery, speakers, and motors, create a persistent magnetic offset called "hard iron distortion." Nearby metal objects and electronics add "soft iron distortion" on top of that.
The figure-8 motion works because it exposes all three axes to the full range of magnetic orientations, giving the calibration algorithm enough data to build a compensation matrix that cancels the phone's own magnetic signature. Simply waving the phone side to side would only cover one axis. The figure-8, done with wrist rotation, covers all three.
Tips for best results:
- Move slowly and deliberately
- Rotate your wrists so the phone tilts through multiple angles, not just left and right
- Do it in an open area away from metal furniture, speakers, and laptops
- If the first pass does not reach "High" accuracy, repeat
How to Calibrate on iPhone
Check that auto-calibration is on. Apple's iPhones calibrate the magnetometer automatically as you move, but the feature needs location data to do so. Confirm it is enabled:
- Open Settings
- Tap Privacy & Security > Location Services
- Scroll to the bottom and tap System Services
- Make sure Compass Calibration is toggled on
This toggle should stay on. Turning it off saves negligible battery and breaks heading accuracy in Maps and navigation apps.
When iPhone asks you to calibrate. If the compass needs attention, the Compass app shows a red ball and a circle on screen. Tilt your phone slowly to roll the ball all the way around the circle. Once the ball completes the loop, calibration is done. You can also trigger this manually by opening the Compass app and tilting the phone in various directions.
If the Compass app does not show a calibration prompt, do the figure-8 motion with your phone held flat, rotating your wrist so the face passes through vertical. In my testing, about three full figure-8s with wrist rotation is enough to tighten the heading on a recently uncalibrated device.
Reset Location and Privacy (last resort). If the compass remains erratic after calibration and you have ruled out magnetic interference:
- Go to Settings > General > Transfer or Reset iPhone
- Tap Reset > Reset Location and Privacy
This resets all location permissions (apps will ask again) and clears stored calibration data. Use it only if other steps fail.
How to Calibrate on Android
Via Google Maps (recommended). Google Maps gives you visual feedback on calibration quality, which makes it the easiest route:
- Open Google Maps
- Tap the blue dot showing your location
- Tap Calibrate compass (it may appear as a button at the bottom of the panel)
- Move your phone in a figure-8 pattern, rotating your wrist so the phone tilts through multiple orientations
- Continue until the on-screen indicator shows "Compass Accuracy: High"
- Tap Done
The blue beam around your dot should narrow noticeably once calibration succeeds.
Live View (urban areas). If you are outdoors with visible building fronts, Google Maps offers Live View calibration. The camera recognizes shopfronts and compares them against Street View data to correct both your position and orientation at once. To use it:
- Tap the blue dot
- Tap Calibrate > Calibrate with Live View
- Point your camera at nearby buildings or storefronts
- Hold steady until the app confirms your location and orientation
Live View is more accurate than the figure-8 alone in dense urban areas where GPS signals bounce between buildings.
Manual figure-8 (any app). Works independent of Google Maps:
- Hold your phone in front of you, screen facing up
- Trace a large, slow figure-8 in the air
- Rotate your wrists as you move so the phone tilts in different directions
- Repeat three to five times
What Actually Improves GPS Position Accuracy
Since compass calibration only helps heading, here is what genuinely improves where the dot appears on the map:
Enable High Accuracy mode (Android). This combines GPS satellites, Wi-Fi networks, Bluetooth beacons, and cellular towers. Go to Settings > Location > Location mode and select High accuracy. Using Wi-Fi and Bluetooth alongside GPS gives finer position fixes, especially indoors and in dense cities.
Keep Wi-Fi scanning on even when not connected. Android has a "Wi-Fi scanning" toggle under Settings > Location > Wi-Fi and Bluetooth scanning that allows location services to scan for nearby networks at any time. Google's database maps known router MAC addresses to physical locations, which can narrow your position significantly in urban areas.
Go outside or near a window. GPS satellites broadcast on frequencies that do not pass through concrete well. A clear sky view, even a few feet from a window, can shorten the time to lock and tighten the position circle.
Disable battery saver during navigation. Both Android's Battery Saver and iPhone's Low Power Mode reduce how often the GPS chip polls for a fix. On long drives or walks, turn off power-saving modes before you start navigating.
Check for a VPN. Before GPS locks, some apps fall back to IP-based location. If a VPN is active, that IP resolves to the VPN server's city, which can be hundreds of miles off. You can run a VPN leak test to see what location your traffic is revealing. See also: GPS vs. IP location, explained.
On iPhone, ensure Precise Location is on for Maps. Go to Settings > Privacy & Security > Location Services, tap Maps (or your navigation app), and confirm Precise Location is toggled on. Without it, the app receives only a rough city-level coordinate.
What Causes Compass Errors
The magnetometer is sensitive to anything that produces or distorts a magnetic field:
- Magnetic phone cases or wallet cases with card-holding magnets
- Phone mounts with magnetic attachments (very common car mounts)
- Nearby speakers, subwoofers, or home appliances
- Metal building structures (steel beams, escalators, elevators)
- Other electronics held close to the phone (laptops, tablets)
If your compass drifts consistently in a particular location but works fine elsewhere, look for a magnetic source in that environment. A magnetic car mount is the single most common culprit I see reported.
Testing That Calibration Worked
After calibrating, confirm it with a quick check:
- Step outside to a clear spot where you know which direction is north or east
- Open the Compass app (iPhone) or tap the compass icon in Google Maps (Android)
- Face a known direction. Sunrise is east; check which way the sun is rising to confirm
- The compass should match within a few degrees
Or check in navigation:
- Start walking in a straight line for about 15 feet
- The map should rotate and the arrow should consistently point your direction of travel
- On Google Maps, the blue beam around your dot should be narrow, not a wide cone
If the heading is still wrong after calibration, move away from any potential magnetic interference and repeat the figure-8. If it remains wrong after multiple attempts and locations, restart the phone. Hardware magnetometer failure is rare but does happen after physical damage or water exposure.
FAQ
Does compass calibration improve GPS accuracy?
No. Compass calibration only improves heading accuracy, meaning which direction the navigation arrow points. GPS accuracy, the position of your blue dot on the map, depends on satellite signal quality, Wi-Fi scanning, and whether High Accuracy mode is enabled. These are separate systems. Calibrating your compass when the blue dot is in the wrong place will not help.
How often should I calibrate my phone's compass?
Most modern iPhones calibrate automatically in the background as you move, so manual calibration is rarely needed. On Android, a quick figure-8 is worth doing if the arrow starts pointing wrong or after you have been near strong magnets (like a speaker or MRI machine). There is no benefit to doing it on a fixed schedule if the compass is reading correctly.
Why does my compass spin randomly indoors?
Indoor compass spinning is usually caused by magnetic interference from the building's steel structure, electrical wiring, appliances, or HVAC equipment. Moving outdoors or to a different room often resolves it immediately. If you need reliable heading indoors, devices that support PDR (pedestrian dead reckoning) using the accelerometer and gyroscope are more dependable in that environment.
My map direction is wrong but my position is correct. Is that a GPS problem?
No, that is a compass problem. When the blue dot is in the right location but the arrow or map rotation is wrong, the GPS is working fine and the magnetometer needs calibration. Follow the figure-8 steps above. If you are in a car moving at highway speed, GPS can derive heading from position changes alone, but at walking speed or while stationary, the phone relies on the compass.
Sources
- Use the Compass on iPhone - Apple Support
- Find and improve your location's accuracy in Google Maps - Google Support
- How to Calibrate Compass on iPhone - iPhone Life
- How to Calibrate the Compass on Android - How-To Geek
- Google Maps can now use Live View AR to calibrate location and orientation - XDA Developers
WhatIsMyLocation Team
Our team of network engineers and web developers builds and maintains 25+ free networking and location tools used by thousands of users every month. Every article is reviewed for technical accuracy using real-world testing with our own tools.
Related Articles
Try Our Location Tools
Find your IP address, GPS coordinates, and more with our free tools.