A method of calculating an amount of exercise performed includes measuring noise based on a relative difference in displacement between a skin of a user and a sensor attached to the skin of the user, and determining a number of steps taken by the user based on the measured noise.