Skip to article
KeyboardTester.click

Blog categories

Player holding a phone sideways with both hands during a mobile game that uses the accelerometer and gyroscope

Accelerometer vs Gyroscope: What's the Difference? (Test Both in Your Browser)

Compare acceleration and rotation, read your phone’s X/Y/Z and orientation values, and work through auto-rotate settings.

← All Posts

Published · Last updated

Fast Answer

The browser distinguishes acceleration from accelerationIncludingGravity. At rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation. The KBT readout prefers accelerationIncludingGravity and falls back to acceleration, so first identify which signal is available. A moving cube shows that orientation data reached this page; it does not prove a physical gyroscope exists, certify a chip, or isolate a gyroscope fault.

I start with the browser readout, then check the exact model’s sensor specification before calling it a hardware fault.

This guide is phone-first and practical. It explains the difference in plain terms, lets you test both sensors live in the browser without installing any app, shows what each sensor powers in daily use, and walks through a step-by-step fix list for the classic "accelerometer not working" and broken auto-rotate cases on Android and iPhone.

What each sensor actually measures

The browser distinguishes acceleration from accelerationIncludingGravity. At rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation. The KBT readout prefers accelerationIncludingGravity and falls back to acceleration, so first identify which signal is available.

The gyroscope measures rotation rate, also called angular velocity, around the same three axes, usually in degrees or radians per second. A stationary gyroscope reads about zero no matter how the phone is oriented; only rotation moves the numbers. That makes it the sensor for fast, precise turning: gyro aiming, panning a 360° photo, or keeping AR objects locked in place while you move.

Alpha, beta and gamma are browser orientation angles, potentially derived from fused sensor data. A moving cube shows that orientation data reached this page; it does not prove a physical gyroscope exists, certify a chip, or isolate a gyroscope fault.

  • At rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation.
  • Gyroscope: angular velocity, in deg/s or rad/s. Answers "how fast am I rotating around each axis?"
  • Alone, each is flawed: accelerometer-only orientation is jittery; gyroscope-only orientation drifts over time.
  • The magnetometer is the third sibling: it reads compass heading and is often confused with the gyroscope.

Accelerometer vs gyroscope at a glance

Five rows cover ninety percent of the practical difference. Both links open live tests, so you can verify each row on your own phone as you read.

AccelerometerGyroscope
MeasuresLinear acceleration + gravity (m/s²)Rotation rate around X/Y/Z (deg/s or rad/s)
Reads when the phone is stillAt rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation.About 0 on all axes
Typical jobsAuto-rotate, step counting, shake detection, lift-to-wakeGyro aiming, AR/VR tracking, video stabilization, panorama
WeaknessJittery orientation on its ownDrifts over time without a reference
Browser checkLive X/Y/Z accelerometer readoutAlpha/beta/gamma rotation test

Test your accelerometer now (60 seconds)

Open the live accelerometer test online on your phone. On iOS 13 and later, Safari asks for motion access after you tap Start, and you must tap Allow. On most Android browsers the readout begins as soon as you interact with the page.

The browser distinguishes acceleration from accelerationIncludingGravity. At rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation. The KBT readout prefers accelerationIncludingGravity and falls back to acceleration, so first identify which signal is available.

No events, null values or frozen readings can result from permissions, browser support, an inactive page or unexposed sensor data. Check the exact model’s official sensor list and native diagnostics before drawing a hardware conclusion.

Hand resting on a smartphone lying flat on a wooden table before a flat-surface accelerometer check
At rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation.

Test your gyroscope now

Alpha, beta and gamma are browser orientation angles, potentially derived from fused sensor data. A moving cube shows that orientation data reached this page; it does not prove a physical gyroscope exists, certify a chip, or isolate a gyroscope fault.

No events, null values or frozen readings can result from permissions, browser support, an inactive page or unexposed sensor data. Check the exact model’s official sensor list and native diagnostics before drawing a hardware conclusion. Does my phone have a gyroscope?

What each sensor powers on your phone

The accelerometer handles the everyday, low-drama jobs: flipping the screen between portrait and landscape, counting steps, waking the screen when you lift the phone, detecting falls and crashes, and reacting to shake gestures. The gyroscope takes over whenever rotation must be tracked quickly and precisely: gyro aiming in PUBG Mobile, CODM, and shooter games, anchoring AR content in Pokemon GO, stabilizing video, and stitching panoramas.

For mobile gamers the split is worth remembering: aim quality with motion controls is a gyroscope story, not an accelerometer one. Claw-grip players should also confirm how many fingers the screen tracks at once, because a motion sensor cannot compensate for missed touch points.

  • Auto-rotate: accelerometer (gravity direction decides portrait vs landscape).
  • Step counting: accelerometer, often through a low-power co-processor.
  • Gyro aim in shooters: gyroscope (rotation rate maps to crosshair movement).
  • AR and VR tracking: gyroscope and accelerometer fused together.
  • Video stabilization and panorama: gyroscope.
Person playing a mobile game on a smartphone, the kind of session where motion sensors and the touchscreen work together
Taps land on the touchscreen, but tilt and motion aim rely on the accelerometer and gyroscope underneath.

