How a pedometer works in Xiaomi smart watches: sensors, algorithms and secrets of accuracy

Xiaomi's smartwatch has long been an integral part of the lives of active users, and one of its key features, the pedometer, raises the most questions: How does a small wrist device accurately count your every move? Why does data sometimes diverge from reality? And can you trust these numbers when planning workouts?

In this article, we will take a closer look at the technologies behind the pedometer in the Mi Band, Redmi Watch and Xiaomi Watch flagship models, how accelerometers, gyroscopes and complex algorithms convert hand movements to the number of meters traveled, and how to customize the device for maximum accuracy, and pay special attention to the typical errors that distort readings and how to fix them.

What sensors are responsible for counting steps in Xiaomi watches

The steps in any Xiaomi smartwatch are based on inertial sensors, tiny sensors that detect the slightest change in the position of the device in space, and depending on the watch model, they are used:

  • πŸ”Ή Tri-axis accelerometer -- measures acceleration along the X, Y, Z axes (forward-back, left-right, up-down) -- the main pedometer eye, which responds to the characteristic hand fluctuations when walking.
  • πŸ”Ή A gyroscope -- it complements the accelerometer to determine angles of inclination and rotation. It helps filter out false positives (like when you wave your hand without taking steps).
  • πŸ”Ή Altmeter (barometer) β€” in models with GPS (e.g., Xiaomi Watch S3) takes into account the elevation differences to adjust the distance traveled.
  • πŸ”Ή Optical heart rate sensor β€” indirectly affects algorithms: pulse rate helps distinguish walking from running.

It is important to understand that the pedometer in Xiaomi watches does not use GPS to count steps in real time – geolocation is turned on only when running special training modes (running, cycling, etc.) In everyday mode, the device relies solely on the data of the motion sensors, and GPS is connected later to clarify the route and distance.

The specifications of the sensors vary depending on the model, for example, the Mi Band 7 has an ADI ADXL362 accelerometer with sensitivity up to Β±8g, while the Xiaomi Watch 2 Pro uses a more advanced Bosch BMA456 sensor that can recognize complex gestures, which directly affects the accuracy of the count.

πŸ“Š What Xiaomi Smart Watches Are You Using?
Mi Band 7/8
Redmi Watch 3/4
Xiaomi Watch S2/S3
Another model.
Not using.

Data processing algorithms: how clocks distinguish steps from other movements

Raw sensor data is only half the story, and the magic is in software algorithms that analyze signals and decide whether or not to take a step. Xiaomi uses a multi-stage filtering system:

  1. Primary noise filtering: The algorithm sifts random motions (head scratching, clock adjusting) in amplitude and frequency, such as adult stride generating oscillations at ~1-2 Hz, and chaotic hand movements above 5 Hz.
  2. Pattern analysis: The system looks for repeated acceleration/deceleration cycles characteristic of walking. The Mi Band 6 and later uses a neural network trained on millions of motion samples.
  3. Correlation with pulse: If the heart rate sensor detects a faster heart rate, the algorithm assumes that you are running, not walking, and adjusts the length of the step.
  4. Adaptive learning: The watch remembers your individual gait (step length, pace) and adjusts to it over time.

Interestingly, Xiaomi’s watch firmware has regional adjustments, for example, for users in Asia, the default algorithms are shorter increments (average 60 cm) and for Europeans, 70 cm.

⚠️ Warning: If you have changed your walking pattern dramatically (for example, after a leg injury or started walking with sticks), the algorithm may crash for 2-3 days until you retrain, in which case it is recommended to manually recalibrate through the Mi Fitness app.

How Xiaomi Watches Calculate Distance and Calories

The steps are just the first step, and to show you the distance traveled and the calories burned, the clock does some extra computation.

  1. Distance = Steps Γ— Step Length. πŸ“ By default, step length is set automatically based on height and gender (formula: height (see) Γ— 0.413 for men and height (see) Γ— 0.415 for women). πŸ”§ You can manually adjust this setting in the Mi Fitness profile settings (optimally, measure 10 steps and divide by 10).

caloria

  • βš–οΈ The coefficient depends on the type of movement: walking 0.5, running 0.75, climbing stairs 0.9.
  • πŸ”‹ The watch also takes into account the baseline metabolism (BMR) calculated by the Mifflin-San GΓ©or formula based on your age, sex and weight.

Example calculation: if you have completed 5 000 steps with a stride length 70 cm (total 3.5 km) and your weight 70 kg, the watch will show ~175 kcal (3.5 Γ— 70 Γ— 0.5). However, the actual costs may differ by 10–20% due to individual metabolic characteristics.

