A huge body of work utilized signal strength of short range signal (such as WiFi, Bluetooth, ultra sound or Infrared) to build a radio map for indoor localization, by deploying a great number of beacon nodes in the building. The drawback of such an infrastructure-based approach is that the deployment and calibration of the system is costly and labor-intensive. To overcome that, some prior studies proposed the use of Pedestrian Dead Reckoning (PDR) for indoor localization. The PDR system does not require to build a beacon-based infrastructure, in which a small number of sensors are put on the pedestrian. These sensors (such as G-sensor and Gyro) are used to estimate the distance and direction that the user traveled. The PDR approach can be generally categorized into two types: foot-mounted and waist-mounted. In general, the foot-mounted system can get accurate step length, but perform poorly in estimated heading direction. On the other hand, the waist-mounted system can estimate direction with high accuracy, but is hard to measure the step length. In this work, we proposed a waist-mounted based PDR using one 3-axis accelerometer and one gyroscope sensor. We utilize vertical acceleration to implement double integral for measuring the user's instant height change and use some physical features of vertical acceleration during the walking to calibrate the measurement. Then based on the Pythagoras' Theorem, we can estimate each step length based on the user's height change during his/her walking. Our experiment results show that the accuracy is about 98.26% in estimating the user's walking distance.