Gyroscope and Device Orientation Test Online
This online gyroscope test displays orientation data that a supported phone or tablet browser exposes. Rotate the device gently and watch the alpha, beta and gamma readings and visual model change. These orientation values may combine several sensors and browser estimates; they are not a direct laboratory measurement of raw gyroscope accuracy or a guaranteed compass heading.
Gyroscope vs. Accelerometer: What Is The Difference
An accelerometer measures linear acceleration — how fast the device is speeding up or slowing down in a given direction, including the 9.8 m/s² constantly pulling it down. A gyroscope measures angular velocity — how fast the device is rotating around each axis. Modern phones fuse both sensors (plus the magnetometer) to produce a stable orientation estimate. If you only had an accelerometer, orientation would jitter as you walked; if you only had a gyroscope, it would drift over time. Fusion gives you smooth, drift-free orientation, which is what DeviceOrientationEvent reports. If this test works but the Accelerometer Test does not (or vice versa), one of the two sensors has a specific hardware fault. For the full comparison, with a live test workflow for each sensor and an auto-rotate repair checklist, read accelerometer vs gyroscope: what's the difference.
Why Alpha Might Not Work Everywhere
Alpha requires a magnetometer (compass chip) in addition to the gyroscope, because true north must come from somewhere. Some phones, tablets, and most desktops do not have a magnetometer — on those devices alpha may report 0, drift continuously, or never update. Beta and gamma rely only on the gyroscope plus accelerometer and work on every phone made in the last decade. Strong nearby magnets (laptop lid, magnetic phone mount, speakers) also throw the magnetometer off, making alpha unreliable indoors. Moving the device away from magnets usually restores a sane compass reading within 2-3 seconds.
iOS Orientation Permission
Starting with iOS 13, Safari requires an explicit user-initiated grant before DeviceOrientationEvent fires. Our "Start" button calls DeviceOrientationEvent.requestPermission(), which is the only way to ask. If the cube stays still after tapping Start, check Settings → Safari → Motion & Orientation Access is enabled. Private browsing windows on iOS may block the permission dialog entirely — use a normal Safari window.
Does Your Phone Have a Gyroscope?
If you are using this page because PUBG, CODM, Pokemon GO AR, or auto-rotate is not responding, read the deeper guide: Does My Phone Have a Gyroscope?. It explains how to separate missing hardware from blocked motion permission, a magnetometer problem, and game-specific gyro settings.