A method and system for calibrating a wireless sensor device are disclosed. In a first aspect, the method comprises determining a vertical calibration vector and determining a rotation matrix using the vertical calibration vector to line up native axes of the wireless sensor device with body axes. In a second aspect, a wireless sensor device comprises a processor and a memory device coupled to the processor, wherein the memory device includes an application that, when executed by the processor, causes the processor to determine a vertical calibration vector and to determine a rotation matrix using the vertical calibration vector to line up native axes of the wireless sensor device with body axes.