How Engines Work

How a Car Engine Works: The Internal Combustion Process Explained

How a car engine turns fuel into motion: the main parts, the four-stroke cycle, how a petrol engine handles air, fuel and spark, and how engines fail.

On this page
  1. The short version
  2. The theory: an engine is a heat engine
  3. The main parts of a car engine
  4. The four-stroke cycle, step by step
  5. Air, fuel and spark: how a petrol engine runs
  6. More cylinders, displacement and layouts
  7. How a diesel engine differs
  8. Two-stroke engines
  9. The systems that keep an engine alive
  10. What happens when you lift off the throttle
  11. Where the energy goes
  12. How engines fail and what damages them most
  13. Signs your engine is in trouble
  14. How long does a petrol engine last?
  15. Quick answers

The short version

Most car engines are internal combustion engines. They burn a small amount of fuel mixed with air inside a sealed cylinder. The burning gas gets very hot and its pressure rises sharply, which pushes a piston down the cylinder. A connecting rod links the piston to a crankshaft, which turns that straight-line push into rotation. The rotation goes through the gearbox to the wheels.

A running engine repeats this many times a second in every cylinder. Everything else under the bonnet, from the fuel injectors to the radiator, exists to keep that cycle going smoothly, efficiently and without the engine destroying itself.

The theory: an engine is a heat engine

At its core, an internal combustion engine is a heat engine: a machine that turns heat into mechanical work. Fuel holds chemical energy. Burning it releases that energy as heat. Heating a trapped gas raises its pressure, and the pressure pushes on something that can move.

What makes the engine “internal” is that the fuel burns inside the space where the work happens. The hot combustion gases push on the piston themselves. In an external combustion engine, such as a steam engine, the fuel burns outside and heats a separate working fluid. We compare the two in internal vs external combustion engines.

Two ideas from theory explain a lot about real engine design:

  • Compression matters. Squeezing the air-fuel mixture before ignition lets the engine get more work from the same fuel. That is why engines have a compression stroke, and why higher compression ratios generally improve efficiency, up to the point where the mixture starts igniting on its own (knock).
  • Not all the heat can become work. Thermodynamics sets a ceiling. A large share of the fuel’s energy always leaves as heat, through the exhaust and the cooling system.

The main parts of a car engine

Block, cylinders and pistons

The engine block is the main casting, usually iron or aluminium. It contains the cylinders, which are precisely machined bores. Each holds a piston, a short metal plug that slides up and down. Piston rings around each piston seal against the cylinder wall. They hold combustion pressure above the piston and scrape excess oil off the wall.

Connecting rods, crankshaft and flywheel

Each piston connects to a connecting rod, and each rod connects to an offset journal on the crankshaft. As the piston moves up and down, the rod swings and the crankshaft turns, the same way your legs turn a bicycle crank. The flywheel (or flexplate, with an automatic gearbox) bolts to one end of the crankshaft. Its mass smooths out the separate power pulses, and it carries the ring gear the starter motor engages.

Cylinder head, valves and camshaft

The cylinder head bolts on top of the block and closes off the cylinders. The space left between the head and the top of the piston is the combustion chamber. The head holds the intake and exhaust valves, which open to let the mixture in and the exhaust out, plus the spark plugs, and in direct-injection engines the fuel injectors as well.

One or more camshafts open the valves. Each cam lobe pushes a valve open at exactly the right moment, and a spring closes it again. A timing belt or chain drives the camshafts from the crankshaft at half crankshaft speed, so the valves stay in step with the pistons.

The four-stroke cycle, step by step

Almost every modern car engine uses the four-stroke cycle, also called the Otto cycle. Each cylinder needs four piston strokes, which is two crankshaft revolutions, to complete one cycle:

  1. Intake. The piston moves down with the intake valve open, drawing air (or air and fuel) into the cylinder.
  2. Compression. Both valves close and the piston moves up, squeezing the charge into the small combustion chamber.
  3. Power. Near the top of the stroke the spark plug fires. The burning mixture’s pressure drives the piston down. This is the only stroke that produces work.
  4. Exhaust. The exhaust valve opens and the rising piston pushes the burnt gases out.

