When the first engines were built
The internal combustion engine wasn't invented in a single moment — it was assembled over fifty years by several engineers. Belgian engineer Étienne Lenoir built the first commercially viable engine in 1860: a 2-stroke, gas-fueled, non-compressed unit that made about 1.5 hp and powered a few stationary pumps and an experimental carriage. Nikolaus Otto solved the efficiency problem in 1876 by patenting the 4-stroke 'Otto cycle' that virtually every gasoline engine still runs today. In 1885 Karl Benz fitted a high-speed 4-stroke single-cylinder to a three-wheeled carriage and patented the Benz Patent-Motorwagen — the first true automobile. The same year, Gottlieb Daimler and Wilhelm Maybach built a faster vertical engine they fitted to a bicycle and then a stagecoach. Rudolf Diesel patented the compression-ignition diesel in 1892. The electric motor pre-dates all of them — Ányos Jedlik (1828) and Thomas Davenport (1834) built rotating DC motors decades before Lenoir, and electric cars briefly outsold gasoline cars around 1900 before cheap oil and the electric starter motor (Cadillac, 1912) handed the century to combustion.
How an engine is manufactured
An engine starts as raw aluminum or cast iron poured into sand or precision-die molds to form the block and cylinder heads. The rough castings are then CNC-machined: cylinder bores are honed to within a few microns of round, deck surfaces are flycut flat to seal the head gasket, and oil and coolant galleries are drilled through the casting. The crankshaft is forged from a single billet of steel, machined, induction-hardened on the journal surfaces and balanced by drilling small holes in the counterweights. Connecting rods are forged then 'cracked' — deliberately fractured at the big end so the cap halves mate perfectly. Pistons are cast or forged aluminum with steel ring inserts. Final assembly happens on a moving line where torque-controlled robots install bearings, pistons, the crank, the head and the timing chain. Every finished engine spends a few minutes on a 'cold test' rig (motored without firing) and many manufacturers also 'hot test' a sample on a dyno before shipment.
How engines are tested
Before a new engine ships, it lives on a dynamometer — a brake that absorbs and measures torque while the engine runs. Engineers run wide-open-throttle sweeps to map peak power, partial-throttle maps for the ECU, and full 'durability cycles' that can last 1,000+ hours simulating the lifetime of the engine in days. Cold-start chambers chill the engine to −40 °C to verify it lights off; hot-soak cells bake it at +50 °C to validate vapor handling. Emissions are measured on chassis dynos running the WLTP cycle (Europe), FTP-75 (US) and the brutal US06 high-load cycle, with a constant-volume sampler diluting exhaust and analyzers measuring CO, HC, NOx and particulate count. Knock-detection sweeps push timing until pre-ignition appears to find the safe margin. Race engine builders go further: tear-downs after every dyno session, oil analysis for trace metals, and crankshaft-deflection measurements to catch a bearing going bad before it fails on track.
The different types of engines
By configuration: inline-3 (Toyota GR Yaris, Ford 1.0 EcoBoost) and inline-4 (most everyday cars) for cost and efficiency; inline-5 (Audi RS3, TT-RS) for an unusual offbeat firing pulse; inline-6 (BMW B58, Toyota 2JZ, Mercedes M256) for natural balance; V6 for compact packaging in FWD; V8 cross-plane for muscle-car rumble (Mustang GT, Camaro SS, F-150) or flat-plane for race-car scream (Ferrari 488, Mustang GT350); V10 (Audi R8, Lamborghini Huracán, Lexus LFA) bridging V8 and V12; V12 (Ferrari 812, Lamborghini Revuelto, Aston Martin) for smoothness; W12 (Bentley) and W16 (Bugatti) packing big displacement into tight bays; flat-4 and flat-6 (Subaru, Porsche 911) for a low center of gravity. By cycle: spark-ignited gasoline (Otto), compression-ignited diesel, and Atkinson/Miller-cycle engines used in most hybrids for efficiency. Wankel rotary (Mazda RX-7/RX-8, returning in the MX-30 R-EV) uses no pistons at all. And replacing combustion entirely: permanent-magnet synchronous motors (Tesla, Lucid, Porsche Taycan rear) and induction motors (older Tesla front, Audi e-tron) — both deliver peak torque from zero RPM and need no transmission.
What an engine actually does
An engine converts chemical or electrical energy into rotational mechanical energy at the crankshaft (or motor shaft). That rotation is what every other system — transmission, drivetrain, wheels — exists to manage. Power (hp/kW) tells you how fast it can do work; torque (lb-ft/Nm) tells you how hard it shoves at any given moment. Power is the product of torque and RPM: a 9,000 RPM Ferrari V12 makes its 819 hp by combining moderate torque with extreme revs, while a Ram 2500 Cummins diesel makes its 1,075 lb-ft at 1,800 RPM and tops out under 3,500.
The four-stroke cycle in detail
Most production combustion engines run the Otto cycle. Intake: the piston travels down, the intake valve opens, and a fuel-air mixture is drawn in. Compression: both valves close, the piston rises, and the mixture is squeezed to 1/10 or 1/12 of its original volume (compression ratio). Power: at or near top dead center the spark plug fires, the mixture burns, pressure spikes to ~80 bar and shoves the piston down. Exhaust: the exhaust valve opens, the piston rises, and burnt gas is pushed out. The crankshaft turns twice per complete cycle, so a 6,000 RPM engine fires each cylinder 3,000 times per minute.
Compression ratio and why it matters
Compression ratio is the ratio of cylinder volume at bottom dead center to volume at top dead center. Higher CR extracts more energy from each combustion event — efficiency rises roughly with CR^0.4. Naturally aspirated engines run 11–14:1 (Mazda Skyactiv-X hits 15–16:1 with spark-assisted compression ignition). Turbocharged engines drop to 8.5–10:1 because forced air already raises in-cylinder pressure and would otherwise detonate. Diesels skip spark plugs entirely and run 14–22:1, igniting fuel from compression heat alone.
Bore, stroke and displacement
Bore is cylinder diameter, stroke is how far the piston travels. Multiply bore-area by stroke by the number of cylinders and you get displacement (cc or liters). Oversquare engines (bore > stroke, e.g. Honda S2000 F20C, Ferrari V12s) rev high and breathe well at top end. Undersquare or long-stroke engines (Cummins B-series, big-block V8s) make torque low and pull hard from idle. Square engines split the difference and dominate modern turbo fours.
Layouts and why they matter
Inline-4s are cheap, light, and have only one cylinder head — perfect for daily cars. Inline-6s (BMW, Toyota Supra, Mercedes M256) are naturally balanced and silky. Flat-4 and Flat-6 (Subaru, Porsche) lower the center of gravity. V6s package well in front-wheel-drive cars. V8s pack displacement compactly and sound unmistakable thanks to their cross-plane crankshaft firing order. V10s (Lamborghini Huracán, Audi R8, Lexus LFA, BMW M5 E60) bridge V8 power and V12 smoothness at 8,000+ RPM. V12s (Ferrari 812, Lamborghini Revuelto, Aston Martin, Pagani) deliver peerless balance and a 12-cylinder firing pulse so closely spaced it sounds continuous. The Bugatti W16 packs two narrow-V8s on a common crank for 1,500+ hp in a tight package.
Firing order, balance and sound
Firing order is the sequence in which cylinders fire — designed to spread the load evenly on the crankshaft and minimize vibration. An inline-6 is inherently balanced because primary and secondary forces cancel; an inline-4 is not, so cars over 2.0 L often add counter-rotating balance shafts. A flat-plane-crank V8 (Ferrari 488, McLaren, Mustang GT350) fires 1-3-5-7 left-then-right alternation for a screaming high-pitched note. A cross-plane V8 (Mustang GT, Camaro, most American V8s) fires unevenly between banks, producing the iconic burbling rumble.
Valvetrain and variable valve timing
The camshaft opens and closes the valves through followers, rockers or buckets. OHV (pushrod, common in GM LS/LT V8s) places one cam in the block. DOHC (twin-cam) places two cams in each head and supports four valves per cylinder for better breathing. Variable valve timing — Honda VTEC, Toyota VVT-i, BMW Vanos, Ferrari and Porsche systems — shifts cam phasing and/or lift profiles by RPM to give torque at low revs and breathing at high revs. Some engines (Fiat MultiAir, Koenigsegg Freevalve) skip the cam entirely and actuate valves with electro-hydraulic or pneumatic actuators for total freedom.
Fuel delivery: port vs direct injection
Port injection sprays fuel into the intake port behind the valve — cleaner combustion chamber, no carbon buildup on intake valves. Direct injection sprays fuel straight into the cylinder at up to 350 bar — precise control, higher compression, more power, but intake valves can carbonize because no fuel washes them. Most modern performance engines (BMW S58, Porsche 9A2, Ferrari F154) run dual injection: port for low-load efficiency, direct for high-load power.
Forced induction
Turbochargers use exhaust gas to spin a compressor that crams more air into the cylinders — more air means more fuel can burn, which means more power. Lag (the delay between throttle and boost) is fought with twin-scroll housings, variable-geometry vanes (Porsche 911 Turbo), and small-large twin-turbo setups. Superchargers do the same but are belt-driven by the crankshaft (no lag, immediate response, but they steal 50–100 hp to run). Twin-turbo and quad-turbo setups (Bugatti Chiron's 8.0 L W16 with four turbos) feed massive displacement at both low and high RPM. Electric turbochargers (Mercedes-AMG E Performance, Audi SQ7) use a 48 V motor to spin the compressor before exhaust pressure builds.
Diesel vs gasoline
Diesel engines compression-ignite their fuel at 14–22:1 CR. No spark plug, no throttle butterfly (load is controlled purely by fuel quantity). They make 30–40% more torque per liter, are 20–30% more thermally efficient, but produce particulates and NOx that require DPF filters and SCR/AdBlue injection. Gasoline engines are lighter, rev higher, and run cleaner without exotic aftertreatment — so almost every passenger car outside trucks and heavy-duty applications is now gasoline or electric.
Rotary (Wankel) engines
A triangular rotor spins eccentrically inside an epitrochoidal housing, creating three combustion chambers per rotation. No reciprocating mass, smooth and revvy (the Mazda RX-8's 1.3 L 13B-MSP revved to 9,000 RPM), but apex seals wear, oil consumption is intentional, and emissions are tough. Mazda is reviving the rotary as a range-extender generator in the MX-30 R-EV, where its compactness shines and emissions are easier to manage.
Electric motors
Permanent-magnet synchronous motors (PMSM) and AC induction motors replace pistons entirely. PMSMs (Tesla rear motors, Porsche Taycan, Lucid Air, Hyundai E-GMP) use rare-earth magnets in the rotor for high power density and efficiency. Induction motors (older Tesla front motors, Audi e-tron) use no magnets and can be electrically 'turned off' at cruise for efficiency. Both deliver peak torque from 0 RPM, are mechanically simple, and can act as generators during regen braking. Hypercars like the Rimac Nevera use four motors — one per wheel — for true torque vectoring impossible with a combustion engine.
Hybrid powertrains
Mild hybrids use a 48 V belt-driven starter/generator to assist the engine and recover energy under braking — modest gains, minimal cost (most modern Mercedes, Audi, Ram). Full hybrids (Toyota Prius, Lexus LC 500h) blend a planetary power-split transmission with two motor-generators for serial-parallel operation. Plug-in hybrids (PHEVs) add a larger battery and 20–60 miles of EV range. Performance PHEVs — Ferrari SF90, 296, Lamborghini Revuelto, McLaren Artura, Koenigsegg Gemera, Porsche 918 Spyder — use the electric side to fill in low-RPM torque, launch silently, and momentarily exceed what the combustion engine alone could produce.
Cooling, lubrication and oiling
Combustion engines waste about 60% of fuel energy as heat. A water pump circulates coolant through galleries in the block and head, then through a radiator where airflow dumps the heat. Oil lubricates bearings, cushions impacts, cools pistons (via squirters) and carries away contaminants. High-performance cars use dry-sump systems: a separate tank holds oil and a scavenge pump pulls it out of the sump, preventing oil starvation under sustained cornering G. Track cars add oil coolers, larger radiators and trick thermostats to survive 30-minute stints.
Engine management and tuning
The ECU reads dozens of sensors (MAF/MAP, O2, knock, cam/crank position, coolant, intake air temp) and writes to injectors, ignition coils, throttle motor, VVT actuators and wastegates thousands of times per second. Aftermarket tunes adjust fuel maps, ignition timing and boost targets — a stock BMW M3 makes ~503 hp; a Stage 2 tune with downpipe and intake can push 600+. Tuning too aggressively raises in-cylinder pressure and risks knock, ringland failure and bearing damage.
