Mechanisms · MightyCog guide

How does a car engine work? The four-stroke cycle, step by step on a twin-piston model

Intake, compression, power, exhaust: step a twin-cylinder crank through the 720° cycle, see when each fires, and build a Technic-style piston engine.

For builders and educators · 15 November 2026 · 4 min read

Try Twin-Piston Engine for free →

Get the matching PDF pack · $5.99

A car engine turns fuel into turning. Inside each cylinder a piston goes through four strokes: intake (the piston moves down and draws in air and fuel), compression (it moves up and squeezes them), power (the mixture burns and pushes the piston down hard) and exhaust (it moves up and pushes the burnt gas out). A con-rod joins each piston to a crankshaft, which turns all that up-and-down into round-and-round.

Two things surprise most people. The four strokes take two full turns of the crankshaft, not one. And only one stroke in four does any pushing: the other three are carried by the crankshaft’s momentum and by the other cylinders.

Try both ideas below with a two-cylinder crank that has our Technic-style Twin-Piston Engine’s crank and rod sizes.

Interactive: Four-stroke cycle stepper. Turn a two-cylinder crank with the Twin-Piston Engine’s crank and rod through the 720° four-stroke cycle. See which stroke each cylinder is on, when each fires, and how pins opposite or together change the gaps, with six predict-then-check questions.

The four strokes, one at a time

Wikipedia’s four-stroke engine article lists the strokes as intake, compression, combustion (“also known as power or ignition”) and exhaust. Each one is a single trip of the piston, up or down, and a trip is half a turn of the crank:

  • Intake, 0–180°. The piston moves down from the top. The intake valve is open, so air and fuel are drawn in.
  • Compression, 180–360°. Both valves close and the piston moves back up, squeezing the mixture.
  • Power, 360–540°. The mixture is lit near the top and the hot gas drives the piston down. The article calls this “the start of the second revolution”.
  • Exhaust, 540–720°. The exhaust valve opens and the piston moves up, pushing the burnt gas out. Then intake starts again.

The top and bottom of the piston’s travel are called top dead centre and bottom dead centre. At each one the piston stops for an instant while it changes direction, and a push along the rod can’t turn the crank. Between them the piston is fastest, but not exactly a quarter turn in. Wikipedia’s piston motion article points out that the fastest point does not come where the crank is at a right angle; with our model’s rod, six times the crank radius, the lab puts it at about 81° after the top.

Wikipedia credits Nicolaus Otto and Eugen Langen: by 1876 they had an engine that compressed the fuel mixture before burning it. The cycle is still called the Otto cycle.

Why one power stroke isn’t enough

In one cylinder, only one stroke in four pushes. Something has to carry the crank through the other three, and that is the flywheel: a heavy wheel that stores some of the power stroke’s energy as spin and gives it back. Wikipedia’s flywheel article describes exactly this: it stores energy from a firing piston and returns it “to compress a fresh charge”, smoothing out the crankshaft’s speed. How a friction car works shows the same stored-spin idea in a toy you can push.

More cylinders help too, because their power strokes fall at different moments.

Two cylinders, two ways to fire

On a two-cylinder (twin) engine, where the crank pins sit decides how the power strokes are spaced. Wikipedia’s straight-twin article gives both common layouts:

  • Pins together (360° crank). Both pistons rise and fall at the same time, but they are a turn apart in the cycle: one fires while the other starts intake. That gives “an even 360 degree firing interval”.
  • Pins opposite (180° crank). “One piston rises as the other falls.” The second cylinder fires 180° after the first, “followed by a gap of 540 degrees”. Two quick pushes, then a long wait.

Our build uses the second layout, so try both in the lab and watch where the power strokes land.

Inside the Twin-Piston Engine

The Twin-Piston Engine is a level 3 build of about 40 minutes. Its crankshaft is built up from parts: a 24-tooth gear and a 40-tooth gear, each carrying a crank pin one hole out from its middle, with a 3-hole beam, the crank web, tying the two pins together on opposite sides. A 7-hole con-rod hangs from each pin, and each piston slides up and down two guide axles that act like the walls of a cylinder. A 43 mm wheel on the end of the crankshaft stands in for the flywheel.

It runs the engine backwards. An M motor’s 8-tooth gear turns the 40-tooth crank gear, five times slower and stronger (gear up or gear down explains the trade), and the crank pushes the pistons. Nothing burns, and the instructions say so plainly: the model shows the motion, not engine performance. So the stroke names in the lab are what a real engine would be doing at each angle.

The build’s pistons also sit one hole to the side of the crankshaft. Its play-time notes work out what that does: the stroke becomes about 2.03 modules (16.2 mm) instead of exactly 2. They suggest disconnecting the motor, turning the crank slowly by hand, and marking the two ends of a piston’s travel to compare with that prediction.

Where crank and piston came from

The crank and rod that turn a straight push into turning are far older than the car engine. Steam engines relied on them long before cars, and they had other answers too: James Watt’s engines used a sun-and-planet gear instead of a simple crank, which you can build as the Sun-and-Planet Beam Engine. How linkages make walking legs shows the crank and rod as one member of a bigger family of linkages, and why a crank pin moves unevenly looks at the motion of the pin itself.

If this is your first motor build, adding a motor and battery box covers the switch and wiring the engine uses.

Check yourself

Interactive: Check yourself. A few quick questions on the ideas in this guide, each with an explanation.

  1. What are the four strokes, in order?
  2. How many turns of the crankshaft does one full four-stroke cycle take?
  3. What does the crankshaft do?
  4. A twin with its crank pins on opposite sides fires…

Put the ideas into motion

  • 🔥 Twin-Piston Engine: See inside a car engine: two pistons race up and down in turns! (level 3 of 5, about 40 minutes, 22 steps)
  • 🌀 Flywheel Friction Car: Vroom it on the floor, let go — and it keeps on rolling! (level 2 of 5, about 25 minutes, 5 steps)
  • 🚂 Sun-and-Planet Beam Engine: James Watt's steam-engine trick: a gear that never spins makes the flywheel turn four times per pump! (level 4 of 5, about 50 minutes, 17 steps)

Explore the engineering

Mechanical Wonders booklet pack cover

Mechanical Wonders booklet pack

Keep all 36 booklets together. Print a binder or build offline, without opening each guide separately.

$5.99 · one-time purchase

See this booklet pack →

PDF instructions only · Building parts not included

Individual build booklets are free ↗

More building guides