Then it starts again. Our article on the four-stroke Otto cycle covers each stroke in more detail, including valve overlap and where the Otto cycle came from.

Air, fuel and spark: how a petrol engine runs

A petrol engine needs three things at the right moment: air, fuel and a spark. That breakdown is useful for diagnosing problems too. We go through it in what are the three things that make an engine run.

Air: throttle and sensors

In a petrol engine, the accelerator pedal mainly controls air. Pressing it opens the throttle, a valve in the intake that lets more air into the cylinders. Sensors measure how much air is coming in, either directly with a mass airflow sensor or indirectly from manifold pressure and engine speed.

Fuel: injection

Modern petrol engines use fuel injection. Older systems spray fuel into the intake port just behind the valve (port injection). Many newer engines spray it straight into the cylinder at high pressure (direct injection), and some use both. Carburettors, which used airflow to draw fuel in, have largely disappeared from new cars.

The goal is the right air-fuel ratio. For petrol, the chemically ideal ratio is roughly 14.7 parts air to 1 part fuel by mass. Engines run close to that most of the time, so the catalytic converter can clean the exhaust effectively.

Spark: ignition timing

An ignition coil, usually one per cylinder on modern engines, turns the 12-volt supply into the very high voltage needed to jump the spark plug gap. Timing matters. The spark fires slightly before the piston reaches the top, because the mixture takes a moment to burn. A knock sensor listens for abnormal combustion and lets the engine pull the timing back if needed.

The engine computer

The engine control unit (ECU) ties it all together. It reads sensors for airflow, engine speed, crankshaft and camshaft position, coolant temperature and exhaust oxygen, and decides how much fuel to inject and when to fire each spark. Many times a second, it adjusts both for load, temperature and conditions.

More cylinders, displacement and layouts

A single cylinder delivers one power pulse every two revolutions, which is rough. Car engines use several cylinders that fire in a set sequence (the firing order), so power pulses overlap and the crankshaft turns more evenly. Four cylinders is the most common count, with three, six and eight also widespread.

The cylinders can be arranged in a straight line (inline), in two angled banks (V), or in two flat, opposed banks (flat or “boxer”). The layout affects smoothness, size and how the engine fits in the car.

The total volume all the pistons sweep is the engine’s displacement, given in litres or cubic centimetres. Our explainer on what 2000cc means in a car shows how it’s calculated and why it doesn’t directly tell you an engine’s power.

Many modern engines add a turbocharger, which uses exhaust energy to spin a compressor that pushes extra air into the cylinders. More air allows more fuel, and so more power from a smaller engine.

How a diesel engine differs

A diesel engine also uses four strokes, but it has no spark plugs. It compresses air alone, to a much higher ratio than a petrol engine. That makes the air hot enough that diesel fuel ignites on its own when it is injected near the top of the compression stroke. Diesels traditionally have no throttle. Power is controlled by how much fuel is injected. That difference matters for things like engine braking.

Two-stroke engines

Some small engines, in chainsaws, older motorbikes and many outboard motors, complete the cycle in two strokes instead of four. They use ports in the cylinder wall in place of most or all of the valves. They fire once every revolution, which makes them light and punchy, but they are usually dirtier and less efficient. See how a two-stroke engine works for the details.

The systems that keep an engine alive

The combustion cycle only lasts if several supporting systems do their jobs:

  • Lubrication. An oil pump pushes oil through passages to the bearings, camshafts and other moving parts. A thin film of oil keeps metal surfaces apart. Read more in how engine lubrication works.
  • Cooling. Coolant circulates through the block and head, then through the radiator, carrying away heat the engine can’t use. A thermostat holds the engine at its working temperature. See how an engine cooling system works.
  • Exhaust and emissions. The exhaust manifold collects the spent gases. A catalytic converter cuts harmful emissions, and the silencer reduces noise.
  • Starting and charging. An electric starter motor spins the engine until it fires. Once it’s running, a belt-driven alternator recharges the battery and powers the car’s electrics.

