A method and apparatus for calculating a torque of a walking assistance device, the method including receiving a measured joint angle, obtaining a gait parameter with respect to a transition among a predetermined number of gait states based on the joint angle, obtaining a gait cycle based on the joint angle, and obtaining an output torque based on the gait cycle and the gait parameter, is provided.