A heat engine is considered to be 100% efficient if only all the heat is converted into useful work or mechanical energy. Since heat engines cannot convert all the heat energy into mechanical energy, their efficiency can never be 100%.