PROBLEM TO BE SOLVED: To accurately grasp a tilt of a body during walking with a small and inexpensive pedometer, and to easily grasp a shake of an axis of a trunk portion caused by distortion or nonuniformity of a skeleton, and to perform rehabilitation or exercise. Provide a pedometer and a pedometer program useful for improving/improving functions. SOLUTION: In a pedometer 1 in which a three-axis acceleration sensor 10 is attached to a user G and the posture of the user G is detected, a personal data setting means 20, a high band gravitational acceleration detecting means 31H, and a low band gravitational acceleration. The detecting means 31L, the low band lateral acceleration detecting means 32, the low band longitudinal acceleration detecting means 33, the step counting means 35, the lateral inclination degree detecting means 36, and the longitudinal inclination degree detecting means 37 are provided, and the user G. The posture state data S9 is detected from the horizontal inclination data S7 and the longitudinal inclination data S8. [Selection diagram] Figure 1【課題】小型かつ廉価な歩数計によって、歩行における体の傾きを的確に捉えることができ、且つ骨格の歪みや不均一性によって生じる体幹部の軸のブレの把握が容易になり、リハビリや運動機能の改善・向上に有用な歩数計及び歩数計用プログラムを提供する。【解決手段】3軸加速度センサ10を使用者Gに装着し該使用者Gの姿勢を検出する歩数計1において、個人データ設定手段20と、高帯域重力加速度検出手段31Hと、低帯域重力加速度検出手段31Lと、低帯域左右加速度検出手段32と、低帯域前後加速度検出手段33と、歩数計数手段35と、左右傾斜度検出手段36と、前後傾斜度検出手段37とを備え、使用者Gの左右傾斜度データS7と前後傾斜度データS8とから姿勢状態データS9を検出する構成とした。【選択図】図1