We show how to formulate thermodynamics for periodic driving including small scale systems. As an application we discuss the efficiency of a small scale engine.