Drag the total input and the useful output, or pick a real device. Energy flows in from the left, the useful part continues to the right, and the wasted part drops away to the thermal store of the surroundings. Efficiency = useful output divided by total input, a ratio with no unit. The energy and power views give the identical fraction.