Count Steps With Your Phone in the Browser: Stride, Distance and Goals
How a browser pedometer counts steps with the phone's motion sensor, how to set your stride for accurate distance, and how to keep a daily step log.

Walking is the simplest exercise there is, and counting steps is one of the easiest ways to make it a habit. Many people do not want another fitness app, another account or another device to charge, and some phones simply do not come with a step counter. The Phone Pedometer and Step Counter counts steps from the phone's own motion sensor inside the browser, and keeps the log on your phone.
How a phone feels a step
Each footfall sends a small jolt through your body. The phone's accelerometer measures this as a rise and fall in acceleration, roughly twice a second when you walk. The tool smooths the readings, removes the constant pull of gravity and counts a step at each peak that is strong enough. Peaks that come less than about a quarter of a second after the previous one are ignored, because even a sprinter rarely steps that fast, and a peak much weaker than your recent steps is treated as a wobble rather than a step.
Getting started
Press Start counting. On an iPhone, the browser asks for permission to use motion and orientation; allow it. Hold the phone in your hand or put it in a front trouser pocket and walk. The big number is the step count for this walk. Beneath it you see distance, cadence (steps per minute), time and an energy estimate.
The page has to stay open with the screen on. Browsers stop sensor data to hidden pages to save battery and protect privacy, so the tool asks the phone to keep the screen awake while it counts.
Setting your step length
Distance is steps multiplied by your step length, so a wrong stride means a wrong distance. The tool starts from your height: research puts typical step length at about 0.415 of height for men and 0.413 for women. A 170 cm adult therefore steps about 70 cm.
For better accuracy, measure your own. Walk 20 normal steps along a running track, a row of paving slabs or a measured corridor, measure the distance and divide by 20. Enter the result as your measured step length and the formula is ignored.
Tuning sensitivity
If the count stops rising when you walk slowly or carry the phone in a jacket pocket, raise the sensitivity. If it creeps up while you stand still or ride a bus, lower it. A good test is to count 100 steps in your head and compare.
Goals, streaks and the day log
Every counted step also goes into today's total, which a bar compares with your daily goal. Days on which you reach the goal build a streak, and a chart shows the last 14 days. Because the page cannot count all day in the background, you can type in steps from a smartwatch or another app for any day, so the log stays complete. Export the day log as a CSV file for a spreadsheet, or save the whole record as a project file.
What about 10,000 steps?
The famous 10,000 began as a slogan for a 1960s Japanese pedometer. Large studies since then link more daily steps with lower health risks, with most of the benefit for adults reached somewhere between about 7,000 and 10,000 steps, and older adults benefiting at lower numbers. Pick a goal a little above your current average and raise it gradually.
Know the limits
Counts are usually within 5 to 10 percent of a careful hand count on a steady walk. Shuffling, pushing a pram, walking on a treadmill while holding the rails and carrying the phone in a swinging bag all reduce accuracy. The calorie figure is a rough average of about half a kilocalorie per kilogram of body weight per kilometre walked. This is a fitness tool, not a medical device, so speak to a doctor about exercise if you have a health condition.



