Thermal efficiency is ratio of:

Explanation:

Efficiency = work output / heat input.