# [TOMAJA Mini Tutorial] How to Convert Steps into Miles, Kilometres, Calories & Sport Time

Hi There!

According to this discussion I prepared my coding (calculation, transformation) of steps converting into miles, kilometres and as a special bonus into sports time. There is a plenty possibilities how to change a step counter into different another useful indicators. However, please consider that all this new generated data will be only an approximation close to an “average person” walking activity .

## Steps into Calories (Burned Calories)

(round((#ZSC#/20)))

## Steps into Miles

((round((#ZSC#*0.0476)))/100)

## Steps into Kilometres

((round((#ZSC#*0.00762)))/10)

## Steps into Sports Time

.

Minutes Only (min)

(round(#ZSC#/110))

Hours & Minutes (hh : mm)

(floor((round(#ZSC#/110))/60)) : ((round(#ZSC#/110))-60*(floor((round(#ZSC#/110))/60)))

.
Do you this kind of Mini Tutorials?

48 Likes

I like!

1 Like

What are you using for average step distance? I did one a while back and used the follow:
Steps to Miles
((round((#ZSC#*2.65)/52.8))/100)

Steps to KM
((round((#ZSC#/2000)*160.934))/100)

If you want to get super specific, you can use the following chart based on individual heights:

I updated based on this chart:

5 Likes

Hi, @eradicator09 I can not remember my exact source any more. I just made a recherché through different websites and then used one average value.

Great that you posted the whole table with extra information here!

Yeah. I’m not sure where I came up with the original 2.65’ stride. I know that speed also makes a difference. The faster you go. The longer the stride. So it can get really complicated.

1 Like

Thank you! I am looking forward to trying those.