The ratio of the work done by the machine to the work done on tiie machine is called efficiency of a machine.
Efficiency = (Output energy)/(Input energy)
Work done by a machine is called the output energy and the work done on a machine is called the input energy.