PROBLEM TO BE SOLVED: To satisfactorily obtain an activity amount in consideration of an inclination (altitude difference) of a road which a user travels along.SOLUTION: A portable electronic device comprises: an acceleration sensor for detecting an acceleration an atmospheric pressure sensor for detecting an atmospheric pressure and a controller for determining the start and finish of travel on the basis of the acceleration. The controller calculates the activity amount on the basis of the acceleration and a difference value between atmospheric pressures at the start and finish of the travel.COPYRIGHT: (C)2015,JPO&INPIT【課題】ユーザが移動した道などの勾配(高度差)を考慮して好適に活動量を求めることを目的とする。【解決手段】携帯電子機器は、加速度を検出する加速度センサと、気圧を検出する気圧センサと、前記加速度に基づき、移動の開始及び終了を判定する制御部と、を備え、前記制御部は、前記加速度と、前記移動の開始時と終了時の前記気圧の差分値と、に基づき活動量を求める。。【選択図】図2