How to Calibrate the Gyroscope and Accelerometer on Your Phone
Published 2026-10-16 · Marion Phone Repair
Your phone sensors are not working correctly. The screen does not rotate when you turn the phone, maps show you facing the wrong direction, games that use tilt controls drift or respond inaccurately, augmented reality apps place objects in the wrong position, or the level tool in your compass app gives incorrect readings. These problems point to the gyroscope or accelerometer needing calibration — the sensors that detect your phone orientation and movement have drifted from their baseline and need to be reset.
Understanding the sensors
- Accelerometer: Measures acceleration forces including gravity. It detects which way is down (enabling auto-rotate), how fast you are moving, and sudden movements like shaking. When miscalibrated, auto-rotate works unreliably, step counters give wrong readings, and the phone may not detect its orientation correctly
- Gyroscope: Measures rotational movement — how the phone is turning and at what speed. It enables precise motion tracking for games, augmented reality, panoramic photos, and virtual reality headsets. When miscalibrated, tilt-controlled games drift in one direction, AR objects slide around, and VR experiences cause motion sickness due to inaccurate tracking
- Magnetometer (compass): Works with the gyroscope and accelerometer to determine which direction the phone is facing. When miscalibrated, maps show the wrong heading, compass apps give inaccurate readings, and navigation turn-by-turn instructions lag or point the wrong way
Calibrate the accelerometer
Android
- Some Android phones have a built-in accelerometer calibration tool. Check Settings, Motion or Sensors (location varies by manufacturer). Samsung phones may have it under Settings, Advanced Features, Motions and Gestures. If a calibration option exists, follow the on-screen prompts — typically placing the phone flat on a level surface and tapping calibrate
- If no built-in calibration exists, download a sensor calibration app from the Play Store (such as Accelerometer Calibration Free). Place the phone on a flat, level surface (a table works). Open the app and tap Calibrate. The app reads the current sensor values and sets the flat position as the zero reference point
- After calibrating, test by rotating the phone between portrait and landscape. Auto-rotate should respond within a second or two of turning the phone past approximately 45 degrees
iPhone
- iPhones do not have a user-accessible accelerometer calibration tool. The sensors are factory-calibrated and self-calibrate during normal use. If the accelerometer is significantly off, a restart often resets the sensor baseline
- If auto-rotate is not working on iPhone, first check that Portrait Orientation Lock is not enabled — swipe to open Control Center and verify the lock icon (padlock with a circular arrow) is not active. This is the most common reason auto-rotate appears broken on iPhone and has nothing to do with sensor calibration
Calibrate the gyroscope
- Figure-eight method: Open a compass app or Google Maps. Hold the phone in front of you and move it in a figure-eight pattern — tracing a smooth sideways 8 shape in the air. Do this three to five times. This movement exercises the gyroscope across all three axes and triggers the automatic recalibration routine built into the phone sensor firmware
- Slow rotation method: Hold the phone flat and slowly rotate it 360 degrees. Then hold it upright and slowly rotate 360 degrees. Then hold it on its side and rotate 360 degrees. This covers all three rotational axes and gives the sensor fusion algorithm enough data to recalibrate
- Restart: If the figure-eight and rotation methods do not fix the drift, restart the phone. The gyroscope zeroes its baseline during the boot process. Persistent drift after a restart may indicate a hardware issue
Calibrate the compass
- The magnetometer (compass) drifts more frequently than other sensors because it is affected by nearby magnetic fields — cases with magnetic clasps, magnetic car mounts, speakers, and even metal tables can interfere with compass readings
- Android: Open Google Maps. When the blue location dot appears, tap it. If the compass needs calibration, Maps shows a calibration prompt. Follow the figure-eight motion as directed. Alternatively, some phones show a compass calibration option in Settings under Location
- iPhone: Open the built-in Compass app. If calibration is needed, a calibration screen appears automatically asking you to tilt the phone to roll the ball around the circle. Complete the full circle to calibrate. If the Compass app opens normally without a calibration prompt, the compass is currently within acceptable accuracy
- After calibrating, move away from any metal objects or electronics and check the compass heading against a known direction. If it is still significantly off, remove any magnetic phone case or accessory and recalibrate — magnetic cases are the most common cause of persistent compass inaccuracy
Test sensor accuracy
- Download a sensor testing app like Sensor Kinetics or Physics Toolbox Sensor Suite. These apps display real-time data from every sensor in your phone, allowing you to verify readings against known values
- Accelerometer test: Place the phone flat on a level surface. The Z-axis should read approximately 9.8 m/s squared (gravity). X and Y axes should read close to zero. Significant deviation from these values indicates calibration is off or the sensor has a hardware problem
- Gyroscope test: With the phone stationary on a flat surface, all three gyroscope axes should read close to zero (no rotation). If any axis shows a consistent non-zero value while the phone is still, the gyroscope has drift that calibration should fix
- Compass test: Compare the phone compass reading against a physical compass or a known landmark direction. The readings should agree within about 5 degrees. Larger deviation suggests magnetic interference or a need for recalibration
Common causes of sensor problems
- Magnetic cases and mounts: Magnetic phone cases, magnetic car mounts, and magnetic wallet attachments continuously expose the magnetometer to a strong magnetic field, causing persistent compass drift. Remove the magnetic accessory and recalibrate if compass accuracy matters for your use
- Software updates: Occasionally a system update changes how sensor data is processed, causing temporary calibration issues. A restart after an update usually resolves this as the sensors reinitialize with the new software
- Physical damage: A drop or impact can physically shift the sensor chip on the circuit board, causing permanently inaccurate readings that no amount of calibration will fix. If sensor problems started immediately after dropping the phone, the sensor hardware may need replacement
- Temperature extremes: Sensors can give inaccurate readings when the phone is very hot or very cold. If the phone has been in direct sunlight or extreme cold, let it return to normal temperature before calibrating
When calibration does not fix it
- If the gyroscope or accelerometer gives wildly inaccurate readings after calibration, or if sensor test apps show values that are completely wrong (accelerometer showing 15 m/s squared instead of 9.8 while flat, or gyroscope showing constant rotation while still), the sensor chip has a hardware failure
- Sensor chips are soldered to the main board. Replacement requires board-level repair or motherboard replacement depending on the phone model and the availability of replacement components
Sensor calibration help in Marion
If your phone sensors are giving inaccurate readings and calibration has not fixed the problem — maps point the wrong way, games drift, auto-rotate does not work, or AR apps malfunction — Marion Phone Repair can test all phone sensors, determine if the issue is software or hardware, and perform the repair needed to restore accurate sensor function.