Active minutes / burnt kcal formula

hi ,
can any one help me with the:
active minutes / burnt kcal
formula I don’t know ho to do it
also is there any for ( the traveled distance & sleeping hour )on main face

You will find most of what you are looking for here: [TOMAJA Mini Tutorial] How to Convert Steps into Miles, Kilometres, Calories & Sport Time