The useful part, up front

What you’ll take away

  • A gyroscope measures angular rate; zero rate after a turn does not restore the starting orientation.
  • Fixed-axis angle change is the signed rate integrated over elapsed time and added to a starting angle.
  • Actual interval durations matter; the same listed rates can give a wrong angle when their time weights are wrong.
  • A constant rate bias accumulates into an angle error, and correcting offset does not establish sensitivity or axis alignment.
  • General three-dimensional orientation requires consistent rotation composition, not three independent body-axis angle sums.
01

A zero reading can follow a perfectly real turn

Imagine a device that turns to face a new direction and then stops turning. Its ideal gyroscope reading returns to zero. Has the sensor forgotten the turn? No: a gyroscope measures how quickly the device is turning now, not a permanent record of where it is pointing. The accumulated angle belongs to a calculation that follows the rate over time. A zero current rate means that the angle is no longer changing about the measured axis; it does not force the angle back to its starting value. Manufacturer and platform documentation identify angular rate as the gyroscope's measured quantity. [1][2]

We will follow an imaginary device through a forward turn, a pause and a reverse turn. All numbers are constructed examples, not readings collected from a phone. Most calculations use one fixed turning axis and an ideal non-rotating reference frame, leaving reference-frame motion and other axes outside that model. We will add timing and calibration errors separately so their effects remain visible. The distinction is useful whenever a screen shows a rate, an angle or an orientation: those displays may be related, but they do not contain the same information. Reading the correct one is the first step toward explaining what a movement record means.

Rate, change and orientation answer different questions. The article uses converted angular-rate units and an ideal fixed-axis model before addressing general three-dimensional rotation.
The article uses converted angular-rate units and an ideal fixed-axis model before addressing general three-dimensional rotation. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
02

The sensor responds to turning, not to a stored compass direction

A tiny electronic gyroscope need not contain the spinning wheel that the word may bring to mind. In the vibrating-mass design described by Analog Devices, a small structure repeatedly moves back and forth. When the device rotates, the Coriolis effect produces a response across that driven motion. The structure's movement changes capacitance, an electrical property that the surrounding circuit can detect. Within the described sensing arrangement, the resulting signal is related to angular rate. [1] This is a physical mechanism for observing a turn as it happens.

The important boundary is between that rate observation and the later angle calculation. A device that has finished turning can retain its new direction without continuing to generate the same turning-rate signal. Likewise, a device turning at a steady rate can keep reporting a steady nonzero number while its direction changes continuously. Neither behavior is contradictory. The hardware mechanism does not, by itself, supply a label such as “started at ten degrees” or “now faces north.” Those labels require a reference or an initial condition. Our numerical examples will keep that reference visible instead of hiding it inside a display.

03

Attach a direction and a time unit to the rate

A value of 30 degrees per second means that a steady turn would add 30 degrees in one second about the named axis. A value of −30 degrees per second means a turn in the opposite signed direction. The sign depends on the documented axis convention, not on which way an observer happens to stand. Android uses a right-handed convention: viewed from the positive end of an axis toward the origin, a positive rotation appears counterclockwise. [2] Changing viewpoint without keeping that convention can reverse an explanation even when the data are unchanged.

Some interfaces report radians per second instead of degrees per second. One full turn is 360 degrees or 2π radians. Thus 30 degrees per second equals π/6 radians per second, about 0.524 rad/s. Over two seconds, either description gives a 60-degree turn. Read the actual unit before doing arithmetic. Also identify the sensor's physical axis: a channel called z follows a device-defined direction, which is not automatically vertical in the room. Manufacturer guidance explains how sensing-axis alignment and mounting affect the relationship to a system's reference axes. [1][3]

Rate needs a time interval to become an angle change. Original equivalent unit descriptions for one constant two-second turn. Keep the signed axis convention the same.
Original equivalent unit descriptions for one constant two-second turn. Keep the signed axis convention the same. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
04

Follow a forward turn, a pause and a reverse turn

