There is provided a method of controlling a wearable robot. The method includes measuring an electrical signal from a scalp of a wearer, estimating a current walking speed of the wearer using the measured electrical signal, and outputting assistive torque which allows the estimated current walking speed to approximate a target walking speed.