How Do Phones Track Steps?
What sensor counts your steps?
The star is the accelerometer, a chip smaller than a grain of rice that measures acceleration on three axes. It is the same sensor that flips your screen when you turn the phone. A related chip, the gyroscope, tracks rotation and helps confirm the motion is a real walk and not a bumpy bus ride. Many phones also have a low-power motion coprocessor that watches these sensors all day so the main chip can stay asleep.
How does it know a step from a shake?
Walking has a signature: a steady up-down bounce, roughly one to two times per second. The software filters out noise, looks for that repeating wave, and counts each peak as a step. A single jolt or a phone waved around does not match the pattern, so it gets ignored. The tricky part is everything that looks sort of like walking.
Why is the step count sometimes wrong?
No phone is perfect. Pushing a shopping cart, riding a bike, or jiggling the phone can add phantom steps. Leaving the phone on a desk means real steps go uncounted. Most people land within a few percent of reality over a full day, which is close enough for casual tracking but not for a lab.
| Activity | Likely result |
|---|---|
| Brisk walk, phone in pocket | Accurate count |
| Pushing a cart | Undercounts |
| Phone in a bag on a bike | Phantom steps |
| Phone on a desk | No steps |
Does it need the internet or GPS?
No. Step counting happens on the phone itself, so it works in airplane mode and sips very little battery. GPS is only used later to map a walk or run, and it drains far more power. That is why your step total keeps ticking even when location services are off.
What is the surprising part?
The same physics that counts your steps once helped scientists detect earthquakes. Seismometers use the same idea of sensing ground motion, and modern phones have been used in research networks to spot tremors. Your pocket is basically a tiny motion lab.