Thermodynamics of a Two-Stroke Engine

By |

The following animation shows a cross-section of a piston-ported single-cylinder two-stroke engine with crankcase scavenging. The piston opens and closes the exhaust, transfer and intake ports. Gas exchange, precompression in the crankcase and combustion are shown in colour, and a live pV diagram links every crank position to the thermodynamic cycle. Engine speed and crank angle can be adjusted in real time.

Embed this animation in your website or learning platform

Copy the code and paste it into your website or learning platform (e.g. Moodle, ILIAS – in HTML mode). The animation stays up to date automatically, and the link leads back to this page.

<div style="position:relative;width:100%;aspect-ratio:16/9"><iframe src="https://www.educational-animation.org/web-animations/two-stroke-engine/en/two-stroke-engine.html" title="Interactive animation: Thermodynamics of a Two-Stroke Engine" style="position:absolute;inset:0;width:100%;height:100%;border:0" allowfullscreen loading="lazy"></iframe></div>
<p><a href="https://www.educational-animation.org/en/thermodynamics-of-a-two-stroke-engine/">Thermodynamics of a Two-Stroke Engine – educational-animation.org</a> · MIT licence</p>

Links

Have you fixed a bug in the animation or made an improvement? Send us your animation via our contact form.

Why the Two-Stroke Engine Matters

The two-stroke engine is the simplest internal combustion engine that can be built in practice. It needs no valves, no camshaft and no valve train – the piston itself controls the gas exchange. This makes it light, compact and inexpensive, and for the same displacement it delivers considerably more power than a four-stroke engine, because it completes a power stroke on every revolution of the crankshaft. Chainsaws, leaf blowers, brush cutters, model engines, outboard motors and many mopeds and motorcycles of past decades owe their drive to this principle.

Description of the Animation

The animation shows a cross-section of an air-cooled single-cylinder two-stroke engine. The crank drive – crankshaft with crank web, connecting rod and piston – sits in a sealed crankcase. On the right side of the cylinder, the exhaust duct (top) and the intake duct (bottom) are arranged one above the other; on the left, the transfer duct leads from the crankcase to the cylinder. The spark plug is located in the centre of the cylinder head, and the cylinder is surrounded by cooling fins.

The piston acts as the actual valve: its top edge uncovers the exhaust port and the transfer port, its bottom edge (the piston skirt) uncovers the intake port. In the animation, all port timings follow directly from the position of these port edges and the kinematics of the crank drive.

Colours show what is happening in the engine: fresh mixture light blue (darker in the crankcase under overpressure, lighter under vacuum), hot compressed mixture red, flame front yellow, exhaust gas grey. A blue flash marks the ignition. During scavenging you can see part of the fresh charge escape into the exhaust along with the exhaust gas – these are the scavenging losses.

A pV diagram runs alongside on the right. A marker with guide lines moves along the curve and shows the current state of the working gas. The curve is divided into four coloured sections – gas exchange (teal), compression (red), combustion (yellow) and power (grey). A blue ignition mark with a flash symbol shows where on the curve ignition takes place. Since the ignition timing depends on engine speed, the shape of the curve changes as the engine speed is adjusted.

Ignition timing, flame travel time and flame path are displayed at the bottom left. Two checkboxes below the diagram toggle the work areas of the downstroke and the upstroke. During the downstroke the volume increases and the gas does work (green area, positive). During the upstroke the volume decreases and work has to be put in (red area, negative). When both areas are shown, they overlap with their correct signs, leaving the effective net work per cycle – the cyclic integral \( \oint p \, dV \).

Component Overview

The two-stroke engine gets by with very few moving parts. The following table explains the components shown in the animation:

ComponentFunction
Crankshaft with crank webConverts the reciprocating motion of the piston into rotation. The crank web fills part of the crankcase and thereby reduces its volume.
Connecting rodConnects the piston to the crankshaft and transmits the force between them.
PistonCompresses the charge, takes up the combustion pressure and controls the ports in the cylinder wall with its top edge and skirt.
CylinderGuides the piston. The exhaust, transfer and intake ports are located in its wall.
Cylinder headCloses off the combustion chamber at the top and holds the spark plug.
CrankcaseSealed space below the piston. Fresh mixture is drawn in and precompressed here – it works like a scavenging pump.
Intake ductLeads the fresh mixture into the crankcase. It is uncovered by the bottom edge of the piston.
Transfer ductConnects the crankcase to the cylinder. The precompressed mixture flows through it into the combustion chamber.
Exhaust ductCarries the burned exhaust gas out of the cylinder. It is uncovered by the top edge of the piston.
Spark plugProduces the spark that ignites the compressed mixture.
Cooling finsEnlarge the surface of cylinder and head so that heat can be released to the surrounding air.

