Gyroscope vs Accelerometer: What Each Sensor Does

Your phone knows when you turn it sideways, count your steps and steer a racing game by tilting. Two small motion sensors do most of that work: the accelerometer and the gyroscope. They sound alike and often sit on the same chip, but they measure different things. Here is the difference, why phones need both, and how to check which ones your phone has.

The short answer

  • The accelerometer measures acceleration, including gravity. It knows which way is down and when the phone is shaken or moved.
  • The gyroscope measures how fast the phone rotates, in degrees per second, around three axes. It cannot tell which way is down on its own.
  • Phones combine both (plus the compass) to get smooth, fast and stable orientation. Auto-rotate and step counting need only the accelerometer; AR, VR, 360 photos and fast motion games need the gyroscope.
  • Every iPhone since the iPhone 4 has both. Some budget Android phones have no gyroscope; the phone sensor test shows which you have.

What the accelerometer measures

An accelerometer measures acceleration along three axes: left to right across the screen (X), bottom to top (Y) and out of the screen (Z). Inside the chip is a tiny mass on springs, etched into silicon. When the phone speeds up, slows down or is pushed, the mass lags behind and the chip measures how far it moved.

Gravity pulls on that mass too, all the time. So a phone lying still on a table reads about 9.81 m/s² on the Z axis, which is 1 g. That constant pull is what makes the accelerometer useful: it always knows which way is down. Tilt the phone and gravity shifts from one axis to another, which is how the phone knows it is in landscape.

The weakness is that it cannot tell gravity from movement. When you turn quickly or ride in a car going round a corner, the extra acceleration mixes with gravity and the tilt reading wobbles. You can see this in the accelerometer test: shake the phone and the lines jump far beyond 9.81.

What the gyroscope measures

A gyroscope measures rotation speed: how many degrees per second the phone is turning around each of the same three axes. Phone gyroscopes are MEMS chips with a vibrating structure. When the phone rotates, the Coriolis effect pushes the vibrating part sideways and the chip measures that push.

A gyroscope reacts instantly and smoothly to turning, and it ignores gravity and straight-line movement. That makes it ideal for fast, precise rotation. Its weakness is drift: it measures change, not position, so to know the phone's angle the software adds up the rotation over time, and tiny errors build up. Left alone, a gyroscope-only view slowly turns by itself.

The gyroscope test shows the raw rotation rate and has a drift check: a healthy sensor reads within about half a degree per second of zero while the phone lies still.

Side by side

AccelerometerGyroscope
MeasuresAcceleration and gravity (m/s²)Rotation speed (degrees per second)
At rest it readsAbout 9.81 in total (1 g)About 0 on every axis
Knows which way is downYesNo
Good atTilt, shakes, steps, impactsFast, smooth turning
Weak atNoisy during movementDrifts over time
In every phone?YesMost, not all budget models

Most phones also have a magnetometer (compass) that knows where north is. On its own it is slow and easily upset by metal, which is why the compass test checks steadiness as well as direction.

Why phones use both together

Each sensor covers the other's weakness. The gyroscope gives fast, smooth rotation; the accelerometer corrects its drift by pointing to the real "down" every moment; the compass corrects the drift around the vertical axis by pointing to north. Software called sensor fusion blends the three into one orientation, many times a second.

This is what websites receive as the alpha, beta and gamma angles. On a phone without a gyroscope, the same angles are worked out from the accelerometer and compass alone, so they still exist but react more slowly and wobble when you move. That is why a phone without a gyroscope may pass a tilt check but feel laggy in a game.

Which apps need a gyroscope

  • Need only the accelerometer: auto-rotate, step counting, shake to undo, lift to wake, fall and crash detection, a bubble level, simple tilt games.
  • Need the gyroscope: augmented reality (AR measuring apps, AR games, Google Maps Live View), VR headsets that use the phone, 360 degree and panorama photos, gyro aiming in shooters, camera stabilisation in some apps.

If an AR app says "your device is not supported" or a panorama stitches badly, check for a gyroscope first.

How to check which sensors your phone has

Open the phone sensor test on the phone and tap Check all sensors. If the accelerometer shows Yes and the gyroscope shows Not found, your phone has no gyroscope. For a closer look, the gyroscope test separates "no gyroscope" from "permission blocked", and the accelerometer test checks that gravity reads 9.81. On iPhone, tap Allow when Safari asks for motion access, or the sensors stay hidden.

Frequently asked questions

Is a gyroscope the same as an accelerometer?
No. The accelerometer measures acceleration and gravity, so it knows which way is down. The gyroscope measures rotation speed. They are often on the same chip but do different jobs.
Can a phone work without a gyroscope?
Yes. Calls, apps, auto-rotate and step counting all work. AR, VR, 360 photos and gyro aiming in games do not work well or at all.
Does auto-rotate use the gyroscope?
No, auto-rotate uses the accelerometer to see which way gravity points. If auto-rotate fails, test the accelerometer and the rotation settings.
Which is more accurate?
Neither on its own. The gyroscope is precise over short times but drifts; the accelerometer is steady over time but noisy during movement. Combined, they are accurate both ways.
Can I add a gyroscope with an app?
No. Apps that claim a "virtual gyroscope" estimate rotation from the accelerometer and compass. It helps slow apps, but it is not a real sensor and lags in fast games.
Do iPhones have a gyroscope?
Yes, every iPhone since the iPhone 4 in 2010 has a three-axis gyroscope and an accelerometer.