The straight-eight engine or straight-8 is an internal combustion engine with 8 cylinders. Sometimes it is called an inline-eight engine. All eight cylinders are mounted in a straight line along one crankshaft. It can be powered by different types of fuels, including gasoline and diesel.