A straight-12 engine or inline-12 engine is a twelve-cylinder piston engine with all twelve cylinders mounted in a straight line along the crankcase.