1. A method of calculating an output torque of a walking assistance device, the method comprising: determining a gait cycle based on a joint angle; determining a gait parameter with respect to a transition among predefined gait states based on the joint angle; and calculating the output torque based on the gait cycle and the gait parameter.