An apparatus (20) for automatically measuring an anatomical angle of a body, the apparatus (20) comprising aligning means (23) for aligning an axis (22) of the apparatus (20) with anatomical landmarks of the body, sensing means (30) for sensing an orientation of the axis (22) while the axis is aligned with the landmarks, and processing means (40) for processing the sensed orientation. The sensing means (30) comprises a magnetometer (32) and an accelerometer (31), and the aligning means comprises a pair of lasers.