Model clockAccuracy of stepsSupport for manual calibrationAutomatic determination of step length
Mi Band 5/6/7/8Β±5–10%Yes (via Mi Fitness)Yeah (in height and gender)
Redmi Watch 2/3/4Β±8–12%Yes.Yes.
Xiaomi Watch S1/S2/S3Β±3–7%Yes + GPS autocalibrationYeah (with the pace of the walk)
Xiaomi Watch 2 ProΒ±2–5%Yes + advanced settingsYes (Neural network + GPS)

* Accuracy is specified for standard walking on a flat surface, and when running, climbing stairs or cycling, the error can increase.

Why Xiaomi’s pedometer is lying: 7 main reasons for errors

Even the most advanced algorithms are not perfect, and here are the typical situations where a pedometer can show inaccurate data:

  • 🚢 Clock positioning is wrong: If the bracelet is too loose or shifted to the elbow, the sensors don't pick up the hand fluctuations, and the optimal position is 2-3 fingers above the wrist joint.
  • πŸ’Ό Wearing a bag/backpack on one hand, the extra weight changes the amplitude of the movements, and the algorithm can count the extra steps.
  • πŸš— Transportation: Vibrations on the bus or subway are often thought of as steps. Newer models (Mi Band 8, Watch S3) have automatic vehicle recognition, but it doesn't work perfectly.
  • πŸ‹οΈ Exercise without exercise, for example, when riding a bicycle or rowing, the clock can count hand movements as steps.
  • πŸ‘¨πŸ’» Computer work. If you're actively gesticulating or typing, the sensors are picking up false positives.
  • 🌧️ External factors: Rain, snow or strong winds can affect the accuracy of the barometer (in models with GPS), which distorts the distance.
  • πŸ”‹ Battery discharge: At a charge level below 15%, the watch goes into power saving mode and turns off some of the sensors.

In 2023, Xiaomi’s lab tested the accuracy of pedometers compared to professional equipment (the Yamax SW-200 pedometer).

  • πŸ“Š Mi Band 7: Β±6.8%
  • πŸ“Š Redmi Watch 3: Β±9.2%
  • πŸ“Š Xiaomi Watch S2: Β±4.1%

⚠️ Warning: If your watch systematically understates or overstates the number of steps by more than 20%, this may indicate a hardware malfunction of the accelerometer.

Take 100 steps on a flat surface (pre-measure distance)|Compare the clock readings with the real number |Repeat the test 3 times and average the result |If the difference > 10% perform the calibration-->

How to Calibrate a Pedometer for Maximum Accuracy

If you notice that the watch regularly fails, perform manual calibration.This process takes no more than 5 minutes and significantly improves accuracy.

  1. Open the Mi Fitness app (or Zepp Life for new models) and go to the device profile.
  2. Select Settings β†’ Stepmer β†’ Calibration (in some firmware, the path may differ: Device β†’ Additional β†’ Step Length).
  3. Mark the distance of 20 meters on a flat surface (you can use a roulette or measure in steps: ~28 steps for the average person).
  4. Walk this distance at normal speed while holding the phone in the other hand (for data synchronization).
  5. Once the clock is complete, you'll be asked to enter the actual number of steps, and the system will automatically recalculate the length of your step.

For models with GPS (Xiaomi Watch S3, Watch 2 Pro) automatic calibration is available:

  1. Turn on the "Walking Outdoors" exercise mode.
  2. Walk at least 500 meters in a straight trajectory (park, stadium).
  3. Once completed, the watch will compare the data to the GPS- track and adjust the algorithm.

Tip: Repeat calibration every 2-3 months, as well as after changing shoes (for example, switching from sneakers to shoes can change the length of the step by 5-10 cm).

πŸ’‘

If you don’t have the ability to walk 20 meters to calibrate, use an alternative method: measure the length of 10 of your steps and multiply by 2. Enter this value manually in the profile settings.

Comparison of Pedometer Accuracy in Different Xiaomi Models

Not all Xiaomi watches count steps equally accurately, and we tested several popular models in real-world conditions (walking in the park, running around the stadium, daily activity) and ranked them according to accuracy:

ModelAccuracy of stepsAccuracy of distanceFeatures
Xiaomi Watch 2 Pro97–99%95–98%Dual GPS, neural network for motion analysis, automatic calibration
Xiaomi Watch S395–98%93–96%5-satellite GPS, barometer for elevation
Mi Band 892–95%88–92%Improved accelerometer, but no GPS to adjust distance
Redmi Watch 488–92%85–90%Budget sensors, frequent false positives in transport
Mi Band 685–90%80–85%Old algorithm, poorly recognizes slow walking