Accelerometer not working? Fix auto-rotate step by step

No events, null values or frozen readings can result from permissions, browser support, an inactive page or unexposed sensor data. Check the exact model’s official sensor list and native diagnostics before drawing a hardware conclusion.

  • 1. Check the rotation lock. On Android, open Quick Settings and make sure Auto-rotate is on. On iPhone, open Control Center and check that Portrait Orientation Lock is off. Remember that many apps force portrait mode by design.
  • 2.
  • A figure-eight motion is commonly associated with compass guidance, not a universal accelerometer calibration. Follow the manufacturer’s instructions for your exact model; the page’s zero-reference control only changes the displayed reference.
  • 4. Try safe mode (Android). Safe mode disables third-party apps. If auto-rotate works there, a recently installed app is interfering; uninstall the newest candidates.
  • Check the exact model’s official sensor list and native diagnostics before drawing a hardware conclusion.
  • Check the exact model’s official sensor list and native diagnostics before drawing a hardware conclusion.

I start with the browser readout, then check the exact model’s sensor specification before calling it a hardware fault. Touch screen test · Ghost touch test online

Puzzled man holding a tablet sideways while the screen refuses to rotate
I start with the browser readout, then check the exact model’s sensor specification before calling it a hardware fault.

Why your phone needs both: sensor fusion

Neither sensor is good enough alone. The accelerometer gives a reliable long-term reference, because gravity always points down, but it is noisy from moment to moment: walk with the phone and raw tilt jumps around. The gyroscope is beautifully smooth over short intervals but drifts over time, because small rate errors accumulate. Phones therefore fuse the two, adding the magnetometer for compass heading, into one stable orientation estimate. The alpha, beta, and gamma values a browser reports are that fused output, not raw gyroscope data.

No events, null values or frozen readings can result from permissions, browser support, an inactive page or unexposed sensor data. Check the exact model’s official sensor list and native diagnostics before drawing a hardware conclusion.

Test the full motion stack

Each tool below runs in the browser on the phone you are diagnosing, with no app install. Together they cover motion input, rotation, haptic output, and the touchscreen.

Related phone guides

Video: the difference in three minutes

This short explainer is a good recap after the hands-on tests: it walks through what each MEMS sensor measures and where each one is used.

A concise engineering overview of what accelerometers and gyroscopes measure and how devices use each sensor.

Sources and research notes

The sensor behavior described above is based on platform documentation and vendor guides, plus community threads used only to reflect how real users describe these failures.

FAQ

  • Does every phone have an accelerometer?

    Virtually every smartphone from the last decade has one, because auto-rotate, screen wake, and step counting depend on it. The gyroscope is the sensor that some budget phones leave out.

  • Can auto-rotate work without a gyroscope?

    Yes. Auto-rotate only needs the direction of gravity, which the accelerometer provides. A phone without a gyroscope rotates its screen normally but struggles with gyro aiming, AR, and 360-degree video.

  • Which sensor does gyro aiming use in PUBG or CODM?

    The gyroscope. Motion aim maps rotation rate to crosshair movement, which needs fast angular-velocity data. The accelerometer only contributes tilt and stability information through sensor fusion.

  • Why does my accelerometer read 9.8 m/s2 when the phone is still?

    The browser distinguishes acceleration from accelerationIncludingGravity. At rest, gravity-removed acceleration can be near zero, while the gravity-including vector has a magnitude near 9.8 m/s²; the axis and sign depend on orientation and implementation. The KBT readout prefers accelerationIncludingGravity and falls back to acceleration, so first identify which signal is available.

  • How do I calibrate the accelerometer on Android?

    A figure-eight motion is commonly associated with compass guidance, not a universal accelerometer calibration. Follow the manufacturer’s instructions for your exact model; the page’s zero-reference control only changes the displayed reference.

  • Do iPhones have both sensors?

    Yes. Every iPhone has an accelerometer, and every model since the iPhone 4 in 2010 also has a gyroscope. On iOS 13 and later, browser motion tests additionally need a one-tap motion permission.

  • Is the gyroscope the same as the compass?

    No. The compass is the magnetometer, which senses magnetic heading. The gyroscope senses rotation rate. The browser alpha value blends both, which is why it misbehaves near magnets while beta and gamma stay clean.

You now know which sensor does what. Prove it on your own phone: run the accelerometer check flat on a table, follow with the gyroscope rotation test, and if a reading is off, work through the fix list above before paying for a repair.

Reader discussion

Comments

Share what worked, what did not, or what you would test next. Every comment is reviewed before it appears.

Loading…

Loading approved comments…

Leave a comment

No account or sign-in is required. Links and HTML are not accepted.

Used for moderation; never shown publicly. Newsletter emails require the separate choice below.
0/1000

Protected by Cloudflare Turnstile. Verification loads only when this section is nearby.

By commenting, you agree to our privacy policy.

Windows app

KeyboardTester.click is available from Microsoft Store

Install the official Windows app shortcut, or keep using the same free testing tools in your browser.

Download from Microsoft Store Download from Microsoft Store