A treadmill is capable of performing a gait analysis and comprises a conveyor belt, a supporting plate, a driving mechanism, and at least two sensing assemblies. The conveyor belt is used for a user to walk or run in place. The driving mechanism drives the conveyor belt to run. The supporting plate supports the conveyor belt. The two sensing assemblies are fixed with the supporting plate, for respectively sensing the users left and right heel strike. A left and right pulse diagram thus can be obtained from the sensing assemblies, and the gait analysis is performed according to the left and right pulse diagram.