Gyroscope Test: Gyro Sensor, Accelerometer & Compass

Test the motion sensors in your phone or tablet: a bubble level on the accelerometer, an axis check, a compass sweep and a gyroscope drift test.

Waiting for the first reading

Pick up the device and move it. A sensor counts only after it sends a reading: browsers expose the same events on desktops with no sensors and fill them with nulls.

No accelerometer reading yet

The bubble level needs the accelerometer. Move the device or check that motion access is allowed above.

Open this page on the device you want to test. Desktop computers don't have these sensors.

How to Test Your Phone's Sensors

Phone motion sensing uses three separate chips: an accelerometer senses gravity, a gyroscope senses rotation, and a magnetometer senses the earth's magnetic field. Each can fail on its own, so each is checked separately above.

Accelerometer, gyroscope, magnetometer

The accelerometer measures force; at rest that's gravity, so the phone knows which way is up. That alone is enough for screen rotation and step counting. The gyroscope measures rotation and reacts within milliseconds, so it handles fast camera pans and head movement in VR. The magnetometer measures the earth's field and gives the other two a north. Budget phones often have only an accelerometer; when a game says your device is unsupported, the gyroscope is usually what's missing.

Why a bubble level can be wrong

Every accelerometer has a small built-in offset, and the phone subtracts a factory value for it. After a drop or a screen replacement the sensor can shift relative to the housing, and the correction no longer matches. The level then reads a degree or two off on a flat surface. One reading can't show this; turning the device 180° can, and the check above does that.

Gyroscope drift

A gyroscope at rest reports a small rotation, and the phone keeps subtracting it. When that offset grows with age, heat or a knock, the correction falls behind: a game camera creeps, a compass turns while the phone lies still, a VR view slowly rotates. 20 seconds of rest is enough to measure it.

Most compass faults are interference

A magnetometer measures a weak field, about half a gauss, so nearby objects easily overpower it: a magnetic case clasp, a car mount, a speaker, a laptop lid, steel in the floor. Most compass problems are interference. The figure-eight gesture in map apps makes the phone recalibrate. A heading that jumps instead of turning smoothly points to a real fault, so the test above uses a full turn.

After a repair

The sensors sit on the mainboard but are calibrated against the housing. A screen or battery replacement, or a case that was opened, can shift them. After a repair, check all three: a level that reads off, a compass that keeps asking for calibration, and a gyroscope that drifts.

Why an iPhone asks first

Motion data can reveal what someone types and identify a device, so on iPhone and iPad a page must ask for it after a tap, over https. Chrome on Android doesn't ask, so the button appears only on Apple devices.

Testing the screen itself?
Check multi-touch, sweep the glass for dead zones and catch ghost touches.
Open the touch screen test
Using a stylus?
Check pen pressure, tilt, jitter and palm rejection right in the browser.
Open the stylus test

Frequently asked questions

Open Motion & axes and turn the device: the rotation bars respond if there's a gyroscope. Then run the drift test: leave the phone still for 20 seconds. A gyroscope that responds but drifts at rest is a common fault that spoils games, VR and stabilisation.
Probably not. Many budget phones and tablets have only an accelerometer: enough for screen rotation and step counting, not for VR or gyro games. If the device used to have one, try another browser: Firefox and some in-app browsers pass on fewer sensors.
Run the two-position check first: a sloped table is more common than a faulty sensor. If the offset stays, restart the phone lying flat, which makes most systems recalibrate; some Android makers also offer sensor calibration in a diagnostics app. Beyond that it needs hardware calibration, which no web page can do.
The magnetometer calibrates from readings in different directions and loses that near magnets or metal: a case clasp, a car mount, a speaker, a metal desk. Move away from them and wave the phone in a figure eight. If it keeps asking, suspect the case first.
Desktops have no motion sensors, and only a few convertible laptops do. Browsers still expose the events but fill them with nulls, so this page waits for a real reading. Open it on a phone.
Motion data can reveal typing and identify a device, so WebKit makes a page ask after a tap, over https. Chrome on Android allows it without asking. The permission survives a reload, but if you refuse, re-enable it in Settings › Apps › Safari › Motion & Orientation Access.
No, no web page can. Browsers removed the proximity sensor years ago, and the ambient light sensor is behind a Chrome flag that's off by default. Both are listed in the Sensor support panel as unavailable.
Yes. It runs in your browser with nothing to install, and no sensor readings are sent or stored. It works on iPhone, Android phones and tablets.