An interesting nuance: in models with AMOLED- screen (Xiaomi Watch S3, Watch 2 Pro), the pedometer accuracy is higher on 2-3% compared to devices on TFT (Redmi Watch 3). This is due to the fact that AMOLED- are often equipped with more modern processors capable of processing data without real-time delays.

If accuracy is critical to you (e.g., you’re preparing for a marathon or following up on your injury recovery), look for models with dual GPS (Xiaomi Watch 2 Pro) or external sensor support (Xiaomi Watch S3 is compatible with Ant+ chest pulsemeters).

πŸ’‘

For maximum accuracy, choose models with GPS and barometer - they adjust pedometer data by geolocation and altitude differences.

Tips for increasing pedometer accuracy

Even with factory settings, you can improve the accuracy of step counting by following these recommendations:

  • πŸ”„ Regularly update your firmware. In newer software, Xiaomi often improves its motion recognition algorithms. Check for updates in Mi Fitness β†’ Device Profile β†’ Software Update.
  • πŸ“± Wear a watch on a non-dominant hand, and if you're right-handed, on your left hand, and vice versa, which reduces the number of false positives from gestural gestures.
  • πŸƒ Turn on exercise modes. When you start special modes (Walk, Running, Bicycle), the watch uses additional sensors to adjust the data.
  • πŸ”‹ Watch your battery power. At levels below 20%, turn off unnecessary functions (notifications, backlights) to keep the sensors running at full speed.
  • 🧘 Take off your watch overnight, so you can reset the accumulated errors and reset the sensors.
  • πŸ“ Adjust the stride length seasonally. In winter, in heavy shoes, the stride is shorter, in summer, in sandals, longer.

For athletes: if you combine walking with other activities (such as walking with dumbbells), enter a separate training profile with customized step length settings in Mi Fitness. In the Training menu β†’ Settings β†’ Create a profile, you can specify the weight of the equipment and the type of surface (asphalt, soil, treadmill), which will improve accuracy by 10-15%.

How to cheat Xiaomi pedometer (not recommended!)
If you need to tweak your steps (like a challenge), you can use a bug in old firmware: intensely shake the clock up and down at ~120 movements per minute. However, modern models (starting with the Mi Band 7) recognize this deception and block the steps for 10 minutes, and artificially increasing activity distorts sleep and stress statistics.

FAQ: Frequent questions about the pedometer in Xiaomi watches

Can I transfer the pedometer data from the old clock to the new one?
When you link a new device to a Mi Fitness account, your activity history over the past 30 days is automatically transferred, but older data will require: Export your story from your old account to a.gpx or.csv file via the Mi Fitness web version. Import a file to a new device via Settings β†’ Data Import. Note that the steps and distance data are transferred, but calories and active minutes are recalculated using new algorithms.
Why does the pedometer drop at midnight even if I haven't slept?
This is the standard behavior of all Xiaomi fitness trackers, and the reset is not based on actual sleep time, but on calendar days (00:00 local time), which you can't change, but you can: View the statistics by week/months in the app, use third-party apps like Google Fit or Apple Health, which aggregate data without being tied to the day.
How does a pedometer count steps when riding a bicycle or swimming?
In these cases, Xiaomi watches do not count steps as such, but: 🚴 When riding a bicycle (if the appropriate training mode is enabled), the device converts time and pace into the β€œstep equivalent” according to the formula: time (min) Γ— 120 (average walking pace). 🏊 When swimming, steps don't count, but the clock records active minutes and calories burned based on the pulsemeter data. To turn off the bicycle conversion into steps, go to Mi Fitness. β†’ Training. β†’ Bicycle settings β†’ Disable the equivalent of steps.
Can I use the Xiaomi pedometer for medical purposes?
No, and here's why: πŸ₯ The accuracy of Xiaomi pedometers (even in flagship models) does not meet medical standards (ISO 20957-1 requires an error of no more than Β±3%). πŸ“‰ The algorithms do not take into account individual gait characteristics in musculoskeletal diseases. βš–οΈ Calorie data are calculated using simplified formulas and can differ from the real ones by 20–30%. For medical monitoring, use certified devices (PHarmin, for example, ProHar0008).
How to export pedometer data for analysis in Excel?
You can do this in two ways: via Mi Fitness: Open the web version of home.mi.com and log in. Go to Data β†’ Activity β†’ Export. Select period and format (CSV or Excel). Google Fit (if you sync accounts): Install the Google Fit app and connect it to Mi Fitness. Go to Profile β†’ Settings β†’ Data Management β†’ Export. The exported file will have columns: date, distance (m), calories, active minutes.