Set the starting angle to 10 degrees. First, let the device turn at +30 degrees per second for two seconds. The angle change is +60 degrees, so it reaches 70 degrees. Next, let it stop turning for one second. The rate is zero and the change during that second is zero, leaving the angle at 70 degrees. Finally, let it turn at −15 degrees per second for two seconds. That adds −30 degrees and leaves it at 40 degrees. If it then stops, the rate returns to zero while the angle remains 40 degrees.

The pause did not erase the first turn. The reverse turn undid only part of it. To calculate each interval, multiply its signed rate by its duration, then add the result to the previous angle. This is a simple form of integration, the rate-to-angle relationship described in the sources. [1][2] Our rates are constant within each stated interval, so these products are exact for the example. A real changing signal requires an appropriate integration method and timing information; the three clean intervals make the meaning of the calculation visible before those complications are introduced.

05

The same changes can begin from different directions

Repeat exactly the same three intervals, but start at 200 degrees instead of 10. The changes are still +60, zero and −30 degrees, so the new final angle is 230 degrees. The gyroscope rate sequence is the same in both cases. It supplies the changes, not the missing starting direction. To express an angle relative to a chosen external reference, the calculation needs a starting value established in that reference. A label such as “heading” should therefore prompt a question about where that initial or continuing reference comes from.

There is another useful distinction in our first journey. The device turns through 60 degrees one way and 30 degrees back. Its net signed change is 30 degrees, but its total amount of turning along this one-axis path is 90 degrees. Adding the magnitudes answers a different question from adding the signed changes. A zero final rate answers neither question by itself. A single number at the end of the record cannot reconstruct the earlier journey. The time history, the starting reference and the definition of the requested angle are what make the result interpretable.

06

Unequal time gaps need unequal weights

Now use a different original record with three intervals. For 0.10 second the rate is +20 degrees per second. For the next 0.25 second it remains +20. For the last 0.15 second it is −10. The angle changes are +2, +5 and −1.5 degrees, giving a net +5.5 degrees. If someone mistakenly assigns 0.10 second to every interval, the same listed rates produce +2, +2 and −1 degree, or only +3 degrees. The rate values did not change; their time weights did.

Our interval boundaries are 0, 0.10, 0.35 and 0.50 second. Their differences give the durations used above. Android's example forms a time difference from sensor-event timestamps before calculating an incremental rotation. [2] That is why a requested update rate is not a substitute for understanding the actual timing in a record. Here each rate is explicitly constant over its interval. For isolated real samples, a gap does not reveal the motion that happened between them. Any interpolation or held-value assumption needs to remain part of the explanation, especially when gaps or dropped data are present.

The same listed rates need their actual interval weights. Original piecewise constant interval rates. Boundaries are 0, 0.10, 0.35 and 0.50 seconds.
Original piecewise constant interval rates. Boundaries are 0, 0.10, 0.35 and 0.50 seconds. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
07

A small rate offset becomes a growing angle error

Let the true device be still about our chosen axis, but suppose the converted rate reading contains a constant extra +0.2 degrees per second. Integrate that reading for 60 seconds and the angle estimate gains 12 degrees even though the true angle has not changed. After 300 seconds, it gains 60 degrees. The error is small when described as a rate and large when accumulated for long enough. Sensor documentation identifies bias and noise as issues that must be considered when rate is used to maintain an angle estimate. [2][3]

Collecting more samples during the same minute does not remove this particular constant offset. Each shorter interval adds a smaller error, but the intervals still add up to 60 seconds, so the total remains 0.2×60=12 degrees. A stable-looking rate is not automatically a correct rate. Real errors can also vary with time, temperature and noise; the manufacturer warns that a constant-bias assumption has limits. [3] Our calculation deliberately keeps the offset constant to isolate one mechanism. It is not a specification for any phone, nor a prediction that every real error grows in exactly the same way.

08

A zero-rate correction needs a trustworthy zero-rate condition

