There is provided a method of determining the orientation of an accelerometer that is being carried or worn by a user, the method comprising measuring acceleration using the accelerometer as the user moves processing the measured acceleration to determine a step frequency of the movements by the user and processing the measured acceleration to identify a lateral component of acceleration as a component of acceleration having a high response at a frequency corresponding to half the step frequency.