How Does a Car Engine Work? The Four Strokes

Estimated reading time: 7 minutes

A petrol or diesel car engine turns pressure inside its cylinders into rotation. Fuel burns in a controlled way, the expanding gas pushes a piston and the connecting rod turns the crankshaft. Most car engines repeat four strokes in each cylinder. They take in air, compress it or a mixture of air and fuel, produce a power stroke and push the exhaust out. Petrol and diesel engines differ in how they get combustion started.

I use this sequence to explain what a cold start, a noise or a warning might tell me when looking at a used car. A rough start gives me something to investigate. It does not tell me by itself whether a problem comes from fuel, ignition, airflow, compression or another system. Understanding what the engine needs makes it easier to ask the seller or garage a useful question.

What moves inside the engine

The cylinder is the space in which a piston moves. The connecting rod transfers the movement to the crankshaft. The valves control the flow of air or exhaust at the top of the cylinder on a typical car engine. The camshaft and its drive coordinate when the valves open and close in relation to where the pistons are. The fuel system meters fuel to the engine as it is needed. Depending on the design, the petrol may be injected into the intake or directly into the cylinder.

Several cylinders usually take turns producing a power stroke. The flywheel or equivalent rotating components help smooth the movement and the transmission allows it to be delivered at a useful speed for the wheels. When you pull away or climb a hill, the engine needs to do more work. The throttle request and gearbox behaviour affect how much energy is produced and how it reaches the wheels. A vehicle that feels slow is worth assessing as a whole rather than assuming it has an engine fault.

The US Department of Energy’s internal combustion engine explainer sets out the four-stroke principle and the main distinction between spark ignition and compression ignition. Different engines use their own valve timing, injection and control strategies, but those basics help you follow what is happening.

Intake and compression prepare the cylinder

During intake the piston moves down as the inlet valve opens. In a typical petrol engine, the engine takes in air and fuel is added in a way that depends on its injection system. In a diesel, air is drawn in first. In a turbocharged engine, the turbo can supply air under pressure under appropriate conditions. The engine still has to control the amount of fuel and air for the load it is under. Intake path damage or a control problem can affect engine behaviour, but confirming the cause requires more than listening to the noise.

During compression the piston moves back up with the valves shut for the relevant part of the stroke. It squeezes the contents into a smaller space. In a diesel the air gets hot enough under compression for injected fuel to ignite at the appropriate point. A petrol car uses a spark plug to initiate combustion, normally near the end of compression. The Department of Energy’s petrol vehicle description explains the spark-ignited layout and its possible injection locations.

The power stroke turns the crankshaft

Gas pressure rises as combustion takes place. The pressure pushes the piston down and, through the connecting rod, makes the crankshaft turn. The engine management system controls the timing and fuel delivery according to the design and conditions. Power depends on how much work the engine can do and how frequently it does it. Cylinder capacity is one measure of the engine’s size and does not give the whole picture of performance. My engine-size buying guide explains how I compare power, gearing and the load a used car will carry.

The Department of Energy’s diesel vehicle explanation describes how diesel fuel is injected into the compression-heated air. Some diesels use glow plugs to assist starting, especially when cold. A glow plug helps with temperature and serves a different purpose from a petrol spark plug. When a diesel takes several attempts to fire, I ask about earlier testing and check whether the symptom occurs only cold or also when the engine and fuel system are warm.

The exhaust stroke clears the cylinder for the next intake

As the piston rises again, the exhaust valve opens during the relevant part of the cycle and the spent gases leave. On many engines a turbocharger uses energy from those gases to drive an intake compressor. Exhaust gases then pass through the emissions equipment arranged for that model. A catalytic converter or particulate filter does a different job from the valves and pistons. A warning about emissions can reflect another issue affecting what comes out of the engine, so I would ask how the workshop arrived at its diagnosis.

A four-stroke cycle takes two turns of the crankshaft. The pistons keep moving through all four strokes while successive cylinders contribute power. The engine continues to need air, fuel and correct timing. It also needs oil to protect moving components and cooling to keep operating temperatures under control. A car can still start and drive with a developing fault, so a reasonably smooth idle at the forecourt is only one part of an assessment.

How oil, coolant and engine controls help

Oil circulates to parts that need lubrication while the engine is running. The oil level and the pressure available to circulate it answer different questions. If a warning indicates low pressure, follow the handbook and arrange professional advice. Adding oil without establishing why the warning appeared can leave a problem unresolved. Coolant moves heat away from the engine, and the radiator transfers it to the air. A car that only overheats in traffic may give the workshop a different starting point from one that loses coolant on a long run. In both cases you need testing before putting a price on the repair.

Engine controls use information from sensors and adjust fuel, ignition where applicable, and other systems. An engine light can appear when the control system detects a fault or a result outside the expected range. A recorded code can say where the system saw a problem, but another component can be responsible. If a seller gives you a diagnostic printout, ask which tests were carried out after it was read and whether the symptom returned. Record whether the engine was cold, warm, idling or under load at the time.

What I check for on a used car

Ask the seller to leave the engine cold before the viewing. Listen from the first start and look for warnings that stay on after the dashboard check. Observe how quickly the idle settles and whether there is persistent smoke, a misfire or a noise that remains after the initial start. Tell a workshop if something only appears at a particular temperature or during acceleration. A sound from one area can be connected to the engine, an accessory, an exhaust leak or something else. A clearer description helps decide which checks to carry out next.

Check the accessible areas for oil and coolant traces and use the manufacturer’s instructions to check levels. Some cars have an electronic oil measurement with particular conditions, while others have a dipstick. If a level has repeatedly dropped or a warning has come on, find out where the fluid went rather than just topping it up for the viewing. Keep a hot cooling system closed. The Highway Code’s vehicle maintenance guidance describes routine checks and why you should respond to warnings.

Ask for service invoices and check which engine and schedule apply to the car. Get evidence for an important job such as timing work or a cooling repair. A printout saying a problem was cleared tells you less than an invoice describing the symptom, the test and the repair. If there is a persistent warning or abnormal noise, get it investigated before agreeing a price. Do not continue driving if the handbook tells you to stop because of a red oil pressure warning or overheating.

If you cannot check the car yourself, you can arrange a vehicle inspection. Give the inspector the advert, the relevant maintenance records and information about when the seller says the symptom appears. Ask about scope if a specific compression, fuel-system or workshop test is important to the deal.

Frequently asked questions

What are the four strokes in a car engine?

Intake, compression, power and exhaust. Each stroke is one movement of the piston. A four-stroke cycle takes two crankshaft revolutions.

Do diesel engines use spark plugs?

Conventional diesel engines ignite fuel in hot compressed air. They may have glow plugs to assist cold starting, which do a different job from petrol engine spark plugs.

Does a warning light tell me which engine part to replace?

No. A warning can identify a system or a condition. Use the handbook for what action to take and have recurring or serious faults diagnosed before replacing parts.

For a closer look at how petrol reaches the cylinders, my carburettor versus fuel injection guide explains the different systems and the checks that matter when buying an older car.