Interactive Controls

The following parameters can be adjusted with the sliders:

  • Crank angle after BDC (0–360°): Rotational position of the crankshaft for manual positioning. Counting starts at bottom dead centre (BDC); at 180° the piston is at top dead centre (TDC). A complete cycle takes only one revolution.
  • Engine speed (4500–6500 min−1): Engine speed in revolutions per minute. It affects the ignition timing, since the ignition advance increases with engine speed.

The Play/Pause button starts and stops the engine. The animation begins at bottom dead centre, when scavenging is in full swing.

Two checkboxes below the pV diagram show the work areas of the downstroke and the upstroke. Active areas overlap with their correct signs, so that with both areas enabled the effective net work per cycle becomes visible.

The Two Strokes

In a two-stroke engine, two processes take place simultaneously above and below the piston. A complete working cycle therefore takes only one crankshaft revolution, i.e. two strokes:

StrokeAbove the piston (cylinder)Below the piston (crankcase)
Upstroke
(0–180° after BDC)
Scavenging ends and the transfer port closes. Some of the charge escapes through the still open exhaust port (post-exhaust). Then the exhaust port closes, the charge is compressed and ignited shortly before TDC.The crankcase volume increases and a vacuum develops. As soon as the piston skirt uncovers the intake port, fresh mixture flows into the crankcase.
Downstroke
(180–360° after BDC)
Combustion drives the piston down (power). The top edge of the piston opens the exhaust port first – the exhaust gas rushes out under high pressure (blowdown). Shortly afterwards the transfer port opens and the fresh mixture scavenges the remaining exhaust gas.The intake port closes and the fresh mixture in the crankcase is precompressed. As soon as the transfer port opens, it flows through the transfer duct into the cylinder.

Port Control and Port Timing

Because the piston passes the ports at the same position on its way up and down, each port opens and closes at the same distance from dead centre. The timing diagram of a purely piston-ported engine is therefore symmetrical:

  • Exhaust and transfer are symmetrical about bottom dead centre. Since the exhaust edge lies higher than the transfer edge, the exhaust port opens first and closes last.
  • Intake is symmetrical about top dead centre, because it is controlled by the bottom edge of the piston.

The early exhaust opening is intentional: by the time the transfer port opens, the cylinder pressure must have dropped far enough that no exhaust gas blows back into the transfer duct. The downside of the symmetry shows up during the upstroke: the exhaust port is still open after the transfer port has already closed. During this phase, part of the fresh charge escapes unburned into the exhaust – visible in the animation as scavenging loss in the exhaust duct. These losses are the main reason for the higher fuel consumption and higher hydrocarbon emissions of simple two-stroke engines.

Asymmetrical timing can only be achieved with additional components, such as reed valves or rotary valves in the intake, or exhaust power valves that change the height of the exhaust port.

Two-Stroke vs. Four-Stroke Engine

FeatureTwo-stroke engineFour-stroke engine
Working cycle1 crankshaft revolution (360°)2 crankshaft revolutions (720°)
Power strokesOne power stroke per revolutionOne power stroke per two revolutions
Gas exchangePorts, controlled by the pistonValves, controlled by the camshaft
ComponentsVery few moving partsValve train with camshaft, valves and springs
Power-to-weight ratioVery highLower
LubricationUsually premix lubrication (oil in the fuel)Pressure-fed lubrication with oil sump
Fuel consumption and emissionsHigher due to scavenging losses and burned oilLower
Operating positionCan run in any positionLimited by the oil sump
Typical applicationsChainsaws, garden tools, model engines, outboard motors, large marine dieselsCars, motorcycles, generators

In theory, a two-stroke engine delivers twice the power of a four-stroke engine at the same speed and displacement. In practice the advantage is smaller, because part of the stroke is lost to gas exchange and the cylinder filling never consists entirely of fresh charge.

Physical Background

The area enclosed by the curve in the pV diagram is the work the engine delivers in one cycle.

Unlike in a four-stroke engine, there is no separate intake and exhaust stroke. Gas exchange takes place around bottom dead centre while the cylinder pressure is close to ambient pressure. The pumping loop of the four-stroke engine is therefore absent from the diagram. Compression only begins once the exhaust port has closed – the effective compression ratio is therefore lower than the geometric one.

The Crankcase as a Scavenging Pump

For the fresh mixture to push the exhaust gas out of the cylinder, it has to flow in at a slight overpressure. This is the job of the crankcase: during the upstroke its volume increases, the pressure drops below ambient and fresh mixture is drawn in. During the downstroke the piston reduces the volume again, the mixture is precompressed and flows into the cylinder once the transfer port opens. The animation shows this pressure curve through the shading of the crankcase.

