In a 2-stroke engine, all five functions of the cycle are completed in only two strokes of the piston (or one revolution of the crankshaft). In a 4-stroke engine, the five functions require four strokes of the piston (or two revolutions of the crankshaft).