Home › Sports & Fitness › Steps to Distance Calculator
Steps to Distance Calculator
Converts a pedometer step count into distance using a measured stride length, or a walking stride estimated from height (stride ≈ 0.414 × height).
When to use
You have a daily step count and want to know the distance walked in kilometres and miles, or the number of steps in a kilometre or mile.
Do not use when: The steps were mostly running (running strides are considerably longer; enter a measured stride_length_m instead) or you need calories (use calories-burned with the walking activity).
Formula
stride_length_m = 0.414 × height_cm / 100 (unless measured); distance_m = steps × stride_length_m; distance_km = distance_m / 1000; distance_mi = distance_km / 1.609344
Step length at normal walking speed is about 41–43 % of height, which gives roughly 2,000–2,500 steps per mile for adults; Hoeger et al. (2008) measured similar counts and showed step length increases with speed. Measure 10 steps and divide for a personal value.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
steps | integer | steps | yes | Number of steps taken. Range: ≥ 0, ≤ 10000000 |
height_cm | number | cm | no | Height, used to estimate a walking stride of 0.414 × height when stride_length_m is not given. Range: ≥ 50, ≤ 300 |
stride_length_m | number | m | no | Measured length of one step in metres (heel to heel). Overrides the height estimate. Range: > 0, ≤ 3 |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
distance_km | number | km | Distance walked in kilometres. |
distance_mi | number | mi | Distance walked in miles. |
distance_m | number | m | Distance walked in metres. |
stride_length_m | number | m | Step length applied (measured or 0.414 × height). |
steps_per_km | number | steps/km | 1000 / stride_length_m. |
steps_per_mile | number | steps/mi | 1609.344 / stride_length_m. |
Example
10,000 steps, 175 cm tall: {"steps":10000,"height_cm":175} → {"stride_length_m":0.725,"distance_km":7.245,"distance_mi":4.502,"distance_m":7245,"steps_per_km":1380}
8,000 steps, measured stride 0.80 m: {"steps":8000,"stride_length_m":0.8} → {"distance_km":6.4,"distance_mi":3.977,"steps_per_mile":2012}
GET https://tttkmbb.com/api/v1/calculate/steps-to-distance?steps=10000&height_cm=175
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/steps-to-distance(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/steps-to-distance · Markdown: https://tttkmbb.com/fitness/steps-to-distance.md · JSON definition: https://tttkmbb.com/fitness/steps-to-distance.json
- MCP: server
https://tttkmbb.com/mcp, toolrun_calculator with calculator_id="steps-to-distance" - OpenAPI operationId:
convert_steps_to_distance - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
FAQ
Is 'stride' one step or two?
Here stride_length_m is the length of one step (heel of one foot to heel of the other). Some pedometers define a stride as two steps; halve such a value before entering it.
How far is 10,000 steps?
About 7–8 km (4.5–5 miles) for most adults walking, depending on height and pace.
Related calculators
- Calories Burned Calculator — Estimate the calories of the walk from its duration.
- Running Pace Calculator — Pace and speed once distance and time are known.