Speed-Dependent Ignition Timing

In the animation the flame front travels from the spark plug through the combustion chamber at a fixed speed. It is meant to reach the piston 40° after top dead centre. Peak pressure then occurs about 15 to 25° after TDC, where it acts well on the crank. At higher engine speeds the crankshaft sweeps a larger angle in the same time. Ignition therefore has to occur earlier the higher the speed. The crank angle the flame needs to travel its path is:

\[ \Delta \varphi = \frac{6 \cdot n \cdot s_F}{v_F} \]

  • \( \Delta \varphi \) – flame travel time in degrees of crank angle
  • \( n \) – engine speed in min−1
  • \( s_F \) – flame path in m
  • \( v_F \) – flame speed in m/s (20 m/s in the animation)

Ignition must take place exactly this angle before the target point. When adjusting the engine speed, the display at the bottom left and the ignition mark in the pV diagram show how the ignition timing shifts.

Simplification: In a real engine the flame speed increases with engine speed, because the charge is more turbulent. The ignition advance therefore has to grow less than in the animation. Many two-stroke engines even retard it again at high engine speeds.

Scavenging Methods

How well the fresh mixture displaces the exhaust gas depends on the flow pattern inside the cylinder. There are three basic types:

  • Cross scavenging: Transfer and exhaust ports face each other. Older engines deflected the fresh gas upwards with a deflector on the piston crown. The animation shows this arrangement in simplified form with a flat piston.
  • Loop scavenging (Schnürle): Several transfer ducts direct the fresh gas against the cylinder wall opposite the exhaust. It rises there, turns beneath the cylinder head and pushes the exhaust gas towards the exhaust port. This is the standard design of small two-stroke engines today.
  • Uniflow scavenging: The fresh gas enters through ports at the bottom, and the exhaust gas leaves the cylinder at the top through an exhaust valve. This design is used in large two-stroke marine diesel engines.
Lubrication

Since the fresh mixture flows through the crankcase, it cannot contain an oil sump. Small two-stroke engines therefore usually run on premix lubrication: two-stroke oil is added to the fuel (typically around 1 : 50), lubricates bearings, piston and cylinder wall and then burns along with the fuel. Larger engines use oil injection, where an oil pump meters the oil separately.

Ideal Cycle vs. Real Engine Process

Thermodynamically, the two-stroke spark-ignition engine is also described by the ideal Otto cycle – isentropic compression, isochoric heat addition, isentropic expansion and isochoric heat rejection. Its efficiency depends only on the compression ratio \( r \) and the isentropic exponent \( \gamma \):

\[ \eta_{\text{Otto}} = 1-\frac{1}{r^{\,\gamma-1}} \]

A real two-stroke engine falls short of this for several reasons:

  • Scavenging losses: Part of the fresh charge flows out unburned through the exhaust port.
  • Residual gas: Scavenging is never complete. Some exhaust gas remains in the cylinder and dilutes the new charge (recognisable in the animation by the slightly greyish cylinder charge).
  • Lost stroke: As long as the ports are open, neither compression nor useful work is possible. The usable stroke is therefore shorter than the geometric stroke.
  • Heat losses and friction: As in any internal combustion engine, heat is lost to the cylinder wall and head, and energy is lost to friction.
  • Finite combustion time: Combustion does not happen instantaneously, which is why ignition advance is required.

In the pV diagram of the animation, the difference from the ideal process can be seen in the rounded shape of the curve and in the gradual pressure drop after the exhaust port opens.

Calculator: Mixing Two-Stroke Fuel

How much two-stroke oil goes into the can? Enter the amount of petrol and the mixing ratio.

Always follow the engine manufacturer’s figure. 1 : 50 means 1 part oil to 50 parts petrol.

Historical Background

The two-stroke engine emerged almost at the same time as the four-stroke engine – partly because Otto’s patent on the four-stroke principle forced other inventors to look for alternatives. Karl Benz got a stationary two-stroke engine running in 1879, and the Scottish engineer Dugald Clerk developed a two-stroke engine with a separate charging pump cylinder around 1880. The simple design typical today, with crankcase scavenging and piston ports, goes back to the Englishman Joseph Day, who patented it in the early 1890s.

