The similar relationship is obtained for rotating systems, where T A and ω A are the torque and angular velocity of the input and T B and ω B are the torque and angular velocity of the output. If there are no losses in the system, then P = T A ω ω A = T B ω ω B , which yields the mechanical advantage M A = T B T A = ω ω A ω ω B .