The ratio of the work done by the machine to the work done on the machine is called efficiency of a machine
Efficiency=Output energyInput energy
[Work done by a machine is called the output energy and the work done on a machine is called the input energy.]