How to use it
- On a phone, press Start (allow motion access if asked).
- Walk with the phone in your hand, keeping the page open.
- Watch steps, time, steps per minute and approximate distance.
- Press Stop to freeze the count or Reset to clear it.
How it works
The page listens to devicemotion, takes the size of the acceleration including gravity, follows gravity with a running average, and counts a step when the signal rises above it by more than 1.5 m/s² at least 0.3 seconds after the previous step.
Worked example
100 steps with a stride of 70 cm gives 100 × 70 / 100 = 70 m. 90 steps in one minute is a cadence of 90 steps per minute.
Tips
- Hold the phone steady in one hand or keep it in a front pocket for the most regular signal.
- Measure your own stride by walking 10 steps and dividing the distance by 10.