Efficiency is the ratio of useful work done by a device, to the total work done (or the ratio of useful output energy to the total energy input).
Efficiency is often expressed as a percentage.
efficiency = useful work done / total work done
Efficiency is always less than 100%, as no device is perfect and
some energy is always lost.