The compression stroke is a critical stage in an engine’s operation, preparing the air-fuel mixture—or air alone—for combustion. As the piston moves upward, the cylinder’s contents are squeezed into a smaller space, raising pressure and temperature.
This process depends on precise piston movement, sealed valves, and effective cylinder sealing. Understanding the compression stroke helps explain how gasoline and diesel engines generate power, why compression ratio matters, and what low cylinder pressure can reveal about engine health.
What Happens During the Compression Stroke?
During the compression stroke, the piston moves upward inside the cylinder while both the intake and exhaust valves remain closed. This traps the air, or the air-fuel mixture, above the piston and reduces its volume.
As the trapped contents are squeezed into a smaller space, their pressure and temperature rise. The exact changes depend on factors such as the engine’s design, operating conditions, and the cylinder’s sealing condition.
Near the top of the piston’s travel, the compressed contents are prepared for the next stage of operation. In a gasoline engine, a spark plug typically ignites the mixture; in a diesel engine, fuel is injected into hot, compressed air.
The compression stroke therefore creates the conditions needed for combustion and helps the engine produce power. For it to work properly, the valves must seal and the piston rings must limit leakage from the cylinder.
How the Compression Stroke Fits Into the Four-Stroke Cycle
In a four-stroke engine, the compression stroke follows the intake stroke. The intake valve closes as the piston moves upward, trapping the air-fuel mixture in a gasoline engine or air alone in a diesel engine.
The piston’s upward movement reduces the volume inside the cylinder and compresses its contents. Both intake and exhaust valves remain closed, helping contain the charge and build pressure before combustion.
Near the top of the compression stroke, ignition begins according to the engine type. A gasoline engine’s spark plug ignites the compressed mixture, while fuel is injected into the hot, compressed air in a diesel engine.
Combustion then drives the piston downward during the power stroke. The cycle continues with the exhaust stroke, when the exhaust valve opens and the piston pushes spent gases out of the cylinder.
The intake, compression, power, and exhaust sequence
A four-stroke engine completes one operating cycle over two revolutions of the crankshaft. The piston moves through four strokes, while the intake and exhaust valves open and close in a timed sequence.
-
Intake: The piston moves down as the intake valve opens, drawing an air–fuel mixture into a gasoline engine or air into a diesel engine.
-
Compression: Both valves close, and the piston moves upward, compressing the cylinder contents. This is the compression stroke.
-
Power: Combustion raises pressure and forces the piston downward. In a gasoline engine, a spark ignites the mixture; in a diesel engine, injected fuel ignites in the hot, compressed air.
-
Exhaust: The exhaust valve opens as the piston moves upward, pushing burned gases out of the cylinder.
The sequence repeats continuously while the engine runs. The compression stroke sits between intake and power, preparing the cylinder contents for combustion.
The transition from compression to combustion
Near the end of the compression stroke, the piston approaches the top of the cylinder, squeezing the air-fuel mixture in a gasoline engine. The intake and exhaust valves are closed, allowing pressure and temperature to rise before ignition.
In a spark-ignition engine, the spark plug fires slightly before the piston reaches top dead center. This timing gives the flame time to develop so combustion can produce pressure as the piston begins its downward power stroke.
In a diesel engine, fuel is injected into the hot, compressed air near the end of the compression stroke. It ignites without a spark, and the resulting combustion drives the piston downward. Exact ignition and injection timing varies with engine design and operating conditions.
How Valves and Piston Position Control Compression
As the piston moves upward from bottom dead center, the intake and exhaust valves close. With both valves shut, the cylinder forms a sealed space, allowing the rising piston to compress the air or air–fuel charge rather than push it out through an open port.
The piston’s position determines how much the cylinder’s volume decreases. At top dead center, the piston is nearest the cylinder head, and the trapped charge occupies its smallest volume. The crankshaft and connecting rod convert the crankshaft’s rotation into this controlled piston movement.
Valve timing must keep the valves closed through most of the compression stroke. In many engines, the intake valve closes shortly after the piston begins moving upward, so compression starts only once that valve has seated. Leaking or mistimed valves can allow pressure to escape.
- Piston rising: reduces the volume above the piston.
- Valves closed: retain the charge inside the cylinder.
- Piston near top dead center: brings the charge to its maximum compression before ignition or fuel injection.
Compression Stroke in Gasoline and Diesel Engines
In a gasoline engine, the intake stroke draws an air–fuel mixture into the cylinder, or, in many modern engines, air alone before fuel is injected. During the compression stroke, the piston rises with both valves closed, compressing the charge. A spark plug then ignites it near the end of compression.
In a diesel engine, the cylinder takes in air rather than a premixed air–fuel charge. The rising piston compresses this air to a higher pressure and temperature. Near the end of the stroke, fuel is injected into the hot air and ignites without a spark plug.
This difference shapes how each engine uses compression. Gasoline engines depend on controlled spark ignition and must avoid premature combustion, while diesel engines rely on compression-generated heat to ignite injected fuel. Both require effective sealing around the piston and closed valves to build adequate cylinder pressure.
Compression in spark-ignition engines
In a gasoline spark-ignition engine, the compression stroke begins after the intake valve closes. The piston moves upward while both intake and exhaust valves remain closed, compressing the air-fuel mixture trapped in the cylinder.
As the mixture is compressed, its pressure and temperature rise. Near the top of the stroke, the spark plug produces a spark, igniting the mixture and initiating combustion. Ignition timing is controlled so combustion begins at the appropriate point for the engine’s operating conditions.
The compression stroke depends on effective sealing by the piston rings and valves. Leakage can reduce cylinder pressure, weaken combustion, and impair engine performance. Common factors affecting compression include:
- Worn or damaged piston rings
- Leaking or poorly seated valves
- A damaged cylinder head gasket
The required compression level varies by engine design. Gasoline engines generally use a lower compression ratio than diesel engines to help prevent the air-fuel mixture from igniting prematurely under pressure.
Compression in compression-ignition engines
In a compression-ignition engine, the intake stroke draws air—not a premixed air–fuel charge—into the cylinder. During the compression stroke, the piston rises with the valves closed, squeezing the air into a smaller space.
This compression raises the air’s pressure and temperature. Near the top of the stroke, the engine’s fuel-injection system sprays diesel fuel into the hot, compressed air. The fuel ignites because of the air’s heat, rather than from a spark plug.
The resulting combustion drives the piston downward in the power stroke. Adequate compression is therefore necessary for reliable ignition, though the required pressure and temperature depend on the engine’s design and operating conditions.
Compression Ratio and Its Role in Engine Operation
The compression ratio compares the cylinder’s total volume when the piston is at the bottom of its travel with the smaller volume remaining when it reaches the top. For example, a ratio of 10:1 means the cylinder’s volume is reduced to one-tenth during the compression stroke.
A higher ratio generally allows an engine to extract more energy from the fuel, improving thermal efficiency. However, in gasoline engines, excessive compression can cause uncontrolled combustion, known as knock. Engine design, fuel octane, and operating conditions all affect the safe limit.
Diesel engines typically use higher compression ratios than gasoline engines because compressing air heats it enough to ignite injected fuel. The appropriate ratio depends on the engine’s design and purpose; it is not a simple measure of overall performance.
Pressure and Temperature Changes During Compression
As the piston rises with both valves closed, it reduces the volume of air or air–fuel mixture trapped in the cylinder. This compression raises the gas pressure, though the amount depends on engine design, operating conditions, and cylinder sealing.
The rising piston also increases the gas temperature. In a gasoline engine, the compressed mixture must remain within a range that supports controlled ignition by the spark plug; excessive heat can contribute to knock. In a diesel engine, compression heats the air enough to help ignite fuel injected near the end of the stroke.
Pressure and temperature do not rise at a perfectly uniform rate. Heat transfers to the cylinder walls, while piston speed and leakage can affect the final conditions. At the end of the compression stroke, the resulting pressure and temperature prepare the cylinder for combustion.
What Happens When Compression Is Too Low
When cylinder pressure is too low, the air-fuel mixture in a gasoline engine may not be compressed enough for reliable combustion. In a diesel engine, insufficient compression can prevent the air from reaching the temperature needed to ignite injected fuel. Either condition can cause hard starting, rough running, misfires, or reduced power.
Low compression can also lower fuel efficiency and increase exhaust emissions because combustion becomes less complete. The effects depend on how many cylinders are affected and how far their readings fall below the manufacturer’s specifications. A single weak cylinder may cause uneven operation, while low readings across several cylinders can lead to broader performance problems.
Common causes include worn piston rings, damaged cylinder walls, leaking or burned valves, and a faulty head gasket. These faults allow compressed air to escape during the compression stroke. A compression test can help identify weak cylinders, while a leak-down test can help locate where pressure is escaping.
How Mechanics Test Cylinder Compression
A mechanic begins by disabling the ignition and fuel systems, then removes the spark plugs on a gasoline engine. With a diesel engine, the test is performed through the glow-plug or injector openings using equipment suited to its higher operating pressures. The engine is usually brought to normal operating temperature, when safe and practical.
For a compression test, a gauge is fitted into one cylinder’s spark-plug or equivalent opening. The throttle is held open, and the engine is cranked for several revolutions until the reading stops rising. The mechanic records the result and repeats the procedure for each cylinder, following the vehicle manufacturer’s specifications.
Readings are compared with the manufacturer’s limits and with one another; the acceptable range varies by engine. A consistently low reading may indicate leakage past valves, piston rings, or a head gasket. If results are uneven or unclear, a wet compression test or leak-down test can help identify the source.
The compression test procedure
Before testing, the engine is usually brought to operating temperature, then switched off. Disable the ignition and fuel systems according to the vehicle manufacturer’s procedure to prevent starting and fuel delivery. Remove all spark plugs on a gasoline engine; diesel engines require the appropriate adapter and model-specific preparation.
Thread a compression gauge into the first cylinder’s spark-plug hole. Hold the throttle open if the service instructions require it, then crank the engine for several revolutions, until the gauge reading stops rising. Record the result and repeat the process for each cylinder, keeping the test conditions consistent.
Follow the vehicle’s service manual for cranking time, safety precautions, and acceptable readings. Some engines require a different procedure, and incorrect preparation can affect results or create hazards. A compression test measures pressure developed during cranking; it does not directly measure the compression stroke’s pressure while the engine is running.
Interpreting cylinder-to-cylinder readings
Compare each cylinder’s compression reading with the others and with the vehicle manufacturer’s specifications. Readings should be reasonably consistent, but acceptable variation depends on the engine design and test conditions; there is no single pressure value or tolerance that applies to every engine.
One cylinder that reads noticeably lower than the rest may indicate a local sealing problem, such as a leaking valve, worn piston rings, or a damaged head gasket. If two adjacent cylinders are both low, a head-gasket leak between them is one possibility, though further testing is needed to confirm the cause.
If all cylinders read low, consider factors affecting the whole test, including a weak battery, a closed throttle, incorrect test procedure, or general engine wear. Because cranking speed and temperature can influence results, compare readings only when the test has been performed consistently.
A compression test identifies pressure differences but does not pinpoint the fault. A leak-down test or other diagnostic checks can help determine where pressure is escaping.
Compression Stroke Compared With the Exhaust Stroke
During the compression stroke, both intake and exhaust valves are closed as the piston moves upward. The trapped air—or the air-fuel mixture in many gasoline engines—is squeezed into a smaller space, raising its pressure and temperature.
During the exhaust stroke, the piston also moves upward, but the exhaust valve is open. This allows the upward motion to push burned gases out of the cylinder. The intake valve generally remains closed.
- Compression: Valves closed; cylinder contents are retained and compressed.
- Exhaust: Exhaust valve open; combustion gases are expelled.
These strokes occur at different points in the four-stroke cycle. The exhaust stroke clears the cylinder before the next intake stroke, while the compression stroke prepares the charge for combustion. In many engines, valve timing can overlap slightly near the transition between strokes, but their main functions remain distinct.
Why the Compression Stroke Matters to Engine Performance
The compression stroke affects how effectively an engine converts fuel into useful power. By sealing the cylinder and compressing its contents, it creates the pressure and temperature conditions needed for combustion. Consistent compression helps each cylinder produce power reliably.
In a gasoline engine, effective compression supports a stable air-fuel mixture and predictable spark-ignition. In a diesel engine, it raises the air temperature enough for injected fuel to ignite. The required conditions differ, but both depend on the piston, valves, and cylinder sealing properly.
If compression is too low or uneven, combustion may be weak or inconsistent. This can reduce power and fuel efficiency, cause rough running, and make starting more difficult. Worn piston rings, leaking valves, or a damaged head gasket are among the possible causes.
A healthy compression stroke therefore supports smooth operation and balanced output across the engine’s cylinders. Compression readings can also help diagnose mechanical problems, although they should be interpreted alongside other symptoms and test results.