A machine is a device that performs work by applying a force over a distance. Simple machines do work against a single load force in a way that increases the output force by decreasing the distance the load moves. The ratio of the output force to the applied force is called the mechanical advantage of the machine.