Otto Cycle.

The spark-ignition cycle — heat added at constant volume, and efficiency that depends on the compression ratio alone.

Mode

The machine — The spark-ignition cycle — heat added at constant volume, and efficiency that depends on the compression ratio alone.

Diagram
0.1000.2000.3000.4000.5000.6000.7000.8000.9000100020003000400050001→2: Adiabatic compression2→3: Heat added at constant volume3→4: Adiabatic expansion — the power stroke4→1: Heat rejected at constant volume1State 1 — Start of compression2State 2 — Compressed3State 3 — Peak — spark has fired4State 4 — Fully expandedSpecific volume vPressure P

Press Run to turn the machine over. Space runs and pauses, R resets, and the arrow keys step through the cycle one process at a time.

isentropic 1→2 · Adiabatic compression q 0 w -303.1 kJ/kg

Thermal efficiency

58.48%

Carnot limit, same span

83.33%

Net work

452.1 kJ/kg

Heat added

773.1 kJ/kg

Heat rejected

321 kJ/kg

Peak temperature

1,800 K

Lowest temperature

300 K

Mean effective pressure

590.7 kPa

Every setting is inside its sensible range for this cycle. Push a slider to an extreme and anything worth knowing about will appear here.

State points — the cycle, one corner at a time

State What just happened P kPa v m³/kg T K s kJ/kg·K
1 Start of compression 100 0.861 300 0
2 Compressed 2,167 0.0957 722 0
3 Peak — spark has fired 5,400 0.0957 1,800 0.655
4 Fully expanded 249.1 0.861 747 0.655

Adiabatic compression · Constant-volume heat addition · Adiabatic expansion · Constant-volume heat rejection

Starting points Pick one, then move any slider from there.

A naturally aspirated car engine on ordinary pump fuel. Compression is limited by knock, not by anything the cycle cares about.

9
1,800 K
300 K

How the Otto cycle works

The Otto cycle takes its working fluid through 4 processes and returns it to the state it began in. In order, those are:

  1. Adiabatic compression
  2. Constant-volume heat addition
  3. Adiabatic expansion
  4. Constant-volume heat rejection

You will find it in petrol engines. At the standard set-up above — compression ratio 9, peak temperature 1,800 K, intake temperature 300 K — it reaches a thermal efficiency of 58.48%, against a Carnot limit of 83.33% for the same temperature span. The net work is 452.1 kJ/kg, from 773.1 kJ/kg of heat in and 321 kJ/kg rejected.

Its efficiency has a closed form: η = 1 − 1/r^(γ−1). The simulator above does not use it — it solves the state points and divides net work by heat in — but the two agree to machine precision, and the test suite behind this page checks that on every build.

Reading the two diagrams

Switch the diagram pane between P–v and T–s and watch the same cycle change costume. On the pressure–volume plot the area inside the loop is the net work per kilogram of working fluid, because work is the integral of P dv. On the temperature–entropy plot the area inside the loop is the net heat, because heat in a reversible process is the integral of T ds.

Those two areas are the same number. That is the first law applied to a closed loop: the fluid ends where it started, so its internal energy has not changed, so everything that went in as heat came out as work. Two different pictures, one arithmetic.

The T–s view is the more revealing of the two once you are comfortable with it, because it shows the temperature at which heat crossed the boundary — and that, not the amount, is what decides how much of it can become work.

Where the Otto cycle came from

Nikolaus Otto built the first commercially successful four-stroke engine in 1876, and the air-standard cycle that models it carries his name. The four strokes a car engine actually performs — intake, compression, power, exhaust — are not the four processes of the Otto cycle; the cycle is an idealisation of what happens to the gas trapped in the cylinder while the valves are shut, with the gas exchange abstracted away entirely.

That abstraction is why the model has only one meaningful input. A real engine has valve timing, fuel chemistry, turbulence, heat loss to the coolant and a throttle. The air-standard Otto cycle has a compression ratio.

Compression, and what stops you having more of it

Efficiency here depends on the compression ratio alone: η = 1 − 1/r^(γ−1). Nothing about how much fuel you burn appears in it. Set the peak temperature slider anywhere between 700 K and 2600 K and the efficiency card will not move by a hundredth of a point — only the net work will.

So why does no petrol engine run a compression ratio of 20? Because compressing the fuel–air mixture heats it, and past a point it ignites on its own, ahead of the spark, in a violent pressure spike that destroys pistons. That is knock, and it is the real limit — not the thermodynamics. Everything petrol engineers do about compression is a fight with chemistry, not with this cycle.

Why a real engine returns half of this

A modern petrol engine converts roughly a quarter to a third of its fuel energy into work at the crankshaft. The cycle above says 58% at a compression ratio of 9. The gap is not one thing.

Constant specific heats are the largest single error: real combustion gases at 2000 K absorb far more energy per degree than cold air does, so the model over-predicts the temperature rise and with it the work. Then there is heat lost through the cylinder walls during the burn, combustion that takes real time rather than happening instantly at top dead centre, friction, pumping work to breathe through a throttle, and the fact that the working fluid is exhaust rather than air.

Otto cycle — common questions

Why does Otto efficiency not depend on how hot the engine gets?

Because raising the peak temperature increases the heat added and the work produced in the same proportion, and efficiency is their ratio. Try it above: drag peak temperature from 1400 K to 2400 K and watch net work climb while thermal efficiency sits exactly still. Burning hotter buys power, not efficiency.

What compression ratio does a petrol engine actually use?

Naturally aspirated engines on pump fuel typically sit somewhere around 9 to 11, and direct-injection or high-octane engines go higher because both resist knock. The ceiling is set by pre-ignition, not by the cycle — thermodynamically, more is always better.

Is the Otto cycle the same as a four-stroke engine?

Not quite. A four-stroke engine performs intake, compression, power and exhaust. The Otto cycle models only what happens to the trapped gas — two adiabatic strokes and two constant-volume heat exchanges — and treats the breathing as if it were free. That simplification is why the model gives 58% where a real engine gives about 30%.

Why is the heat added at constant volume?

Because a spark ignites the whole charge almost at once, and the flame crosses the cylinder far faster than the piston can move. To a good approximation the volume has not changed by the time the burn is over — which is exactly what makes it the most efficient moment to add heat.

All tools