Important milestones in its further development:

  • 1920s: Adolf Schnürle develops loop scavenging, which makes the deflector piston unnecessary and significantly improves gas exchange.
  • 1920s to 1950s: With its two-stroke motorcycles, DKW becomes for a time the largest motorcycle manufacturer in the world.
  • 1950s: Walter Kaaden at MZ deliberately uses pressure waves in the exhaust (expansion chamber) to push back scavenging losses and greatly increase power output.
  • 1950s to 1990s: Two-stroke engines power vehicles such as the Trabant and Wartburg, as well as countless mopeds, scooters and racing motorcycles.
  • From the 1990s: Stricter emission regulations largely push the two-stroke engine out of road traffic. It remains widespread in garden tools, model engines, outboard motors and as a large marine diesel.

Practical Applications

  • Handheld tools: Chainsaws, brush cutters, leaf blowers and cut-off saws benefit from the low weight and the ability to run in any position.
  • Model engines: Model aircraft and model cars use small, high-revving two-stroke engines.
  • Motorsport: In motocross and karting, two-stroke engines remain popular because of their high power-to-weight ratio.
  • Boat propulsion: Outboard motors, today often with direct injection.
  • Large ships: The largest internal combustion engines in the world are slow-running two-stroke diesel engines with uniflow scavenging, which power container ships and tankers and reach efficiencies of over 50 %.

Modern Developments and Outlook

The weaknesses of the simple two-stroke engine can be reduced considerably by various measures:

  • Direct injection: Scavenging is done with pure air, and the fuel is injected only after the exhaust port has closed. Unburned fuel can no longer reach the exhaust.
  • Stratified scavenging: A buffer of air in the transfer duct precedes the mixture, so that scavenging losses consist mainly of air rather than mixture. This method is used in modern chainsaws.
  • Expansion chamber: A reflected pressure wave pushes escaped fresh charge back into the cylinder shortly before the exhaust port closes.
  • Reed valves and rotary valves: They allow asymmetrical intake timing and prevent mixture from flowing back out of the crankcase.
  • Exhaust power valves: An adjustable slide changes the height of the exhaust port and adapts the port timing to engine speed.
  • Catalytic converters and special fuels: Catalytic converters and low-emission alkylate fuels reduce emissions in everyday use.

In road traffic, the two-stroke engine hardly plays a role anymore today. Wherever low weight, simple construction or very high power per cylinder matter, however, it is still in use – from the chainsaw engine to the marine diesel.

Use in the Classroom

Tasks

Tasks that can be worked through with the animation:

  1. Turn the “Crank angle after BDC” slider slowly from 0° to 360°. Note the angles at which the exhaust port, transfer port and intake port open and close. Why are the values symmetrical about BDC or TDC?
  2. Set the engine speed to 4500, 5500 and 6500 min−1 in turn and read off the ignition point. Why must ignition happen earlier at a higher speed?
  3. Move the crank angle slowly from 65° to 95° after BDC. In this range the transfer port is already closed and the exhaust port is still open. What happens to the fresh charge in the exhaust duct – and why is this a drawback?
  4. Tick “Downstroke” and “Upstroke” below the pV diagram. Which area remains, and what does it mean? Why does the upstroke area count as negative?
Worksheets

Worksheet “Port Timing and Ignition in a Two-Stroke Engine” with answers: Word (editable) · PDF

Graphics

Graphics from the animation as SVG – they scale without loss for worksheets, slides or the board. Click to open a graphic; right-click → “Save as …” to download it.

Licence for graphics and worksheets: CC BY 4.0 – please credit “educational-animation.org”.

Related Animations

Overview

TitleThermodynamics of a Two-Stroke Engine
Target audienceTeachers and lecturers
FeaturesFull screen mode
Lossless scaling
Supports large screens and projectors
LicenceAnimation (code): MIT · Text and graphics: CC BY 4.0

Contributors

C. Hein, S. Rikowski

References

  • G. P. Blair: Design and Simulation of Two-Stroke Engines. SAE International, Warrendale.
  • R. van Basshuysen, F. Schäfer (eds.): Handbuch Verbrennungsmotor. Springer Vieweg, Wiesbaden.
  • R. Pischinger, M. Klell, T. Sams: Thermodynamik der Verbrennungskraftmaschine. Springer, Vienna.
  • J. B. Heywood: Internal Combustion Engine Fundamentals. McGraw-Hill, New York.

Parts of the program code for this animation were created with the help of AI tools. The idea, design and technical responsibility remain with us.

Cite this post

The animation (code) is published under the MIT licence, text and graphics under CC BY 4.0: you may use, share and modify everything freely – please give credit. The easiest way is to copy this citation:

Sebastian Rikowski: Thermodynamics of a Two-Stroke Engine. educational-animation.org, 2026. https://www.educational-animation.org/en/thermodynamics-of-a-two-stroke-engine/ – Licence: code MIT, text and graphics CC BY 4.0.

If you use the animation, we would greatly appreciate a link to our site or a brief mention of it. It helps others find us – and helps us keep going.