What happens when you lift off the throttle

When you take your foot off the accelerator with the car in gear, the wheels keep turning the engine through the gearbox. The engine resists, and the car slows down. This is engine braking. In many modern cars, the ECU also cuts fuel injection while you coast in gear. We explain the mechanics in engine braking explained. The noisy truck version, and why some towns ban it, is covered in what is engine braking and why is it illegal.

Where the energy goes

Even a well-designed petrol engine turns only part of its fuel’s energy into useful work at the crankshaft. Typical on-road efficiency is well below the best figures manufacturers quote. Peak efficiency for modern petrol engines is often given at somewhere around 35-40%, and that applies only at the engine’s best operating point. The rest leaves mostly as heat in the exhaust and the coolant, with smaller losses to friction and to driving the engine’s own pumps and accessories.

That waste heat is why the cooling system is so important. It’s also why engineers keep chasing small gains through higher compression, reduced friction and smarter control.

How engines fail and what damages them most

Engines usually fail for a handful of reasons. Most come back to the supporting systems above:

  • Lack of oil or old, degraded oil. Oil starvation is one of the quickest ways to destroy an engine. Without an oil film, bearings and other surfaces wear rapidly and can seize.
  • Overheating. Running an engine hot, after a coolant leak or a failed pump, thermostat or fan, can warp the cylinder head, damage the head gasket and in severe cases score pistons and cylinders.
  • Timing belt or chain failure. In many engines, called interference engines, the valves and pistons share space at different moments. If the timing belt or chain breaks, they can collide.
  • Detonation (knock). Uncontrolled combustion, from the wrong fuel, carbon build-up or faults, puts shock loads on pistons and bearings.
  • Dirt. A damaged or missing air filter lets abrasive dust in, which wears cylinders and rings.
  • Over-revving. Missing a gear on a downshift can spin the engine far beyond its limit.

Routine maintenance prevents most of these: oil and filter changes at the recommended intervals, checking the coolant, and replacing the timing belt on schedule.

Signs your engine is in trouble

Warning signs worth taking seriously include:

  • A warning light on the dashboard, especially the oil pressure or temperature light (stop safely as soon as possible if either comes on)
  • Knocking, ticking or rattling that is new or getting louder
  • A temperature gauge reading higher than normal
  • Blue smoke (burning oil), thick white smoke that smells sweet (possibly coolant), or black smoke (rich running)
  • Rough idle, misfires, loss of power or stalling
  • Oil or coolant levels dropping between checks, or oil that looks milky
  • A check engine light, which can point to anything from a loose fuel cap to a misfire

None of these is a diagnosis on its own. A mechanic can read fault codes and run tests such as a compression check to narrow things down.

How long does a petrol engine last?

There’s no single figure. Lifespan depends heavily on design, maintenance and how the car is driven. Many modern petrol engines that get regular oil changes and aren’t overheated go well past 150,000 miles (about 240,000 km), and plenty go much further. Neglected engines can fail far sooner. Short trips that never let the engine fully warm up, long gaps between oil changes, and ignored warning lights all shorten an engine’s life.

Quick answers

Do cars still use internal combustion engines? Yes. Electric car sales are growing, but most cars on the road worldwide still have an internal combustion engine, including most hybrids, which pair one with an electric motor.

How long will petrol last in a car’s tank? Petrol slowly degrades as its lighter parts evaporate and it oxidises. For a car that sits unused, it’s commonly said to stay in good condition for a few months. A fuel stabiliser can extend that, and a fuller tank limits air space. If a car will be stored for a long time, check the manufacturer’s storage advice.

Is a car engine the same as a motor? In everyday speech, people use the words interchangeably. Technically, “engine” usually means a machine that burns fuel, and “motor” often means an electric motor.

Keep exploring

Guides from other topics

All topics →