Mechanical advantage is a measure of the ability of a machine to multiply the input force. It is calculated as the ratio of the output force to the input force. Machines can increase force, distance, or change the direction of force. The efficiency of a machine compares the output work to the input work, taking into account energy lost to friction. No real machine has 100% efficiency, as some work is always lost to friction.