Skip to the numbers

Technology

How Phones and Fitness Trackers Count Steps

Numbers checked · How Many Steps in a Mile fitness desk

Phones and fitness trackers count steps with a tiny motion sensor called an accelerometer. Software looks for the repeating up-and-down pattern each step makes, filters out movements that don't fit that rhythm, and adds up the peaks. Distance is then estimated from your step count and a stride length.

Every modern phone and fitness tracker counts steps, but few people know how. The short version: a tiny motion sensor feels each step, and software decides which movements count. Understanding the basics explains why your phone and your watch often disagree, and how to get more useful numbers from either one.

The sensor: an accelerometer

An accelerometer measures changes in speed and direction. The ones inside phones and wearables are microscopic structures etched onto a chip, often called MEMS sensors (micro-electro-mechanical systems). They're small, cheap and use very little power, which is why they're in nearly every device you carry.

Most devices use a three-axis accelerometer, meaning it senses motion forward and back, side to side, and up and down. Many also have a gyroscope, which senses rotation, and some have a barometer, which senses small changes in air pressure and can be used to estimate floors climbed.

From motion to steps

When you walk, your body rises and falls in a steady rhythm and your arms swing in time with your legs. The accelerometer records that as a wavy signal with a peak at roughly every step. Step-counting software does three main things with it:

  1. Smooths the signal. Raw sensor data is jittery, so the software filters out tiny vibrations, like a bus engine or tapping on a desk.
  2. Finds the peaks. Each peak that crosses a threshold is a candidate step.
  3. Checks the rhythm. Real walking produces peaks at a fairly regular pace. Many algorithms wait for several regular peaks in a row before counting, then add them all at once. That's why a step count sometimes jumps by a handful at the start of a walk.

Manufacturers tune these rules differently and rarely publish the details, which is a big reason two devices give different totals for the same walk.

Why counts go wrong

No step counter is perfect. Common sources of error include:

  • Slow walking. Very gentle steps may not produce peaks strong enough to cross the threshold, so some go uncounted.
  • Arm movements. A wrist device can mistake brushing your teeth, clapping or knitting for walking.
  • Still arms. Pushing a stroller or shopping cart keeps your wrist steady, so a watch may undercount.
  • Bumpy rides. Some devices pick up extra steps on rough roads in a car or on a bike.
  • Where you carry it. A phone in a loose bag moves differently from one in a front pocket.

Many devices let you choose your dominant wrist. Wearing the tracker on your non-dominant wrist and telling the app which one you chose can reduce false counts from everyday arm movements.

How distance is estimated

Step counters don't measure distance directly. Most calculate it by multiplying your steps by an estimated stride length, often based on the height you entered in your profile. Some apps refine that estimate over time, and many use GPS during recorded outdoor workouts to measure the route itself.

That means your distance is only as good as the stride estimate. If your stride is longer or shorter than the default, the miles will be off even when the step count is accurate. Entering your correct height or calibrating your stride usually helps.

Getting more useful numbers

You can't make a step counter perfect, but you can make it consistent:

  • Wear or carry the device the same way every day.
  • Keep your height and other profile details up to date.
  • Check that the app has permission to use motion data.
  • Update the device software, which can include algorithm improvements.
  • Compare trends over weeks rather than obsessing over a single day.

The takeaway

A step counter is an estimate built on a clever little sensor and a set of pattern-matching rules. It's very good at noticing whether today was more or less active than yesterday, and reasonably good at counting the steps on a steady walk. Treat the number as a helpful guide and it will serve you well.

Questions walkers ask

Why does my watch count steps when I'm not walking?
Repetitive arm movements, like folding laundry or gesturing while talking, can look like a walking rhythm to a wrist-worn sensor. Some activities produce extra counts and some, like pushing a cart, produce fewer.
Is a phone in my pocket more accurate than a watch?
It depends on the activity. A device near your hips sees body movement directly, while a wrist device depends on arm swing. Both are estimates, and consistency matters more than perfection.
How does the tracker know how far I walked?
Most devices multiply your step count by an estimated stride length. Some also use GPS outdoors. Setting your height or calibrating your stride usually improves the distance figure.

More in Technology