Suppose an independently known stationary condition produces the three illustrative rate values 0.18, 0.22 and 0.20 degrees per second. Their mean is 0.20. These values have small invented deviations around an offset of 0.20; the deviations happen to cancel in this example. Treating the mean as the bias and subtracting it therefore removes that stipulated offset. Three values do not generally guarantee an exact real calibration. A later true rate of 40 degrees per second would be reported as 40.20 before correction and 40 afterward. These are made-up calibration numbers chosen to show the arithmetic, not measurements or a recommended sampling procedure for a particular sensor.

The known-still condition is doing important work. A steady reading of 0.20 could also represent a real slow turn from an ideal sensor. If software assumes that every steady reading must be bias, it can subtract a real motion signal. Even when the condition is valid, an imperfect correction leaves a remainder: subtracting 0.17 from a true offset of 0.20 leaves 0.03 degrees per second, which accumulates 1.8 degrees in a minute. Calibration information therefore needs its conditions and units. Manufacturer guidance emphasizes bias variation and the quality of the reference motion used in characterization. [3]

Correcting an offset does not establish the scale factor. Two separate invented models, each with true rate 40°/s and known offset +0.20°/s. No device accuracy is measured.
Two separate invented models, each with true rate 40°/s and known offset +0.20°/s. No device accuracy is measured. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
09

Three rate channels are not three independent angle counters

Our earlier sums were deliberately limited to one fixed axis. For general three-dimensional turning, order matters. Picture an arrow initially pointing along a fixed upward z direction. A positive quarter-turn about fixed x moves it toward negative y; a following quarter-turn about fixed y leaves that direction unchanged. Reverse the order instead: the y turn moves the original arrow toward positive x, and the following x turn leaves it there. The two outcomes differ even though each sequence contains one quarter-turn about each of the same two fixed axes.

This geometric example explains why general orientation software keeps track of how rotations combine. Android's example turns a rate sample and elapsed time into a small rotation, then says to combine it with the current rotation. [2] The device's own axes can change their directions in the room during motion. Treating their three rate channels as three independent fixed-room angle counters would skip that relationship. An orientation output may use a rotation matrix or a quaternion to represent the combined result. Those are ways to describe a rotation; their presence does not eliminate timing, reference or sensor-error requirements.

10

Keep the rate record and the angle assumptions together

To explain a gyroscope result, keep the named axes, rate units and timestamps with the readings. For an angle estimate, also keep the starting reference, the integration method, any reset or wrapping rule and the corrections applied. Android distinguishes a gyroscope rate from a rotation-vector output, and its uncalibrated gyroscope still has some factory and temperature processing applied. [2] A label such as “raw” or “uncalibrated” therefore needs its documented meaning; it does not automatically describe every processing step that has or has not happened.

Our completed turn now has a clear explanation. Starting at 10 degrees, the +60-degree turn, pause and −30-degree turn finish at 40 degrees. Zero rate afterward means no further change about the chosen axis. It does not mean a return to ten degrees, a known compass heading or an error-free orientation estimate. Timing errors change the interval weights; bias accumulates with duration; scale and axis errors require their own treatment; and three-dimensional rotations need composition. A useful display can show a simple number, but a useful explanation keeps the assumptions that give that number its meaning.

Preserve the information behind the angle estimate. A reasoning sequence for the original examples, not an executed hardware calibration procedure.
A reasoning sequence for the original examples, not an executed hardware calibration procedure. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
Follow the evidence

Sources & further reading

Explore the references behind this guide. External pages may change after our review.

  1. New iMEMS® Angular-Rate-Sensing Gyroscope | Analog Devices
    John Geen and David Krakauer / Analog Devices · Accessed 6 Nov 2026
  2. Motion sensors | Sensors and location | Android Developers
    Android Developers / Google · Accessed 6 Nov 2026
  3. The Basics of MEMS IMU/Gyroscope Alignment | Analog Devices
    Mark Looney / Analog Devices · Accessed 6 Nov 2026

Article updated 7 Nov 2026.

Found something we should revisit?

Good explanations get better with thoughtful feedback.

Suggest a correction