The efficiency of a heat engine is defined as:

Explanation:

Efficiency = Work out / Heat in.