How do steps and distance work when I am using a treadmill?

Your fitness tracker will calculate steps/distance on a treadmill with accuracy, as long as you are swinging your arm free of the support. Holding on to the treadmill supports will result in inaccurate steps/distance.